Logical and physical databases in Oracle

Source: Internet
Author: User

Logical and physical databases in Oracle

Oracle abstracts the logical storage structure to adapt to different underlying physical structures. There are two advantages:

(1) so that Oracle users only need to understand the data logic and do not feel the existence of the physical layer, nor do they have to understand any details about the physical storage structure.

(2) For other OS users (including system administrators), only the OS physical files are visible and the internal logic of the data is not understood.

Of course, there must be some correspondence between the logical database and the physical database, which is exactly what the DBA needs to do.

1 physical database

Oracle databases include three types of physical files: control files, online redo log files, and data files. These files are physical files that have different implementations on different operating system platforms.

Note: parameter files, control files, password files, archive log files, alarm logs, and tracing files are required for Oracle startup and loading. However, strictly speaking, they are not part of the database.

2. logical database

Tablespace, segment, interval, and Oracle block.

3 logical and physical Mappings

This ing relationship is implemented through the control file and data dictionary.

3.1 startup phase

Before starting a database, you must use an external file to find the corresponding relationship. The instance first finds the "control file" through the "parameter file", and then passes

The "control file" is used to identify the data files in the SYSTEM tablespace.

3.2 running stage

After the SYSTEM tablespace is found, the Oracle database has been loaded, and subsequent mappings will be searched in the data dictionary in the tablespace.

In this case, the database is able to manage itself and no longer depends on external files.

-------------------------------------- Split line --------------------------------------

Oracle 11g installation manual on RedHat Linux 5.8 _ x64 Platform

Installing Oracle 12C in Linux-6-64

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

-------------------------------------- Split line --------------------------------------

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.