Oracle data files (1)

Source: Internet
Author: User
  1. Data Files and redo log files are important files in the database.
  2. Oracle stores data in four file systems
    1. Operating System (OS) File System
    2. Original Partition
    3. New Features of Automatic Storage Management (ASM) and 10g Release 1
    4. Cluster File System: dedicated to RAC, like the cooked file system shared by multiple nodes in the Cluster Environment
  3. Storage hierarchy
    1. A database consists of one or more tablespaces. A tablespace is a logical memory in Oracle, including one or more data files.
    2. A cidr block consists of one or more CIDR blocks. Segments are in the tablespace, but can contain data in multiple data files in the tablespace.
    3. A partition is a logical continuous block on a disk. The partition is only in one tablespace and is always in one file of the tablespace.
    4. A block is the smallest allocation unit in the database and the smallest I/O unit used by the database.
  4. Tablespace Management
    1. Tablespace Management Section
  • Before oracle8.1.5, there was only one method: The tablespace managed by the dictionary. If an object requires another segment, it will "Apply" to the system ". Then Oracle accesses its data dictionary table, runs some queries, finds the data (maybe not), and then updates, deletes, and inserts the data.
  • Temporary tablespace: You do not create your own permanent objects. The processing mode for temporary tablespace is the same as that for permanent tablespace before 7.3.
  • Processing mode of temporary tablespace: Once a temporary tablespace is allocated with a partition, the system will keep holding it. The next time someone requests this temporary tablespace, Oracle will first find the allocated partition and find it for reuse. Otherwise, allocate again.

In Versions later than Oracle 8.1.5, Oracle uses local tablespace management. For local tablespace management, a flag stored in each data file is used to manage the partition. For example, if the flag is 1, the partition is used. If the flag is 0, the partition is released.

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.