Unix Technical Forum

Refresh Schema - Table Data Only

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 ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-29-2008, 09:59 AM
klabu
 
Posts: n/a
Default Refresh Schema - Table Data Only

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-29-2008, 09:59 AM
sybrandb@hccnet.nl
 
Posts: n/a
Default Re: Refresh Schema - Table Data Only

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-29-2008, 09:59 AM
noobuntu
 
Posts: n/a
Default Re: Refresh Schema - Table Data Only

> 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: Refresh Schema - Table Data Only

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


All times are GMT. The time now is 09:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com