This is a discussion on Refresh Schema - Table Data Only within the Oracle Miscellaneous forums, part of the Oracle Database category; --> 10gR2 I want to refresh a shema - data only If I'm to use expdp to export "scott" from ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 10gR2 I want to refresh a shema - data only If I'm to use expdp to export "scott" from Production and use impdp to import to "scott" on Test.... What is the best approach on the import ? 1) Should I drop all tables under "scott" ? or truncate them ? 2) What about existing table constraints/Ref. Integrities...how do I deal with them ? thanks |
| |||
| On Thu, 28 Aug 2008 12:04:55 -0700 (PDT), klabu <klabu76@gmail.com> wrote: >10gR2 >I want to refresh a shema - data only > >If I'm to use expdp to export "scott" from Production and use impdp to >import to "scott" on Test.... > >What is the best approach on the import ? > >1) Should I drop all tables under "scott" ? or truncate them ? >2) What about existing table constraints/Ref. Integrities...how do I >deal with them ? > >thanks 1) the documentation for impdp in the Oracle Utilities Manual outlines various commandline options dealing with exactly this. As I don't know them by heart, and would need to reread the documentation, you'd better do this. -- Sybrand Bakker Senior Oracle DBA |
| ||||
| > 1) the documentation for impdp in the Oracle Utilities Manual outlines > various commandline options dealing with exactly this. > As I don't know them by heart, and would need to reread the > documentation, you'd better do this. > > -- > Sybrand Bakker > Senior Oracle DBA thanks that was so helpful |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change schema of table in DB2 v.8.2 without coping data | Dmitriy Lapko | DB2 | 5 | 04-19-2008 07:19 AM |
| Re: Utility that creates table schema from csv data? | Reid Thompson | Pgsql General | 0 | 04-09-2008 06:55 AM |
| Utility that creates table schema from csv data? | CSN | Pgsql General | 1 | 04-09-2008 06:55 AM |
| Moving an object (function/table, etc) from schema to schema | Vitaly Belman | Pgsql General | 1 | 04-08-2008 09:00 PM |
| How to LOCK TABLE/READ ONLY table in own schema after data insertion | sanjeev_atvankar@hotmail.com | Oracle Database | 12 | 02-25-2008 05:52 AM |