Some Important Commands


SQL > select property_name||' '||property_value from database_properties;

SQL > select name from v$datafile;

SQL > select name from v$tempfile;

SQL > SELECT tablespace_name||' '||file_name||' '||(bytes/1024)/1024 FROM dba_data_files;

SQL > SELECT tablespace_name||' '||file_name||' '||(bytes/1024)/1024 FROM dba_temp_files;

SQL > create temporary tablespace temp1 tempfile '/u02/clonedb/oradata/cdb1/temp01.dbf' size 50m;

SQL > ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp1;

SQL > DROP TABLESPACE temp1 INCLUDING CONTENTS AND DATAFILES;

No comments:

ORA-00059: Maximum Number Of DB_FILES Exceeded in 19C database

When I am adding datafile to my 19C database facing the below error. SQL> alter tablespace DATA  add datafile '/u01/data/data15.dbf...