Solved

Oracle table recovery - unpredictable instance size

  • 18 July 2022
  • 2 replies
  • 102 views

Userlevel 2
Badge +7

Hi everyone,

 

CV supports table level recovery for Oracle database.

But the problem is that we’re not able to assess the datafile size needs to be restored.

So table recovery can cause unexpected issue like lack of space while doing a restoration.

 

It says all related tablespaces are restored if the tablespace includes table to recover is not self-contained.

 

EXECUTE DBMS_TTS.TRANSPORT_SET_CHECK('sales_dept', TRUE);

SELECT * FROM TRANSPORT_SET_VIOLATIONS;

 

So we performed below procedure/command to validate how many tablespaces are dependent.

For our customer’s prod environment, only two tablespaces need to be restored for table recovery on top of the targeted tablespace. But the result was totally different what we expected.

A table recovery required almost all of the tablespace restore to an auxiliary instance.

 

Why CV restore so many tablespace just for a table recovery?

(Oracle DBA says there’s no reason these tablespaces need to be restored. For “Recover table” command since 12c requires only a tablespace restore except default tablespaces.   But we use Oracle duplicate way instead)

Any advice will be helpful for me.

 

 

Thanks

 

icon

Best answer by RThati 22 July 2022, 01:02

View original

2 replies

Userlevel 3
Badge +6

Enough of the original instance needs to be restored to be able to bring the database online so that the export can be done.

This can be minimized with block level backup in which case the source database is streamed directly from the backup rather than being restored to disk for the export.

Badge +1

Hi @Hongmo Kim ,

 

The tablespaces added during auxiliary db creation are of 2 parts

  1. the actual dependent tablespaces  based on tables selected
  2.  additional rollback segment tablespaces, materialized view tablespaces.

hope it adds more explanation to DBA.

Please try another restore with below additional setting on the TableRestore destination client.

Name: sDisableRollbackSegments

Section: OracleAgent

Type: STRING

Value: Yes

 

 

Thanks

Ravi

Reply