<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=31231294&amp;blogName=indra+punya+blog&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;searchRoot=http://indrajati.blogspot.com/search&amp;blogLocale=en_US&amp;homepageUrl=http://indrajati.blogspot.com/&amp;vt=-2054372107529621458" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>

 

Check DB Usage per tablespace .....

select
a.tablespace_name, round(a.bytes/1024/1024/1024,2)  Total,
round( nvl( b.bytes,0)/1024/1024/1024,2)  Used,
round(nvl(c.bytes, 0)/1024/1024/1024,2)  Free ,
round(nvl(b.bytes,0)*100/nvl(a.bytes,0),2) "% Used"
from  sys.sm$ts_avail a, sys.sm$ts_used b, sys.sm$ts_free c
where a.tablespace_name=b.tablespace_name(+)
and b.tablespace_name=c.tablespace_name(+)
order by round(nvl(b.bytes,0)*100/nvl(a.bytes,0),2) desc;

Labels:

By Indrajati Chairuddin
On Tuesday, November 02, 2010
At 10:59 PM
Comments :
 

for this post

Leave a Reply