You are on page 1of 8

Chapter# 3

Database system architecture

3.1
Data Base Design Prof. Khaled Elleithy
The Three levels of architecture:

• The Internal level1.


• The External level2.
• The Conceptual level3.

3.2
Data Base Design Prof. Khaled Elleithy
3.3
Data Base Design Prof. Khaled Elleithy
An example of the three levels.

External (COBOL):
01 EMPC.
02 EMPNO PIC x(6).
02 DEPTNO PIC X(4).
Conceptual:
EMPLOYEE
EMPLOYEE_NUMBER CHARACTER (6)
DEPARTMENT_NUMBER CHARACTER (4).

3.4
Data Base Design Prof. Khaled Elleithy
Internal:
STORED_EMP BYTES = 20
PREFIX TYPE=BYTE(6),OFFSET=0
EMP# TYPE = BYTE(6),OFFSET=6,INDEX=EMPX
DEPT# TYPE =BYTE(4),OFFSET=12

3.5
Data Base Design Prof. Khaled Elleithy
Tasks of the Database Administrator(DA)
• Defining the conceptual schema.
• Defining the internal schema
• Liaising with users.
• Defining security and integrity constraints
• Defining dup and reload policies
• Monitoring performance and responding to
changing requirements.

3.6
Data Base Design Prof. Khaled Elleithy
The functions of Database Management
Systems(DBMS):
• Data definition.
• Data manipulation.
• DML requests.
• Planned.
• Unplanned.
• Optimization and execution.
• Data security and integrity.
• Data recovery and concurrency.
• Data dictionary.
• Performance.
3.7
Data Base Design Prof. Khaled Elleithy
Fig: DBMS functions
and components.

3.8
Data Base Design Prof. Khaled Elleithy

You might also like