What query tells you how much space a tablespace named
"test" is taking up, and how much space is remaining?

Answer Posted / jaleel

TO CHECK TAKINGUP SPACE
SQL> select sum(bytes)/1024/1024 "TABLESPACESIZE:MB"
from dba_segments where tablespace_name='TEST';

TO CHECK FREE SPACE
SQL> select sum(bytes)/1024/1024 "TABLESPACESIZE:MB"
from dba_free_space where tablespace_name='TEST';

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1519


how can you initialize log miner?

589


Explain materialized views and how they are used.

1904


What is the importance of a recovery model? : sql server DBA

566


What are the recovery models for a database? : sql server DBA

601






What authentication modes does sql server support? : sql server DBA

705


When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

572


can u plz tell me what r the mandatory skills for getting job as a sql dba......plz send me all details thank you my id :k.mohann.mohan@gmail.com

1343


How to bind a cobol module to a given job? I am not able to understand this concept.Can anyone help me out as how to carry out this task?

1663


what is the diffrence between core dba and apps dba?

2102


Where do you find the default index fill factor and how to change it? : sql server DBA

568


Explain about your sql server dba experience? : sql server DBA

558


how can you get actual data change values from previous transactions in oracle?

624


Claims and Drains are the locks used to control the concurrency between SQL processes and utilities. Referring to the above statement, what is the maximum number of concurrent Claimers for a Subsystem? Choice 1 32 Choice 2 64 Choice 3 128 Choice 4 256 Choice 5 No limit

1844


I have kept recovery catalog on same target database and taken backup of target DB to disk. deleted the target DB & tried to restore and revoer DB using the backup on disk but it is not possible, how do we restore & recover DB

1532