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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Skipping a table on import

RE: Skipping a table on import

From: <JApplewhite_at_austin.isd.tenet.edu>
Date: Fri, 07 Feb 2003 06:28:36 -0800
Message-ID: <F001.00546FE5.20030207062836@fatcity.com>

John,

A quick check turned up a "medium" parfile for me - only 1201 tables listed. The file size is 14KB, so I guess it's not an issue for 8i. Even on larger parfiles I've never gotten an error - for neither HP-UX nor Win2k.

Jack C. Applewhite
Database Administrator
Austin Independent School District
Austin, Texas
512.414.9715 (wk)
512.935.5929 (pager)
JApplewhite_at_austin.isd.tenet.edu

                                                                                                           
                      <John.Hallas_at_voda                                                                    
                      fone.co.uk>              To:       Multiple recipients of list ORACLE-L              
                      Sent by:                  <ORACLE-L_at_fatcity.com>                                     
                      root_at_fatcity.com         cc:                                                         
                                               Subject:  RE: Skipping a table on import                    
                                                                                                           
                      02/07/2003 07:38                                                                     
                      AM                                                                                   
                      Please respond to                                                                    
                      ORACLE-L                                                                             
                                                                                                           
                                                                                                           




Jack,
I always knew there was a limit on the size of a parfile which I had assumed
was a maximum no of tables allowed. However I recently found out that it is a byte limit on the overall file parameter. (It was 8K in 7.x ) Do you not hit this limit with several thousand table names (presumably not,
otherwise you would not do it !!!!) ??

John

-----Original Message-----
[mailto:JApplewhite_at_austin.isd.tenet.edu] Sent: 07 February 2003 13:04
To: Multiple recipients of list ORACLE-L

Craig,

I had to smile when you stated you had 400 tables and were reluctant to list them in the export or import parfile. Our 3rd party Student Information system has over 47,000 tables. I frequently do exports and/or imports with parfiles listing several thousand tables. It's not a problem at all.

Spool the following to a text file and incorporate it (with minor editing to add the parens and remove the first comma) into your parfile... Select ',' || Table_Name
>From User_Tables

Where Table_Name <> '<theTableYouDoNotWant>' ;

Jack C. Applewhite
Database Administrator
Austin Independent School District
Austin, Texas
512.414.9715 (wk)
512.935.5929 (pager)
JApplewhite_at_austin.isd.tenet.edu

                      "Craig Healey"

                      <c.healey_at_hhsuk.c        To:       Multiple
recipients
of list ORACLE-L
                      om>                       <ORACLE-L_at_fatcity.com>

                      Sent by:                 cc:

                      root_at_fatcity.com         Subject:  Skipping a table
on
import
                      02/07/2003 04:04

                      AM

                      Please respond to

                      ORACLE-L


Hi,
I'm trying to import the live schema into a test schema, but 1 or 2 tables have a lot of data and it's taking hours. Is there a way to skip certain tables during an import?
We're using 8.1.7
We have 400 tables, so I'd like to avoid having to list all the tables in the export statement.
I have to pre-create the tables to put them in the correct tablespace, so could I alter the table definitions to force import to skip particular ones?
Any help is appreciated.

Craig Healey

--
Author: Craig Healey
  INET: c.healey_at_hhsuk.com
--
Author:
  INET: JApplewhite_at_austin.isd.tenet.edu
--
Author: <John.Hallas_at_vodafone.co.uk
  INET: John.Hallas_at_vodafone.co.uk





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: JApplewhite_at_austin.isd.tenet.edu

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Feb 07 2003 - 08:28:36 CST

Original text of this message

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