Ask the Expert

Allocating bytes as extents in Oracle

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?

    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: