Table space segments (segments) Partitions (extent) blocks (blocks)

Source: Internet
Author: User
Oracle tablespaces (tableSpace), segments (segment), disk partitions (extent), and blocks are all allocated unit segments used by Oracle to save database objects.

Oracle tablespaces (tableSpace), segments (segment), disk partitions (extent), and blocks are all allocated unit segments used by Oracle to save database objects.

OracleTablespace (TableSpace), Segment (Segment), Disk Area (Extent), Block (Block).OracleThe allocation unit used to save database objects

SegmentIt is a database object that consumes storage space, such as tables, indexes, and rollback segments. When creating a table,Table segmentWhen a partition table is created, a segment is created for each partition. When an index is created, a partition is created.Index segment, Each object that consumes storage space is stored in a single segment.Rollback segment, temporary segment, clustering segment, and index segment.A segment can have disks from many inaccessible data files.

The segment itself consists of one or more disk zones, The disk area is allocated continuously in the file. Each segment must start at least one disk area, and some objects may need at least2Disks (such as rollback segments ). Each disk is not necessarily adjacent.

A disk is composed of blocks., OneThe block is inOracleThe smallest unit for space allocation in, YesOracleRead/write disk object,OracleNormally3Common sizes, 2 K, 4 K, 8 K.

A segment is composed of one or more disk areas, and a disk area is composed of some continuously allocated blocks.

A tablespace is a container that stores segments. Each segment exactly belongs to a tablespace. A tablespace can have multiple segments. All the disk partitions of a given segment are in the tablespace related to the segment.

Unit.

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.