Table extents [message #364285] |
Sun, 07 December 2008 19:36 |
rcd70
Messages: 14 Registered: April 2006 Location: Auckland, New Zealand
|
Junior Member |
|
|
Hi
Can someone please let me know if the size on the initial extent for a table can affect the performance of a table when doing table inserts of millions of rows. The current initial extent is 64k.
Regards
Rajesh
|
|
|
Re: Table extents [message #364287 is a reply to message #364285] |
Sun, 07 December 2008 20:01 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
There is a small overhead whenever you exceed your available space and a new extent is added. If you insert millions of rows with an extent size of 64Kb, then this overhead will happen more frequently.
More importantly, if a table has hundreds of extents then it takes up more space in the Data Dictionary, and therefore the dictionary cache. If your dictionary cache is too small, Oracle will page it to disk. This will make your database slower overall.
Lastly, all that extra time allocating extents when you loaded the table will happen again when you drop the table and Oracle releases the extents.
Why not just place the table in the approariate tablespace with an extentsize that relects its volume?
Ross Leishman
|
|
|
|
|
|
|
|