QuestionQ59

VerifiedManage Database Availability

A user runs a query against the sales table and gets the following error:

ERROR at line 1:  
ORA-01565: error in identifying file '/u0l/app/oracle/oradata/ORCL/temp01.dbf'  
ORA-27037: unable to obtain file status  

Which two actions would you take to recover the temporary tablespace?

Choose two
Explanation

Temporary-table-space contents are transient, so a missing tempfile is replaced rather than media-recovered. A replacement tempfile can be added to the existing temporary tablespace before the unavailable tempfile is dropped. Alternatively, a new temporary tablespace can be created and assigned as the affected user's temporary tablespace. Oracle documentation also specifies that a temporary tablespace cannot be taken offline; only its tempfile can be taken offline.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!