Professional Documents
Culture Documents
Oracle DB Basic Commands
Oracle DB Basic Commands
Oracle DB Basic Commands
7. To check how much free space is available in database and how much is used:
SQL>select sum(bytes)/1024 “free space in KB” from dba_free_space;
SQL>select sum(bytes)/1024 “used space in KB” from dba_segments”;
9. Where is the existing Control file located and what is the name?
SQL> select * from v$controlfile; OR SQL> show parameter control
SQL> select name from v$controlfile;
10. What is the initial sizing of the datafile section in your control file?
SQL>select records_total from v$controlfile_record_section
where type = “DATAFILE”;
12. Display the number of redo log file groups and members your database has ?
SQL>select group#, members, status from v$log;