Sie sind auf Seite 1von 10

Database Architecture

MySQL Architecture Oracle Architecture SQL Server Architecture

MySQL Architecture

Query Engine
The Syntax Parser: decomposes the SQL statements it receives and check the correctness. The Query Optimizer: streamlines the syntax for use by the execution component, choosing the best. The Execution Component: interprets the execution plan and make requests to other components to retrieve the records.

Oracle Architecture
The Oracle Server:
Consists all the files, structures, processes that Oracle is composed of. Made up of Oracle Instance and Oracle database.

The Oracle Instance:


Consists of the memory components of Oracle and its background processes.

The Oracle Database:


Centralized repository where the data is stored. Consists of 2 layers: Physical and Logical

Physical Layer:
One or more data files
Actual data stored and splitted into number of datafiles

Two or more redo log files


Holds information used for recovery in the event of a system failure. If this file is lost, recovery cannot be done.

One or more control files


Contains information to start an instance, such as location of data files, redo log files.

Logical Layer:
One or more tablespaces(logical piece of database separation) Database schema which consists of items such as tables, clusters, indexes, views, stored proc, database triggers, sequences etc.

SQL Server Architecture


User View Physical implementation

Structure of DBMS

1. 2. 3. 4.

DML Compiler DML Compiler & Query optimizer Data Manager or Database Control System (Central Database repository). Query processor

Functions of Data Manager: 1. Interaction with File Manager. 2. Integrity enforcement 3. Security enforcement 4. Backup and recovery 5. Concurrency control

Types of Database Users


DBA, DB Designers, End Users, System Analysts/App. Programmers, DBMS System Designers & Implementers, Tool Developers schema definition Storage structure and access method definition Schema & physical organization modification Granting of authorization for data access Integrity constraint specification

Roles of DBA

Das könnte Ihnen auch gefallen