Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DIFFERENT EXTENT SIZES

RijuAug 21 2014 — edited Aug 21 2014

Hi,

I created a table with the following specification and bulk loaded about 106,369,275 records into it.

create table test

(col_1 varchar2(32 byte),

col_2 varchar2(4 byte),

col_3 number(19,3),

col_4 number(19,3),

col_5 varchar2(10 byte),

col_6 varchar2(35 byte)

)

tablespace HOME_DB

STORAGE (

INITIAL 64K

NEXT 1M

MINEXTENTS 1

MAXEXTENTS UNLIMITED

PCTINCREASE 0

);

Now when I look into USER_EXTENTS I see that different extents are of different sizes. Here are some of the columns from the USER_EXTENTS table


Segment NamePartition NameTablespace NameExtent IDBytesBlocks
TEST HOME_DB0655368
TEST HOME_DB1655368
TEST HOME_DB771048576128
TEST HOME_DB7983886081024
TEST HOME_DB847340032896

Now I have two questions

1. Why is there an extent id of 1 with a value of 64k. Should not only the initial extent of 0 be of size 64k?

2. Why are the extent sizes different? Should not they all be 1M after initial extent?

I am really new to these concepts so it would be great if you people could suggest.

Thanks

This post has been answered by EdStevens on Aug 21 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2014
Added on Aug 21 2014
8 comments
1,577 views