Which of the following restrictions are NOT true with respect to tablespace point-in-time recovery?

Which of the following restrictions are NOT true with respect to tablespace point-in-time
recovery? (Choose all that apply.)

Which of the following restrictions are NOT true with respect to tablespace point-in-time
recovery? (Choose all that apply.)

A.
The target database must be in NOARCHIVELOG mode.

B.
No backup is required of the database before you perform a TSPITR.

C.
You must have all archived redo logs generated since the last backup up to the point to
which you want to restore the transport set.

D.
If you rename a tablespace, you can not perform a TSPITR to any point in time before
that rename operation occurred.

E.
If you have tables in tablespace_1 that have associated constraints in tablespace_2, then
you must transport both tablespaces.



Leave a Reply 8

Your email address will not be published. Required fields are marked *


lei

lei

http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV89790
TSPITR Restrictions, Special Cases, and Limitations

If TSPITR is used to recover a renamed tablespace to a point in time before it was renamed, you must use the previous name of the tablespace to perform the recovery operation.

In this case when TSPITR completes, the target database contains two copies of the same tablespace, the original tablespace with the new name and the TSPITR tablespace with the old name. If this is not your goal, then you can drop the new tablespace with the new name.

We can see that even if a tablespace is renamed, we can still perform TSPITR on it.
So option D is NOT true with respect to TSPITR.
The answer should be ABD.

Eamon

Eamon

I agree the correct answer is A, B and D

Discussing answer E
The statement …

If you have tables in tablespace_1 that have associated constraints in tablespace_2, then
you must transport both tablespaces.

… is correct, because in …
http://oracle.su/docs/11g/backup.112/e10642/rcmtspit.htm
… in the section titled “TSPITR Restrictions, Special Cases and Limitations” it says …
If constraints for the tables in tablespace tbs1 are contained in tablespace tbs2, then you cannot recover tbs1 without also recovering tbs2.

noe

noe

Answer should be AD.

Backups are required to do the restore of the files before the specified time.
You also can recover renamed tablespaces by using the old name

noe

noe

duh I cannot read, answer is correct

spellblind

spellblind

hahaha… so did i! 😉

Jake from SF

Jake from SF

A and B are correct:

https://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV89790

Some database problems cannot be resolved with TSPITR. The following list explains when you cannot perform TSPITR:

If there are no archived redo logs or if the database runs in NOARCHIVELOG mode.

If TSPITR is used to recover a renamed tablespace to a point in time before it was renamed, you must use the previous name of the tablespace to perform the recovery operation.

In this case when TSPITR completes, the target database contains two copies of the same tablespace, the original tablespace with the new name and the TSPITR tablespace with the old name. If this is not your goal, then you can drop the new tablespace with the new name.

If constraints for the tables in tablespace tbs1 are contained in tablespace tbs2, then you cannot recover tbs1 without also recovering tbs2.

If a table and its indexes are stored in different tablespaces, then the indexes must be dropped before performing TSPITR.

You cannot use TSPITR to recover the current default tablespace.

You cannot use TSPITR to recover tablespaces containing any of the following objects:

Objects with underlying objects (such as materialized views) or contained objects (such as partitioned tables) unless all of the underlying or contained objects are in the recovery set. Additionally, if the partitions of a partitioned table are stored in different tablespaces, then you must either drop the table before performing TSPITR or move all the partitions to the same tablespace before performing TSPITR.

Undo or rollback segments

Oracle8-compatible advanced queues with multiple recipients

Objects owned by the user SYS. Examples of these types of objects are: PL/SQL, Java classes, callout programs, views, synonyms, users, privileges, dimensions, directories, and sequences.

Eamon

Eamon

The correct answer is A, B and E

Discussing answer E
The statement …

If you have tables in tablespace_1 that have associated constraints in tablespace_2, then
you must transport both tablespaces.

… is correct, because in …
http://oracle.su/docs/11g/backup.112/e10642/rcmtspit.htm
… in the section titled “TSPITR Restrictions, Special Cases and Limitations” it says …
If constraints for the tables in tablespace tbs1 are contained in tablespace tbs2, then you cannot recover tbs1 without also recovering tbs2.
However there are other alternatives namely
– Remove the relationship
– Suspend the relationship for the duration of TSPITR

Statement D is actually correct.

k

k

e is a correct statement but it is talking about transporting tablespaces not recovering.. but you cant recover transported tablespaces in 11g