BCA / B.Tech 10 min read

What is a Data Dictionary?

Data Dictionary in DBMS:

A Data Dictionary is a centralized repository of metadata, which is "data about data." It contains information about the database's structure, including details about tables, columns, data types, keys, indexes, constraints, and relationships. It is also known as a system catalog.

Types of Data Dictionaries:
  • Active Data Dictionary: It is managed automatically by the DBMS. Whenever changes are made to the database structure (e.g., creating a table), the active data dictionary is updated automatically. Most modern DBMS use this type.
  • Passive Data Dictionary: It is maintained separately from the DBMS, often as a file or document. It must be updated manually when the database structure changes, which can lead to inconsistencies.

The data dictionary is a critical tool for database administrators (DBAs) and developers to understand, manage, and monitor the database.