Database Design for Smarties: Using UML for Data Modeling

Chapter 11: Designing a Relational Database Schema

Thou shalt prepare a table before me against them that trouble me: thou hast anointed my head with oil, and my cup shall be full. But thy loving-kindness and mercy shall follow me all the days of my life: and I will dwell in the house of the Lord for ever.

Church of England Prayer Book, 23:4

Overview

Transforming a data model into a database schema is not easy, but it's not going to put another person on the moon either. The techniques for turning an ER model into a relational model are well understood [Teorey 1999, Chapter 4]. Transforming a UML data model into a relational database uses these techniques and adds some more to take some of the expanded features of such models into account. The first three sections of this chapter go into detail on the structures, relationships, and constraints of your UML data model and their transformation into the relational schema.

The next section of the chapter discusses the concept of data normalization. You really can't talk about relational databases without talking about normalization. If you approach it from the OO perspective, though, you can eliminate much of its complexity and detail. It is still important to understand how your database structure meets the "normal" requirements of the relational world, but it's much easier to get there from an OO data model.

The last section summarizes the sequence of steps you take to transform the OO data model into an SQL-92 schema. It also shows...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Database Tools Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.