Q

Allocating bytes as extents in Oracle

Oracle expert Brian Peasland explains how Oracle allocates bytes in extents, or chunks.

The following query returned below indicated bytes and extents.

select segment_name, bytes, extents from dba_segments where owner = 'PPSPROD' and segment_name = 'ACTIVITY_LOG

';

SEGMENT_NAME BYTES EXTENTS ---------- ---------- -------- ACTIVITY_LOG 44646400 218

My question is this: Is the total table size equal to 44,646,400 bytes or 44,646,400x218?

The toal size is 44,646,400 bytes. Oracle does not allocate all of these bytes at once. Rather it allocates these bytes in chunks. These chunks are called extents. Your segment has 218 extents, or chunks.
This was first published in May 2008

Dig deeper on Oracle database administration

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close