Home > Oracle Database / Applications Tips > Oracle database administrator > Mike Ault's Oracle "good practices": Oracle design
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

Mike Ault's Oracle "good practices": Oracle design


Mike Ault
02.23.2007
Rating: -3.83- (out of 5)


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Anyone familiar with the Oracle (or any) database environment knows that it is a good practice to use Dr. Codd's normal forms (usually 3rd for OLTP and at least 2nd normal for data warehouses) for design and layout of relational databases. Once you have established a good logical design, you denormalize for performance in your physical design. These normal form diagrams, commonly known as entity relationship diagrams (ERDs), should be active living documents that are maintained over the life of the database.

Another good practice that aids with performance is to pre-aggregate data with materialized views, summaries or whatever you wish to call them. Oracle automatically maintains properly created materialized views.

The next design good practice is critical to a successful project -- use source control, either a third-party tool, Oracle-provided source control or manual logging methods. Proper use of a source control package eliminates last-minute panic-builds that rob time and efficiency. Many times, use of a proper source control package will minimize reinvention of existing functionality.

Good design practice also requires that you develop and use naming conventions. Naming conventions should be implemented for variables, programs, procedures, packages, tables, columns, indexes, views and clusters (as a start!) to prevent confusion and enhance readability and maintainability of code.

Hand-in-hand with naming conventions goes the use of a standardized coding convention. Proper coding standards allow multiple developers to maintain the same code sets without inducing complexity by multiple (or no) standards being used. Coding standards allow for readable, maintainable code that can be read and understood long after the original programmers have left.

Another design good practice is to use the proper design technique for the proper environments (normal forms for OLTP, STAR for DWH and CUBE for DSS). It is obvious that the use of improper development methods will result in poorly designed and inefficient databases.

The final good practice in this area I would like to mention is probably the most overlooked and, oddly, one of the most important -- each project should have a carefully defined scope, project plan and deliverables. If you don't have a proper project plan, how will you know when you are finished? Without proper milestones, how will you measure project status? Finally, without deliverables, how will you know when a milestone is reached? A proper plan tells what needs to happen and the order in which things need to be done. For example, before equipment engineers are scheduled to install equipment, you better make sure the equipment is onsite; before a database is scheduled to be installed, the equipment had better be onsite and installed; and before you can code, the database better be designed and ready for the coders to utilize. On a recent project I was associated with, a very major upgrade, the project plan was done on-the-fly. Consequently consultants where brought onsite before they were needed, there were numerous delays because various departments didn't realize what was required when and many milestones where missed or delayed as a result.

Return to Mike Ault's Oracle "good practices."

About the author

Mike Ault is an Oracle database specialist at Quest Software and a recognized Oracle expert with over 16 years' experience as an Oracle DBA and consultant in a variety of industries and companies. A prolific author, Mike has published over 20 Oracle-related books including Oracle Administration and Management, Oracle DBA OCP ExamCram and Oracle10g Grid and RAC. He is a regular contributor to trade publications including Oracle magazine, and frequently presents at major Oracle conferences such as IOUG.

Rate this Tip
To rate tips, you must be a member of SearchOracle.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle database administrator
Understanding SQL string functions
What is the difference between a database engineer, architect and administrator?
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
How can I find statistics on total memory usage and database connections?
Installing multiple Oracle homes
Modifying SYS password in a RAC environment

Oracle database design and architecture
How to determine your SQL database through needs analysis
Breaking down the contenders in the SQL database market
The MySQL open source database in the enterprise
Diving deeper into the SQL database features
What managers should consider when starting a database scaling project
How to use V$SEGMENT_STATISTICS to find the most accessed Oracle table
Can I install an Oracle client on Windows 7?
How to use the Oracle Database Upgrade Assistant (DBUA)
Can I specify Oracle column order in my database table?
Can I have a single Oracle 11g RAC instance across multiple databases?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E. F. Codd  (SearchOracle.com)
extent  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
multidimensional database  (SearchOracle.com)
object-oriented database management system  (SearchOracle.com)
quad tree  (SearchOracle.com)
relational online analytical processing  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Oracle Development Solutions - SQL, J2EE, XML, SOA
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts