Database Management Systems
Database Management Systems
A Database Management System (DBMS) is software that enables the creation, manipulation, and
management of databases. It helps store, retrieve, and manage data efficiently and securely. Below is a
detailed overview of key concepts in DBMS, including data structures, transaction management, query
languages, and recent trends.
2. Data Dictionary/Directory
A Data Dictionary or Data Directory is a centralized repository in a DBMS that stores metadata (data about the
data). It includes information about database structures such as tables, columns, data types, constraints,
relationships, etc.
• Example: A data dictionary stores metadata about the "Employee" table, including column names, data
types (e.g., integer for Employee ID, string for Name), and constraints (e.g., Primary Key for Employee
ID).
3. Schema
A schema is the logical design or structure of the database, which defines how the data is organized and how
the relationships between data elements are structured. It is defined in terms of tables, views, indexes, and
other objects within the database.
Types of Schema:
1. Physical Schema: Describes how data is stored on disk (e.g., files, indexing).
2. Logical Schema: Describes the design of the database, such as tables, columns, and their relationships.
3. External Schema: Refers to the views or perspectives of the data for different users or applications.