Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMAN as part of testing environment

720628Oct 14 2009 — edited Oct 17 2009
Hello,

I have quire simple task which I need to do with RMAN. I have one tablespace ( This tablespace is called "example" and Is attached to 11g1 ) which I'm using as target for workload balancing algorithm .

I know how to create backup.

RMAN > SQL 'ALTER TABLESPACE example OFFLINE';
RMAN > BACKUP TABLESPACE example FORMAT 'fooo%y.bkp' TAG my_label
RMAN > SQL 'ALTER TABLESPACE example ONLINE';


I know how to recover/restore:

RMAN > SQL 'ALTER TABLESPACE example OFFLINE';
RMAN > RESTORE TABLESPACE example FROM TAG my_label;
RMAN > RECOVER TABLESPACE example;
RMAN > SQL 'ALTER TABLESPACE example ONLINE


// Please note that I'm writing it from memory

My problem is that I get error and have trouble to turn online tablespace when I change some data
between backup and restore operations. I guess tablespace Is locked because there is no 100%
of integration of data and new changes from transaction log should be inseted/skipped before launching
tablespace.

Error is in polish language:
ORA-01113: plik 5 wymaga zastosowania przywracania noťnikˇw // ~ 5'th file requires data storege recovery..
ORA-01110: plik danych 5: 'C:\xxx\ORADATA\ORCL\EXAMPLE01.DBF'

How can I solve this problem?

ps. When I use few times RECOVER / RESTORE i'm finally able to set Online tablespace, but I don't like
it that I'm not sure what's going on there.

Thank You,
R.
This post has been answered by orawarebyte on Oct 15 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2009
Added on Oct 14 2009
12 comments
1,143 views