Get the App
SLTechnology News&Howtos  ›  Database  › 

What is the difference between blocks in dba_table and dba_ segments table

Shulou Source: shulou.com Published: 2022-05-31 13:03:33 11月17日 Update

This article introduces what is the difference between dba_table and dba_ segments table blocks, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Dba_Segments .customers = Dba_Tables.Blocks+Dba_Tables.Empty_Blocks + 1 (segment header block)

This extra 1 is, it's segment header block.

If the result of the query is not like this, you may not have analyzed the table. You might as well check it out after analyzing the table.

The two tables also have different definitions of blocks:

DBA_SEGMENTS.BLOCKS holds the total number of blocks allocated to the table.

USER_TABLES.BLOCKS holds the total number of blocks allocated for data.

On dba_table and dba_ segments table what is the difference between blocks to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Content more analysis help good interest boy buddy article knowledge article result reference query Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Redmi Linux NVidia Huawei