10 Commandments for Oracle Database Application Design

on June 3, 2015

It is worthwhile to sum up in a single place all the major issues in designing Oracle database applications—thus “The Commandments” (or perhaps “The Suggestions”). Their presentation does not assume that you need to be told what to do, but rather that you are capable of making rational judgments and can benefit from the experience of others facing the same challenges. The purpose here is not to describe the development cycle, which you probably understand better than you want to, but rather to bias that development with an orientation that will radically change how the application will look, feel, and be used. Careful attention to these ideas can dramatically improve the productivity and happiness of an application’s users.

The ten commandments of humane database application design:

  1. Include users. Put them on the project team and teach them the relational model and SQL.
  2. Name tables, columns, keys, and data jointly with the users. Develop an application thesaurus to ensure name consistency.
  3. Use English words that are meaningful, memorable, descriptive, short, and singular. Use underscores consistently or not at all.
  4. Don’t mix levels in naming.
  5. Avoid codes and abbreviations.
  6. Use meaningful keys where possible.
  7. Decompose overloaded keys.
  8. Analyze and design from the tasks, not just the data. Remember that normalization is not design.
  9. Move tasks from users to the machine. It is profitable to spend cycles and storage to gain ease of use.
  10. Don’t be seduced by development speed. Take time and care in analyses, design, testing, and tuning.

If you have a poor design, your application will suffer no matter what commands you use. Plan for functionality, plan for performance, plan for recoverability, plan for security, and plan for availability. Plan for success.

Related Posts

Leave a Reply