Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Praveen Reddy.

Asked: May 02, 2016 - 7:19 am UTC

Last updated: May 02, 2016 - 1:05 pm UTC

Version: 11.2.0

Viewed 1000+ times

You Asked



What is deferred extent Allocation?

and Connor said...

I think you might be referring to deferred segment allocation ?

Think of it this way:

create table T ( x date ) tablespace users.

Normally, that would allocate (say) 10meg of space in the USERS tablespace. Now what if I never, ever use that table again? I've wasted 10meg.

Now you might be thinking - so why did I create it in the first place? Well, for many package applications, they often install every table that *might* be used by customers, only to have 100's or 1000's of them remain empty forever.

Deferred segment allocation simply says "We wont allocate that 10meg of space until someone inserts the first row"

Hope this helps.

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library