The Database Design Resource Center

Primary Keys: High Performance or Failure.


Primary keys Defining the right Primary Keys for database tables is crucial to high performance in a relational database. Depending on the choises you make, your database can either perform at high speed regardless of its volume, or it can halt with hours of waiting for even the most simple SQL queries.

This eBook will discuss the essentials in defining the primary keys (and all kind of DB keys, actually) for your tables, among them:

  • Should I seek for natural keys? What are they?
  • Set up the database to generate sequences ?
  • Can the primary keys change ?
  • How do I handle composite keys ?
  • Consequenses of using AutoNumber or sequences ?
  • Performance impacts with poorly defined primary keys
  • How to enforce referential integrity

and many other issues related to the theme. The eBook steps through the whole analysis and design process for a specific topic, and ends up presenting a complete graphic database model, with all the necessary DDL statements (CREATE TABLE, INDEX, CONSTRAINT and other statements neccessary for creating the database.

(Subscribe to my Newsletter. That way you will be alerted when the eBook releases).

Exclusive interviews with:
Steven Feuerstein, PLSQL expert
Donald Burleson, Top IT consultant

Free eBook

Subscribe to my newsletter and get my ebook on Entity Relationship Modeling Principles as a free gift:

What visitors say...

"I just stumbled accross your site looking for some normalization theory and I have to say it is fantastic.

I have been in the database field for 10+ years and I have never before come across such a useful site. Thank you for taking the time to put this site together."

Mike, USA

Read more Testimonials

Database Normalization eBook:

Database Normalization eBook

Copyright © /
All rights reserved.
All information contained on this website is for informational purposes only.
Disclaimer: does not warrant any company, product, service or any content contained herein.

Return to top

Copyright acknowledgement note:

The name Oracle is a trademark of Oracle Corporation.
The names MS Access/MS SQL Server are trademarks of Microsoft Corporation.
Any other names used on this website may be trademarks of their respective owners, which I fully respect.