Advertisement

Grading Database Quality, Part 1: Database Designs

By on

While working on database projects, we often find ourselves doing reverse engineering. Reverse engineering is the inverse to normal development. Developers start with an application and work backwards to understand the software and infer its intent. Reverse engineering can apply to a variety of artifacts, such as hardware, programming code, and databases. Our focus here is on relational databases.

There are many reasons for database reverse engineering. One reason is to assess software quality. For example, you may want to assess the quality of a vendor product or an internal legacy application. Information systems revolve about a database, so you can use database quality as an indicator of software quality.

This article is the first in a series of two blogs that present a grading scale for database quality. Assigning separate grades for the quality of a database design (this blog) and the underlying model (next blog). The design grade measures the quality of the database syntax. The model grade measures the quality of the semantic concepts underlying the database. Applications can have different design and model grades.

Database Grading

Most business leaders do not want to hear about database gore, such as primary keys, foreign keys, nulls, and indexing. Furthermore, even if they understand such technology, they may find it difficult to weigh their importance. We have found it helpful to quantify a database evaluation in terms of a grade. Business leaders readily understand the meaning of the grade, realize that we have the supporting technical details, and can learn about the details at their leisure.

Here is our grading scale for database designs. We use grades of “A”, “B”, “C”, “D”, and “F”. “A” is the best grade and “F” is the worst grade with “B”, “C”, and “D” denoting intermediate quality.

Grading-database

A database design with a grade of ‘A’ is expertly crafted. Given the demonstrated proficiency, it’s likely that the corresponding software is also of high quality.

A database design with a grade of ‘B’ is still quite good, but not perfect. Some might regard the distinction between ‘A’ and ‘B’ as quibbling.

A database design with a grade of ‘C’ is mediocre. It serves business needs, but should be better.

A database design with a grade of ‘D’ is defective. It is poor quality work. Redundancy and denormalization are acceptable for data warehouses, but not for day-to-day operational applications.

A database design with a grade of ‘F’ is an embarrassment. Such a design is a hack and reflects a lack of understanding of databases.

In Conclusion

As experts, we must convey our technical judgment to management for their decisions. The best way to communicate is by summarizing the results and providing details upon request. We have found database grades to be helpful as their meaning is intuitive.

Leave a Reply