Newsletters Subscriptions Media Kit About Us Contact Search Home

mgo
OS/400 Edition
Volume 3, Number 27 -- April 18, 2003

Another Advantage of Surrogate Keys


Hey, Ted:

I agreed with most of your points on the use of surrogate keys ["Pros and Cons of Surrogate Keys"]. However, I think you missed one important advantage to their use.

Binary surrogate keys provide much smaller indexes and, therefore, much faster join performance than natural keys. For instance, if the compound business key ends up being 40 to 50 bytes long with 1 million entries, memory requirements for the index (a much more expensive consideration than DASD) are considerably greater than for a 5i 0 surrogate key value (or even a 9i 0).

Please keep up the useful discussions.

--Bill


Sponsored By
INFORM DECISIONS

ELIMINATE THE COSTS OF PRE-PRINTED FORMS,
LABOR AND POSTAGE WITH inFORM Decisions iDocs™ 'Suite'

iSeries based e-Forms, e-Checks, e-Mail, e-FAX, and Document Retrieval
from the Web are available as individual modules or as a
complete e-Document processing 'Suite'.

Click to Download the Complete Suite or Individual Modules today
www.inFORMDecisions.com
or call (800) 858-5544


THIS ISSUE
SPONSORED BY:

inFORM Decisions
WorksRight Software


BACK ISSUES

TABLE OF
CONTENTS

Comparing Objects in Java

Creating a Custom Setup Program for New OS/400 Software

Reader Feedback and Insights: Another Advantage of Surrogate Keys


Editors
Howard Arner
Joe Hertvik
Ted Holt
David Morris

Managing Editor
Shannon Pastore

Publisher and
Advertising Director:

Jenny Thomas

Advertising Sales Representative
Kim Reed

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.