3 dbms system architecture

8
3.1 Prof. Khaled Elleithy Data Base Design Chapter# 3 Database system architecture

Upload: saurabhmaghar

Post on 18-Nov-2014

107 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 3 DBMS System Architecture

3.1Prof. Khaled ElleithyData Base Design

Chapter# 3

Database system architecture

Page 2: 3 DBMS System Architecture

3.2Prof. Khaled ElleithyData Base Design

The Three levels of architecture:

• The Internal level1.

• The External level2.

• The Conceptual level3.

Page 3: 3 DBMS System Architecture

3.3Prof. Khaled ElleithyData Base Design

Page 4: 3 DBMS System Architecture

3.4Prof. Khaled ElleithyData Base Design

An example of the three levels.

Conceptual:EMPLOYEE

EMPLOYEE_NUMBER CHARACTER (6)DEPARTMENT_NUMBER CHARACTER (4).

External (COBOL):01 EMPC.

02 EMPNO PIC x(6).02 DEPTNO PIC X(4).

Page 5: 3 DBMS System Architecture

3.5Prof. Khaled ElleithyData Base Design

Internal:STORED_EMP BYTES = 20PREFIX TYPE=BYTE(6),OFFSET=0EMP# TYPE = BYTE(6),OFFSET=6,INDEX=EMPXDEPT# TYPE =BYTE(4),OFFSET=12

Page 6: 3 DBMS System Architecture

3.6Prof. Khaled ElleithyData Base Design

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.

Page 7: 3 DBMS System Architecture

3.7Prof. Khaled ElleithyData Base Design

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.

Page 8: 3 DBMS System Architecture

3.8Prof. Khaled ElleithyData Base Design

Fig: DBMS functions and components.