How to avoid the export of DB links when you export using exp?

Hello
I am trying to export dump of data from tables from test@env1 to test@env2 in user mode. My requirement is to move all tables/roles/indexes...etc. data from one database to another DB with move them any link DB, I wrote below do this with considering them exclusion DB Link.

Can someone tell me how to avoide DB lie then export? So that when I import the .dat file and existing DB links in test@env2 would not get affected. Y at - it something like exclude in convensional exp? (not expdb).

I also intend to disable all triggers in target environment during import. Is it OK?


(Step 1) Procedure to disable triggers in test@env2.
DECLARE
l_tri VARCHAR2 (2000);
CURSOR cur_tri
IS
SELECT table_name,
trigger_name
Of all_triggers
Owner where IN ('TEST');
BEGIN
I'm IN cur_tri LOOP
RUN IMMEDIATELY "ALTER TRIGGER ' |" i.trigger_name | "DISABLE";
END LOOP;
END;
/


-EXPORTER-
(Step 2)
Export file:params.dat Param
QUEUE = test.dmp
OWNER = test
TRIGGERS = n
GRANTS = y
LINES = y
COMPRESS = y

(Step 3)
test/test_pass exp PARFILE = exp_params.dat

(Step 4)
Import the file:exp_params.dat Param
QUEUE = test.dmp
OWNER = test
TRIGGERS = n
GRANTS = y
LINES = y
COMPRESS = y


-IMPORTANT-
(Step 5) followed by importing a file param

Import file Param: imp_params.dat
QUEUE = test.dmp
FROMUSER = test
TOUSER = test
TABLES = (*)

(Step 6) followed by import
IMP test/test_pass PARFILE = imp_params.dat

Any help would be appreciated.
Thank you.

Can someone tell me how to avoide DB lie then export? So that when I import the .dat file and existing DB links in test@env2 would not get affected. Y at - it something like exclude in convensional exp? (not expdb).

