SQL Language (MOSC)

MOSC Banner

One quesion on number of rows and number of blocks

edited Apr 5, 2011 8:31PM in SQL Language (MOSC) 11 commentsAnswered ✓
 
Hi All,

My DB is 11.1.

I think the number of blocks for a table can be calculated like this :number of blocks = (number of rows* avg_row_len)/block_size.
And in my case, it is (867180*74)/(16*1024) = 3916.

But when I checked its number of blocks from dba_tables, I found it was 1800.

I collected the statistics on the table just before the check.

It's easy to explain that the blocks are more than expected. But I don't know why it was far less than expected in this case.

Could someone give me some advice, please?

Best regards,
Leon

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center