Data Dictionary Storage
Next: Buffer Management
Up: File & System
Previous: Mapping Relational Data
-
The database also needs to store information about the relations, known
as the data dictionary.
This includes:
- Names of relations.
- Names of attributes of relations.
- Domains of attributes.
- Names and definitions of views.
- Integrity constraints (e.g. key constraints).
plus data on the system users:
- Names of authorized users.
- Accounting information about users.
plus (possibly) statistical and descriptive data:
- Number of tuples in each relation.
- Method of storage used for each relation (e.g. clustered or
non-clustered).
-
When we look at indices (Chapter 8) we'll also see a need to store
information about each index on each relation:
- Name of the index.
- Name of the relation being indexed.
- Attributes the index is on.
- Type of index.
-
This information is, in itself, a miniature database.
We can use the database to store data about itself, simplifying the overall
structure of the system, and allowing the full power of the database to be
used to permit fast access to system data.
Page created and maintained by Osmar R. Zaï ane
Last Update:
Tue Oct 31 12:59:25 PST 1995