Difference between revisions of "Tablespaces"

From dbawiki
Jump to: navigation, search
(Created page with "===User quotas on all tablespaces=== col quota format a10 select username , tablespace_name , decode ( max_bytes , -1, 'unlimited' , c...")
(No difference)

Revision as of 22:33, 10 November 2012

User quotas on all tablespaces

col quota format a10
select username
,      tablespace_name
,      decode ( max_bytes
              , -1, 'unlimited'
              , ceil(max_bytes / 1024 / 1024)||'M'
              ) quota
from   dba_ts_quotas
where  1=1
and    tablespace_name not in ('TEMP');