Why is the segment space occupied by inserting a record after the Oracle table is created 0.0625 MB?

Source: Internet
Author: User

The number and type of BUFFER headers in the buffer cache can be viewed through the preceding table, and you can see the SQL query results you have previously understood:

ZN @ PROD> select * from t8;

X Y
--------------------
1 2

ZN @ PROD> select segment_name, bytes/1024/1024 from user_segments where segment_name = 't8 ';
 
SEGMENT_NA BYTES/1024/1024
-------------------------
8. 0625

Why is the space occupied by segment 0.0625 M when a table is created and a record is inserted?

In fact, the object T8 generates eight different types of blocks (currently only five DATA blocks with class = 1 and one segment header with class = 4 are known, I don't know what BLOCK is for class = 8 & 9). If the size of each BLOCK is 8192 bytes, 8*8192/1024/1024 = 0.0625 M!

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.