Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> How NOT to EXPort a specific table when FULL=Y?

How NOT to EXPort a specific table when FULL=Y?

From: Reardon, Bruce (CALBBAY) <Bruce.Reardon_at_comalco.riotinto.com.au>
Date: Tue, 24 May 2005 08:33:54 +1000
Message-ID: <1BED2F36D9F08943AF8739156A5E95CB050CC2@calbbsv016.cal.riotinto.org>


We use a method for updating our test instance whilst excluding the = biggest few tables.

It probably isn't supported by Oracle and make sure you test it and = understand the gotchas - eg you don't get the table but you do get the = views based on the table which will be invalid - so you need to recreate = the table & indexes and then recompile everything (or pre-create the = table).

Anyway, create a custom version of catexp.sql (ie = ?\rdbms\admin\catexp.sql).
-- Update views exu81obj + exu81tabs - add o$.name NOT IN ('x','y')

Note that I got the original idea from Nov 2002 Oracle-L postings by = Arup Nanda + Kirti Deshpande - subject "export in full mode but exclude = particular user".

Then have a script that does the export
run your custom catexp-nobig.sql
run export
run standard catexp.sql

Obviously don't do this at the same time someone else (scheduled job?) = is trying to do a normal export (eg full) that involves those tables.

HTH,
Bruce Reardon

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Marquez, Chris Sent: Tuesday, 24 May 2005 7:59 AM
To: oracle-l_at_freelists.org
Subject: How NOT to EXPort a specific table when FULL=3DY?

Have a HUGE table that I do NOT want to EXPort,=20 but other that I would like *everything* else...FULL=3DY.

Any ideas?

Thanks in advance,

Chris Marquez
Oracle DBA

--

http://www.freelists.org/webpage/oracle-l

NOTICE
This e-mail and any attachments are private and confidential and may = contain privileged information. If you are not an authorised recipient, = the copying or distribution of this e-mail and any attachments is = prohibited and you must not read, print or act in reliance on this = e-mail or attachments.
This notice should not be removed.
--

http://www.freelists.org/webpage/oracle-l Received on Mon May 23 2005 - 18:39:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US