Skip to main content
Question

Does anyone knows how to import Data Archive object from one DB to another?

  • Jul 28, 2022 2:35 PM UTC
  • 5 replies
  • 105 views

Forum|alt.badge.img+2

Does anyone knows how to import Data Archive object from one DB to another? 

There is an export option but no import option and import the generated code not import the object with all tables.

Thanks i advance!

 

Lucy

5 replies

Forum|alt.badge.img+21
  • Superhero (Employee)
  • Jul 28, 2022 11:47 PM UTC

Hi @LucyWang ,

The export/import options are only generate the definitions and will not move any data. To move your archive object s from one DB to the another, i would look at using Oracle transportable tablespace option as the archive tables are usually stored in its own tablespace (i.e. IFSAPP_ARCHIVE_DATA). 

Cheers


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jul 29, 2022 12:35 AM UTC

Hi Sajith,

Thanks for the reply!

It is Data archive Object Definition that I want to export/import from one DB to another. The export generates <object>.ins code, but after “importing” the code (runningthe code in sqlplus)  into the new DB, I do not see the data archive object in this DB.

Lucy Wang


Forum|alt.badge.img+21
  • Superhero (Employee)
  • Jul 29, 2022 1:21 AM UTC

Hi @LucyWang ,

Did you export the storage option as well? This is the one that has the object definitions.

cheers


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jul 29, 2022 2:30 AM UTC

Again thank you for the reply, but the option only works if destination is Oracle Table. I have destination NONE.

 

Lucy


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jul 29, 2022 2:48 AM UTC

Problem solved!

Running <object>.ins does work just not right away. The object showed up after couple hours (maybe much sooner), I just did not bother to check.

Case closed!

 

Lucy