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



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

Answer / 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

More DB Administration Interview Questions

Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA

0 Answers  


what are the performance views in an oracle rac environment?

0 Answers   Oracle,


I have A,B,C servers.i want to 3 servers jobs move to D server(target server)..how? note: i said that take the backup of msdb and restore to the target server..he said while restoring jobs replaced. what is the solution

0 Answers  


Give two examples of referential integrity constraints.

2 Answers  


How do you recover a datafile that has not been physically been backed up since its creation and has been deleted. Provide syntax example.

4 Answers  






Can you take Image Backups using RMAN? . Can you use Backupsets created by RMAN with any other utility

1 Answers   Tech Mahindra,


What is dcl? : sql server DBA

0 Answers  


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

0 Answers  


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

0 Answers  


which background process invoke at the time of upgradation tell me???

0 Answers   iGate,


Give the reasoning behind using an index.

2 Answers  


What are the different types of upgrades that can be performed in sql server? : sql server DBA

0 Answers  


Categories