cloning subset with RMAN and partitioned tables

From: Jack van Zanen <jack_at_vanzanen.com>
Date: Wed, 3 Feb 2010 14:42:25 +1100
Message-ID: <77a615a71002021942u487319dcqca46f782a52dad3b_at_mail.gmail.com>



Hi,

I have the following issue

I have been asked to clone a subset of a very large database. Sofar nothing tricky and this works fine,

however...this database has a partitioned table with sub partitions spread over multiple tablespaces. some of which have not been cloned across as the requirement was the last few months worth of data.

RMAN clone command was succesful till the last bit where it tried to drop the tablespaces that were skipped. After that the database opened fine but subsequent selects on the table complain about missing datafiles (understandably) but I have no idea how to solve the problem.

I have tried offlining the tablespace (no error but does not solve the problem)
I have tried dropping the partition "ORA-14268: subpartition 'SYS_SUBP437' of the partition resides in offlined tablespace" I have tried dropping the sub partitions but get error ORA14616 table not partitioned by List method"
I have tried offline the datafiles that are missing, but this does not solve the problem (mount and open mode).
I have tried offline drop the datafiles that are missing, but this does not solve the problem (mount and open mode). I have tried to recreate the controlfile without the missing datafiles, no luck

Any other suggestions?

-- 
Jack van Zanen

-------------------------
This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient. If you are not the intended recipient,
please be aware that any disclosure, copying, distribution or use of this
e-mail or any attachment is prohibited. If you have received this e-mail in
error, please contact the sender and delete all copies.
Thank you for your cooperation

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Feb 02 2010 - 21:42:25 CST

Original text of this message