how oracle decide which datafile to be used for new extent [message #51834] |
Sun, 16 June 2002 13:45 |
christina
Messages: 9 Registered: November 2001
|
Junior Member |
|
|
I have 3 datafiles in one tablespace and only one big table in that tablespace. I found that 2nd datafile has been used 10% even though the 1st datafile has been used only 50% and it has big enough freespace for the next extent of the table. I am wondering that freespace in the 1st datafile will be wasted or oracle will use it later.
Thanks,
Christina
|
|
|
|
|
Re: how oracle decide which datafile to be used for new extent [message #51949 is a reply to message #51846] |
Sun, 23 June 2002 14:37 |
Jyothi Babu B
Messages: 4 Registered: May 2002
|
Junior Member |
|
|
Hi Christie
Oracle uses some specific algorithm to pack the data in to the datafiles. When it has to allocate an extent, it will see what is the suitable available free chunk to accomodate this extent.
For e.g if 10M extent is to be allocated, it will look for some thing little more or equivalent 10M, if it has 20M in datafile 1 and 11M in datafile 2, then it will allocate the extent in datafile 2,but not in datafile 1.
Hope that helps,
Jyothi babu B.
|
|
|