Professional Documents
Culture Documents
ARCHITECTURE-1
Reference Book : Principles of Distributed Database Systems
EDITION THIRD
Author: M. Tamer Ozsu
Course:DDB
Instructor: Ibrar Afzal
Hazara University Mansehra, IT Department
DBMS STANDARDIZATION
• Based on components.
The components of the system are defined together with the
interrelationships between components. A DBMS consists of a number
of components, each of which provides some functionality.
• Based on functions.
The different classes of users are identified and the functions that the
system will perform for each class are defined. The system
specifications within this category typically specify a hierarchical
structure for the user classes.
2
DBMS STANDARDIZATION
• Based on data.
The different types of data are identified, and an architectural
framework is specified which defines the functional units that will
realize or use data according to these different views. This approach
(also referred as the datalogical approach) is claimed to be the
preferable choice for standardization activities.
3
DBMS STANDARDIZATION
ANSI / SPARC ARCHITECTURE
4
DBMS STANDARDIZATION
ANSI / SPARC ARCHITECTURE
5
DBMS STANDARDIZATION
ANSI / SPARC ARCHITECTURE
• At the lowest level of the architecture is the internal view,
which deals with the physical definition and organization
of data.
7
DBMS STANDARDIZATION
ANSI / SPARC ARCHITECTURE
8
DBMS STANDARDIZATION
ANSI / SPARC ARCHITECTURE
9
A Generic Centralized DBMS Architecture
DBMS is interfaced with two other components to run a PC:
• Communication subsystem
To communicate with applications interface is permitted e.g;
• Running interactive transactions
10
A Generic Centralized DBMS Architecture
Functions are performed through layers in top down approach:
• Interface
• Control
• Compilation
• Execution
• Data access
• Consistency management.
11
A Generic Centralized DBMS Architecture
13
A Generic Centralized DBMS Architecture
Functional Layers of Centralized DBMS
The Control layer
• “Authorized users perform correct operations on the database”
• A predicate is the condition that must be met for the user to be able to
access the requested source.
• Controls the query by adding semantic integrity predicates
Semantic integrity ensures that data entered into a row reflects an allowable value
for that row. The value must be within the domain.
Semantic integrity control ensures
Database consistency by rejecting update transactions that lead to inconsistent database
states, or by activating specific actions on the database state i.e. updated database must
satisfy the set of integrity constraints
• Enforcing integrity constraints is costly because it generally requires access to a large
amount of data that are not directly involved in the database updates
14
A Generic Centralized DBMS Architecture
Functional Layers of Centralized DBMS
The Control layer Continues…
• Authorization predicates.
Authorized users perform correct operations on the database,
contributing to the maintenance of database integrity.
database administrator (DBA).
• The output of this layer is an enriched query in the high-level language
accepted by the interface.
15
A Generic Centralized DBMS Architecture
Query processing (or compilation) layer
16
A Generic Centralized DBMS Architecture
Execution layer
– Directs the execution of the access plans
• Transaction management(commit, restart) and synchronization of algebra operations.
– It interprets the relational operations
• Calling the data access layer through the retrieval and update requests.
Consistency layer
– Manages concurrency control and logging for update requests.
– This layer allows transaction, system, and media recovery after failure.
17
Thanks
18