Oracle Database system is a complex software system. The Oracle architecture refers to the relationship between the components of the Oracle database management system and these components, including the memory structure, background process, physical and logical structure.
Overall diagram of the Oracle Database System:
The system of Oracle Database is complex because it saves memory to the maximum extent. It can be seen that it is divided into two parts: instance and database file.
I. instance: refers to the memory and related processing programs of the database server. It is the heart of oracle. The most important relationship with Oracle performance is SGA (system global area, which is the active shared memory area in the system global area). SGA includes three parts:
1. Data Buffer to avoid repeated reading of common data;
2. The log buffer increases the speed of adding, deleting, and modifying data, and reduces disk read/write speed;
3. Share the pool to stop compiling the same SQL statement, improving the SQL Execution speed.
2. database files are composed of various file groups in the operating system.
1. Logical Structure of the Oracle database:
1) The tablespace, the basic logical structure of the database, is a collection of data files;
2) segments, the space occupied by different types of data in the database, which is composed of multiple zones;
3). The purpose of a zone is to reserve a large space for data at a time;
4). The minimum storage unit, which is specified when the database is created.
2. Physical Structure of Oracle Database:
1). Data File: The file that stores data;
2) redo log file (redo log file), which records the processing status of any data in the database and can be used for data recovery;
3) control file: controls and records the object structure of the database;
4) initialize the parameter file and configure the memory space;
5). Password File to authenticate the user's permission to start and close Oracle routines. Article Source: http://oracle.chinaitlab.com/serial/795849.html