DB Week 3
DB Week 3
Semester
4- Spring 2021
Data Independence
Data Definition Language (DDL)
Allows the DBA or user to describe or name
Database entities, attributes, and relationships
required for the application
Language (DDL)
Plus, any associated integrity and security
constraints.
Database Language (DML)
DDL vs.
DML
1. Data storage, retrieval, and update: A DBMS must furnish users with the
ability to store, retrieve, and update data in the database.
2. A user-accessible catalog: A DBMS must furnish a catalog in which
descriptions of data items are stored and which is accessible to users. The amount
of information and the way the information is used vary with the DBMS. Typically,
the system catalog stores:
I. names, types, and sizes of data items;
II. names of relationships;
III. integrity constraints on the data;
IV. names of authorized users who have access to the data and many more.
4. Concurrency control services: A DBMS must furnish a mechanism to ensure that the
database is updated correctly when multiple users are updating the database concurrently.
Concurrent access is relatively easy if all users are only reading data, as there is no
way that they can interfere with one another. However, when two or more users are
accessing the database simultaneously and at least one of them is updating data, there may
be interference that can result in inconsistencies.
Components of a DBMS
Multi-User DBMS Architectures