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

Home -> Community -> Mailing Lists -> Oracle-L -> DB link and imports

DB link and imports

From: Boivin, Patrice J <BoivinP_at_mar.dfo-mpo.gc.ca>
Date: Tue, 13 Aug 2002 03:43:25 -0800
Message-ID: <F001.004B27FE.20020813034325@fatcity.com>


FYI, If you have an invalid db link used in a piece of stored PL/SQL, and you do a full db import, the import utility will drop the package bodies that contain the invalid db link. I am not sure but I think it does this when checking whether stored code compiles successfully after the data has been imported.

We discovered this when someone on another site changed the IP address of one of their servers the same weekend we rebuilt a database.

So, add it to your checklist:
- before doing full export, verify that all db links in stored packages are
valid
- before doing full import, verify that all servers referenced by db links
in stored packages exist

Regards,
Patrice Boivin
Systems Analyst (Oracle Certified DBA)

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Boivin, Patrice J
  INET: BoivinP_at_mar.dfo-mpo.gc.ca

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 Tue Aug 13 2002 - 06:43:25 CDT

Original text of this message

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