Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: locally managed tbs in 9i and extent sizes
> more than the size of required extent. To know the largest available
> contiguous chunk of space, use
> ( select max(bytes) from dba_free_space where
> tablespace_name='<tablespace name>'; )
Actually that's not quite true, because it's possible for contiguous extents to be listed in dba_free_space as two separate entries, depending on when they were freed up and if they had been allocated at different times.
you'd need to see if there is an entry where block_id = prior block_id+blocks
back in the days before I used uniform extents, I had a script that generated a report of contiguous space by tablespce. I don't need it anymore, LMTs and uniform sizing has allowed me to stop worrying about having contiguous space available.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rachel Carmichael INET: wisernet100_at_yahoo.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Apr 16 2003 - 08:28:38 CDT
![]() |
![]() |