Oracle Storage Architecture

Source: Internet
Author: User

Logical storage of the database, starting from the table space
The logical storage structure for a database object is as follows
Table Space-Segment-zone-Block

SELECT * from Dba_tablespaces;
SELECT * FROM Dba_segments
where tablespace_name= ' Kyc_veh ';
SELECT * FROM Dba_segments
where Tablespace_name= ' Kyc_veh ' and segment_name= ' vehicle_info ';
SELECT * FROM Dba_extents
where Tablespace_name= ' Kyc_veh ' and segment_name= ' vehicle_info ';

The initial is allocated according to a zone of 8 blocks, that is, 65536b,initial_extent is 65536, that is, the Initial_extent field value in Dba_segments
Select 16*8*8192 from dual;
1048576
After the initial size is occupied, the redistribution is allocated according to a zone of 128 blocks, that is, 1mb,next_extent is 1048576, that is, the Next_extent field value in Dba_segments
Select 128*8192 from dual;
1048576

A segment takes up a extents
A zone of 8 blocks, i.e. a zone is 65536 bytes
A block of 8192 bytes

BLOCK_ID are global, others are relative.
SELECT * from Dba_segments;
Focus on header_block,blocks Two field value changes and can be viewed in descending or ascending order

Oracle Storage Fabric

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.