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

Home -> Community -> Mailing Lists -> Oracle-L -> Import views, packages, procedures, etc?

Import views, packages, procedures, etc?

From: Guang Mei <zlmei_at_hotmail.com>
Date: Wed, 04 Apr 2001 09:29:57 -0700
Message-ID: <F001.002E1362.20010404074749@fatcity.com>

Hi:

I am using exp/imp to do nightly refresh of a schema (which has about 400 tables) from one instance ("A") to another instance ("B").

Here is the exp.parfile:

BUFFER = 64000
COMPRESS = Y
CONSISTENT = N
CONSTRAINTS = Y
DIRECT = N
FILE = /oracle/exports/oracle.dmp.pipe
GRANTS = Y
INDEXES = Y
LOG = /oracle/exports/export.log
ROWS = Y
USERID = xxxxxx/yyyyyy
OWNER = (MT,PROTEOME) and here is the import parfile:

userid=xxxxxx/yyyyyy
buffer=30000000
fromuser=xxxxxx
file=/tmp/expdat.dmp.pipe
touser=xxxxxx
grants=n
indexes=y
rows=y
log=/oracle/imports/imp_MT.log
analyze=n
commit=y
tables=( list of 229 tables)

The problem is that only tables, indexes and triggers are imported. Other objects (such as FUNCTION,PACKAGE,PACKAGE BODY,PROCEDURE,SEQUENCE,SYNONYM and VIEW) are not imported.

I don't want to import all 400 tables (taking too long and too much disk space), but I want to import these FUNCTION, PACKAGE ... objects which relates to those 229 tables. Is there a easy way to do that by setting something in parfile?

TIA. Guang



Get your FREE download of MSN Explorer at http://explorer.msn.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Guang Mei
  INET: zlmei_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Wed Apr 04 2001 - 11:29:57 CDT

Original text of this message

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