I fear this is not possible in normal export.but is possible with EXCLUDE prameter in expdp (but I've never tested and just assuming). You can give a try

I also intend to disable all triggers in target environment during import. Is it OK?

He can do faster import

Tags: Database

Similar Questions

  • How to avoid the launch of Labview VI when he invokes in Teststand environment?

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment.

    But when I run the sequence. LabVIEW automatically launches.

    How to avoid the launch of Labview when I run the sequence?

    Thank you.

    LabVIEW programs require a runtime engine. Under the TestStand configuration drop-down, select adapters. You can change the LabVIEW adapter to select the runtime rather than the development system.

    This should prevent the main screen of LabVIEW to appear, but you will not be able to change your LabVIEW VIs while they run of TestStand using the runtime engine.

  • How to clear the cache and page reset when you click on tab

    Hello
    I use two level model tab and its Apex 40.
    I would like to clear the cache and reset pagination when you click level 2nd tab
    Is anyway to do this?
    Thank you.

    hlthanh wrote:
    Hello
    I use two level model tab and its Apex 40.
    I would like to clear the cache and reset pagination when you click level 2nd tab
    Is anyway to do this?

    Can stick us to the standard terminology of APEX: do you mean Parent (level 2) tab or the tab Standard (level 2)?

    Parent tabs this is done directly using the box Erase the Cache property and reset pagination for this page of the tab target.

    For the Standard tabs, create processes from before header tab target:

  • Session state > clear Cache...

  • Reset the Pagination

  • How to make the bookmarks toolbar remains open when you go to the properties?

    Whenever I click on properties when I rename a bookmark or a folder, my firm bookmarks toolbar.

    I checked about: config and did not see a setting in there. Does anyone know how I'd go change it while it is not AUTOclose when you go to the properties?

    I use Firefox version 9.0.1

    You can open bookmarks in the sidebar (view > sidebar > bookmarks;) CTRL + B) If you want the selected bookmark or folder remain visible. If you do this in the menu bookmarks and bookmarks toolbar then open menus and folders are automatically closed.

  • How to stop the Remember password pop up when you access my account of remailers

    When I opened my e-mail account option remember password appears. How can I stop this?

    There are two scenarios of your problem:

    (1) IF you do not want Firefox to remember your user name and passwords for any Web site, follow these steps:

    • Click the Firefox button, and then click Options (or Menu file-> Options)
    • Security tab-> uncheck remember passwords for sites
    • Click OK in the Options window

    (2) IF you want Firefox remember your user name and passwords, but you don't want to save them for some specific Web sites (in other words, if you want to ban Firefox to save your user name and passwords for some specific sites), follow these steps:

    • go to the site
    • Enter your username and password and click Sign-in or Log-in
    • When the password remember Firefox prompt, click the Remember password for the menu drop down and select never save password for this Site
    • Make Firefox remember names of users and passwords

    Check and tell if its working.

    Not related to your problem but your Flash plugin is quite old. You need to update.

    During the installation of the Plugins download files hotfix, remove the check mark to download any other software options with your Plugins (for example, toolbars, McAfee, Google Chrome, etc.)

    -> Update all of your Firefox Plugins

  • How to adjust the sound to play continuously when you listen to the Radio station

    When I play a radio station on computer it keeps cutting off after that about 15 minutes and then I have to move the mouse to start the music

    When I play a radio station on computer it keeps cutting off after that about 15 minutes and then I have to move the mouse to start the music.  How to adjust the sound so that it can play continuousley?  Thank you

    Check the control panel | Power options and try to disable the screen saver and see if that fixes the problem.  If not, try to address some of the other power options to keep things to turn off automatically if the computer is not in use (if it's just to play music with no user interactivity, and which is considered to be not used by power options).

    Steve

  • How to revive the FPGA windows vi vi when you use Crio

    I want to know how to revive the Fpga vi who had stopped to host Windows vi. I want the fpga vi again by host vi again.

    When you open a reference for the FPGA VI, then you can use a method to run the VI.

  • How to set the user name and password when you use the class for SOCKS5 Proxy?

    Hi all

    I use the proxy class for SOCKS5, so need to set the user name and password, I can't find where I put the value. If the API support.

    Thanks in advance!

    Exactly how to repeat the question five times ater, we told you the answer would erase anything? A: this isn't. This irritates just the hell out of people. Irritating the hell of those who's trying to help you is not rational behavior either.

    I have no idea on the support of third-party for transmission by proxy via NIO.

  • How to disable the address drop-down list when you write a new?

    I don't want my previous addresses drop-down list when I start to write a new one.

    • Firefox (Tools) > Options > privacy > address bar: when you use the location bar, suggest: nothing
  • How to change the IP host address list when you connect in the vSphere client?

    Is it possible to edit the list of hosts/ip I get when connecting in the vSphere client?

    ScreenShot022.png

    Thank you!

    As far as I know it is possible by editing the registry. The key you are looking for is HKEY_CURRENT_USER\Software\VMware\VMware Infrastructure Client\Preferences\RecentConnections

    André

  • How to clear the text < tr:inputText component when you click on

    Hello

    I have a component inputText in my page with the default "search for" and when I click on it to enter something, it should be cleared.

    Please suggest me a way to do this. That am using components of tr I can't use clientListener for that I guess.

    Help, please.

    Thank you
    Hari

    You can use trh:script
    http://MyFaces.Apache.org/Trinidad/Trinidad-API/tagdoc/trh_script.html

  • Adding printer series HP PSC2100 via the IP Port, type of printer does not show on the list of devices even when you are using the factory supplied driver disk.

    Installation D-Link DP-301U network home of three computers. I am able to access the printers using its IP address, Setup has worked with Vista Ultimate system but two systems of Windows XP Pro (SP3) does not Printer series HP PSC2100 list when you use the 'Disk' during installation radio button. Is there a work around or Microsoft drivers to resolve this error?

    Hello William51,

    Thank you for your message.  Try the following steps to add your printer.
    Click "Start" > select "printers and faxes".
    Click on 'Add printer' > click 'Next' > select ' local printer, and then make sure that detect automatically is disabled
    Select "Create a new Port" and the arrow down to "Standard TCP/IP Port" > click "next".
    Click "next".
    Type the IP address and click on 'Next' > 'Finish '.
    You must then install the driver/software for your device.  You can use "Have Disk", download from website, or find your model.
    Please let us know if it did or did not help to solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • How to avoid the af:dialog of showed when af:table is empty?

    Hello

    Is it possible to disable af:dialog if the table has no records? And re - activate when adding new records... ?

    And also a supplementary question on af:dialog, how do I close the dialog box after my personal touch?

    Thank you

    Hello

    Add partial refresh button by setting the property partialTriggers to the id of the table. If he was already added and you use Jdev 11 g, use the visible property instead rendered property.

    Jean Lou

  • How to manage the padding issue & bytes - ordering when you change the resource (PiPL) file in windows?

    Hi all

    I just started programming sdk photoshop. I noticed that the resources provided by Adobe Guide recommends to develop dialogs using Mac ground language and converting it into window using the CNVTPIPL resource file. EXE. If you use a windows resource editor, padding and byte-ordered issue must be handled by the programmer himself. Since I'm not sure what is the architectural differences between a PC and a Mac, can someone explain to me exactly how padding and byte-ording problems are handled under the windows resource editor? It would be good if there is no concrete example.

    Thanks for any help!

    You really shouldn't edit resources directly if you can avoid it.

    Simply modify the .rc files or Betty and recompile.

    Macintosh, used to use the big-endian byte order, but didn't for several years because they switched to Intel processors.

  • How to change the width of key column when you view files in the Explorer window?

    Can someone help me with this one major annoyance I have with Vista?

    I opened an Explorer window and I want to resize the first column, so I can see the full file name.  (First I accidentally spend whole column name because I can't seem to find my mouse to keep the resizing grabber.)   Now that I have the desired column width, is it possible to make the column width by default for all future Explorer Windows I open?   I've grown very tired of having to resize this column whenever I open an Explorer window.

    Thank you!

    CTRL-click this link to read a thread of responses on increasing you the Vista folder settings memory.

    My user folder moves around:

    Here's another on a good tutorial

    View of folders:

    Messages rating helps other users

    Mark L. Ferguson MS - MVP

Maybe you are looking for