SQL Language (MOSC)

MOSC Banner

Transport tablespaces that are not self-contained

edited Mar 24, 2015 10:02AM in SQL Language (MOSC) 1 commentAnswered

Hi,

I have set of tablespaces on different databases which I need to transfer to another database. Tablespaces contain old audit logs and are named like BACKUP_2006, BACKUP_2007 and so on. Problem is that tablespaces are not self-contained and I'cant see a way to repair all the violations for all tablespaces (hundreds of violations/tbs). Is there any way to transfer data (it will be only one-time operation) ?

My idea was to get list of all tables in TBS and create copy of these tables in temporary tablespace. Than get list of all 'insert into statements' for these tables and insert data into tables and when done, transport the whole temporary tablespace. This method is not working for me so far, because I don't know how to simply get partition boundary:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center