col "Database Size" format a20
col "Free space" format a20
col "Used space" format a20
select round(sum(used.bytes) / 1024 / 1024 / 1024 ) || ' GB' "Database Size"
, round(sum(used.bytes) / 1024 / 1024 / 1024 ) -
round(free.p / 1024 / 1024 / 1024) || ' GB' "Used space"
, round(free.p / 1024 / 1024 / 1024) || ' GB' "Free space"
from (select bytes
from v$datafile
union all
select bytes
from v$tempfile
union all
select bytes
from v$log) used
, (select sum(bytes) as p
from dba_free_space) free
group by free.p
/
SQL> select sum(bytes)/1024/1024/1024 from v$datafile;
SUM(BYTES)/1024/1024/1024
-------------------------
22867.9563
select i.OWNER,i.INDEX_NAME,i.INDEX_TYPE,i.TABLE_NAME,i.VISIBILITY,
s.bytes/1024/1024/1024 from dba_indexes i, dba_segments s where INDEX_NAME like
'CUS%' and i.INDEX_NAME=s.SEGMENT_NAME;
Tulsi Mudaliar: hi
8:48:59 PM: Tulsi Mudaliar: 10.119.9.11
8:49:07 PM: Tulsi Mudaliar: pe masking chalana hai after reboot
8:49:20 PM: Tulsi Mudaliar: /export/home/oracle/XIO/application_mask.sh