Data dictionary - what should be in it?

Author:   Sakari Mattila
Updated:  15-May-2001 (B)

Data dictionary may cover the whole organisation, a part of the organisation or a database. In its simplest form, the data dictionary is only a collection of data element definitions, according to descriptions below. More advanced data dictionary contains database schema with reference keys, still more advanced data dictionary contains entity-relationship model of the data elements or objects. The term "data element" is used below. It is the same concept as "data object" or "object" in some database texts. This document is derived from database text books, existing data dictionaries and practical experience with Oracle, Ingres, Access, UniData and Burroughs systems.

1. Data element definitions

Data element definitions may be independent of table definitions or a part of each table definition

2. Table definitions

Table definition is usually available with SQL command help table

tablename

3. Database schema

Database schema is usually graphical presentation of the whole database. Tables are connected with external keys and key colums. When accessing data from several tables, database schema will be needed in order to find joining data elements and in complex cases to find proper intermediate tables.

Some database products use the schema to join the tables automatically.

4. Entity-relationship model of data

Entity-relationship model is database analysis and design tool. It lists real-life application entities, attributes of entities and relationships amongst entities. The type of each relationship is also indicated. Entity-relationship model is represented in graphical form.

5. Database security model

Database security model associates users, groups of users or applications (programs) with database access rights.


Related documents:

Tasks of the database administrator.


-
smattila@bigpond.com