|
|
How can you tell if your objects are getting close to hitting their maximum extent limit? This is quite easy to do. If you are using version 7 of Oracle, then you can execute the maxext7.sqlscript, which will find all objects that are within five extents of their limit: See Code depot for complete script maxext7.sql select owner, sys.dba_segments max_extents -
extents <= 5 and 1,2,3;
If you are using version 8 or higher of Oracle, then you can use the maxext8.sql script: See Code depot for complete script maxext8.sql select owner, '.' ||
partition_name) segment_name, sys.dba_segments max_extents -
extents <= 5 and 1,2,3; The above is an excerpt from Oracle Performance Troubleshooting by Robin Schumacher. It's only $19.95 and you can order it and get instant access to the Oracle scripts here: http://www.rampant-books.com/book_2003_1_perf.htm
|
|
|