Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Localy managed TBS
in dba_tablespaces, column extent_management
below is a script I use that has this bit of info included
select a.tablespace_name ts_name,extent_management lmt, mb_free, mb_total, pct_used
from
(
select
tablespace_name, MB_FREE, MB_TOTAL, round((MB_TOTAL-MB_FREE)/MB_TOTAL*1000)/10 pct_used
from
(select tablespace_name, trunc(sum(free_bytes/1024)) MB_FREE , sum(total_bytes/1024) MB_TOTAL
from
(
(select tablespace_name, sum(bytes)/1024 free_bytes,
00 total_bytes
from dba_free_space
group by tablespace_name)
union
(select t.tablespace_name tablespace_name,
00 free_bytes,
sum(d.bytes)/1024 total_bytes
from
dba_tablespaces t, dba_data_files d
where t.tablespace_name = d.tablespace_name
group by T.EXTENT_MANAGEMENT, t.tablespace_name)
)
group by tablespace_name) ) a,
dba_tablespaces t
where t.tablespace_name = a.tablespace_name
order by 1,2
/
Lisa Koivu
Oracle Database Administrator
Fairfield Resorts, Inc.
954-935-4117
-----Original Message-----
From: Hamid Alavi [SMTP:hamid.alavi_at_quovadx.com] Sent: Wednesday, October 03, 2001 3:40 PM To: Multiple recipients of list ORACLE-LSubject: Localy managed TBS
List,
How can I find out which Tablespace managed localy or by Dictionary?
Any hint appreciate.
Hamid Alavi
Office 818 737-0526
Cell 818 402-1987
The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL and exempt from disclosure under applicable law. If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return e-mail and delete the original message from your system.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Hamid AlaviReceived on Wed Oct 03 2001 - 13:52:51 CDT
INET: hamid.alavi_at_quovadx.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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).
![]() |
![]() |