----------------------------------- -This script is used to check the Tablespace less than 20% free. - Gives wheter hot backp is in progress? -Gives datafile information for the provided tablespace - Script Name : tsinfo.sql - Usage : @tsinfo - File Location : http://ruappsdba.blogspot.in/2013/09/tablespace-less-than-20-free-and-add.html ---------------------------------- SELECT a.tablespace_name,b.size_kb,a.free_kb,Trunc((a.free_kb/b.size_kb) * 100) "FREE_%" FROM (SELECT tablespace_name,Trunc(Sum(bytes)/1024) FREE_KB FROM dba_free_space GROUP BY tablespace_name) a, (SELECT tablespace_name,Trunc(Sum(bytes)/1024) SIZE_KB FROM dba_data_files GROUP BY tablespace_name) b WHERE a.tablespace_name = b.tablespace_name AND Round((a.free_kb/b.size_kb) * 100,2) < 20 / select unique status from v$backup / col file_name for a60 set line 150 col "Auto Extend" for a10 SELECT tablespace_name,file_name,autoextensible "Auto Extend",bytes/1024/1024 "Used in MB",maxbytes/1024/1024 "Max in MB",increment_by FROM dba_data_files where tablespace_name='&T_NAME' order by file_name /
Monday, September 16, 2013
Tablespace Less than 20% free and add space
Subscribe to:
Post Comments (Atom)
NLS boot file not found or invalid opmnctl ping – EBS 12.2 ADCFGCLONE FAIL
Error: adcfgclone.pl failed while performing clone of EBS 12.2 instance. This occurred while ohsT2PApply is in progress. INST_TOP/adm...
-
I got a task to estimate RMAN backup size. How much 3days RMAN backup occupy? How long it will take to complete? Is the backup siz...
-
I got the below issue while Cloning ORACLE HOME from source to target. I have copied the binaries from source and initiated adcfclone. It ...
-
We have received an alert in the morning that the Primary Database is out of Sync. Primary and Standby are with difference of 9 archives. ...
No comments:
Post a Comment