DBMS_DATAPUMP import into another database instance

Hi there,
i have a quick question as i didn't find an answer in my oracle documentations...
I use a PL/SQL program in a Oracle Application Express (APEX) application to import a dumpfile via the dbms_datapump API. It`s no problem to import it into the database on which APEX runs and i'm connected to in my application, but now i want to start an import of the dumpfile into another database. I know that it is possible in the commandline interface of the data pump tool to import a dumpfile from one database instance to another with a connect identifier in the connect string.
Could someone tell me where i have to put these information in the datapump API?
Fennek

Hi,
thx for the replies...
I think damorgan is right, in the meantime i read somewhere else that you appearantly cant start an import into another databse instance out of PL/SQL...
Well, maybe i will try to use dbms_scheduler to start an external script which starts the import tool like apex_disco wrote...
Fennek

Similar Messages

  • Import data backup into another DB instance

    Hello all.
    I need to import a Data Backup into Another Database instance. MaxDb version 7.3.
    On higher versions of MaxDb I performed this operation without any problems (http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/d5ebc2c9ed3ab3e10000000a422035/frameset.htm).
    For this version of MaxDB I have such problem:
    the commands don't coincide with help description, I define backup template, transfer DB instance to admin state, open utility session and try to srart recovery (there is no command db_activate RECOVER <template>)
    dbmcli on Q46>util_connect
    OK
    dbmcli on Q46>recover_start DEMO
    ERR
    -24988,ERR_SQL: sql error
    -903,Message not available,blockcount mismatch
    What I can do? How can I start recover from data backup from another DB on this version of MaxDB?

    I have tried to perform backup of original system and recovery to another database one more time.
    There is the another error:
    dbmcli on Q46>recover_start DemoD46_recover
    ERR
    -24988,ERR_SQL: sql error
    -3014,Invalid end of SQL statement

  • Help on export sybase iq tables with data and import in another database ?

    Help on export Sybase iq 16 tables with data and import into another database ?

    Hi Nilesh,
    If you have table/index create commands (DDLs), you can create them in Developper and import data using one of methods below
    Extract/ Load table
    Insert location method : require IQ servers to be entered in interfaces file
    Backup/Restore : copy entire database content
    If you have not the DDLs, you can generate them using IQ cockpit or SCC.
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01773.1604/doc/html/san1288042631955.html
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01840.1604/doc/html/san1281564927196.html
    Regards,
    Tayeb.

  • Import AWR Html report into another database

    Hello,
    Im in 11gR2, is it possible to import the AWR Html report from database 1 into another database 2?
    I would like to use ADDM from another database 2 to analyze the AWR Html report of database 1.
    Thanks,

    AWR report importing on another database
    i dont think so

  • How is data captured by an online form imported into a database?

    My understanding of forms in GoLive is that you normally send the data entered by the user, e.g. his name and address, etc, as an email to a designated address using a server side script.
    What is the usual way to handle the torrent of emails that might result from such a form? Are there any ways to automate the import of the data from these emails into a database such as MS Access?
    David

    Hi David (and Michael),
    A new version of ProcessForm is (finally) under development that will have more/better data exporting options, but currently, it can only export the data to a text file or a MySQL database. I'd assume there are similar options floating around to do similar things for MS SQL, but I don't have any specific recommendations, sorry :-(
    If nothing else, you might find something that can store form submissions in a format that's easy to later import into your database (tab text, XML, etc.)

  • Select records from one database and insert it into another database

    Hi
    I need to write a statement to select records from one database which is on machine 1 and insert these records on a table in another database which is on machine 2. Following is what I did:
    1. I created the following script on machine 2
    sqlplus remedy_intf/test@sptd @load_hrdata.sql
    2. I created the following sql statements in file called load_hrdata.sql:
    rem This script will perform the following steps
    rem 1. Delete previous HR data/table to start w/ clean import tables
    rem 2. Create database link to HR database, and
    rem 3. Create User Data import table taking info from HR
    rem 4. Drop HRP link before exiting
    SET COPYCOMMIT 100
    delete from remedy.remedy_feed;
    commit;
    COPY FROM nav/donnelley@hrp -
    INSERT INTO remedy.remedy_feed -
    (EMPLID, FIRST_NAME, MI, LAST_NAME, BUSINESS_TITLE, WORK_PHONE, -
    RRD_INTRNT_EMAIL, LOCATION, RRD_OFFICE_MAIL, RRD_BUS_UNIT_DESCR) -
    USING SELECT EMPLID, FIRST_NAME, MI, LAST_NAME, BUSINESS_TITLE, WORK_PHONE, -
    RRD_INTRNT_EMAIL, LOCATION, RRD_OFFICE_MAIL, RRD_BUS_UNIT_DESCR -
    FROM ps_rrd_intf_medium -
    where empl_status IN ('A', 'L', 'P', 'S', 'X')
    COMMIT;
    EXIT;
    However, whenever I run the statement I keep getting the following error:
    SP2-0498: missing parenthetical column list or USING keyword
    Do you have any suggestions on how I can fix this or what am I doing wrong?
    Thanks
    Ali

    This doesn't seem to relate to Adobe Reader. Please let us know the product you are using so we may redirect you or refer to the list of forums at http://forums.adobe.com/

  • Export APEX application will not import to another APEX instance

    Oracle XE 11gR2
    APEX 4.1.1
    Windows 7
    ===============
    Get the following error when trying to import (via SQL*Plus) an APEX application:
    ORA-02291: integrity constraint (APEX_040100.WWV_FLOWS_FK) violated - parent key not found
    ORA-06512: at "APEX_040100.WWW_FLOW_API", line 679
    ORA-06512: at line 3
    Used the following PL/SQL block to import APEX application:
    declare
    -- the name of the workspace in which to import -- actually your parsing schema
    t_workspace varchar2(30):= 'APEXAPP';
    -- an application number of an existing application in the workspace.
    t_existing_app number := 103;
    -- the "new" application number, an existing number will be dropped first.
    t_new_app number := 103;
    -- security group id, you don't have to set this variable
    t_secgrp_id number;
    begin
    -- get the Security Group ID
    select workspace_id
    into t_secgrp_id
    from apex_applications
    where application_id = t_existing_app;
    wwv_flow_api.set_security_group_id(p_security_group_id => t_secgrp_id);
    apex_application_install.set_application_id(t_new_app);
    apex_application_install.generate_offset;
    apex_application_install.set_schema(t_workspace);
    apex_application_install.set_application_alias('APEXAPP' );
    end;
    @C:\DEPLOY\APEX_APP.sql;
    commit;
    =====================
    I recently did an upgrade from APEX 4.0.2 to 4.1.1 but there were no apps in this particular APEX instance. Just needed an upgrade because the APEX that
    comes with Oracle XE database is 4.0.2 and we are developing with APEX 4.1.1
    Please advise. This block has been used before to deploy APEX exports.

    I'm front of the same issue.
    Did you find a solution ?
    Thanks for help.
    Fanny

  • Export Oracle tables and metadata to file for importation into another Db

    Hi all,
    In relation to past posts I'm wondering if a tool exists that allows one to export chosen table(s), along with associated metadata (hopefully automatic incorporation of associated triggers etc) to an export file and then add (import) this data to another Oracle Database?
    Looking at remote application development on specific data on a 'standalone' PC running Oracle XE at home.

    Hi,
    well there is only a version of datapump.
    You can set a 'VERSION' parameter for compatibility..
    Check this out
    http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10825/toc.htm
    It can help you. :)

  • Export from one version and import into another version

    We have a customer database that accidently got updated to 10.2.x but our application only supports 10.1.5 What we are wondering can we export the 10.2 database and import it into a new system that is at our supported version of 10.1.0.5?
    Will the import even work or will it fail with unsupported version? Any other things we should be aware of?

    ro**** wrote:
    We have a customer database that accidently got updated to 10.2.x but our application only supports 10.1.5 What we are wondering can we export the 10.2 database and import it into a new system that is at our supported version of 10.1.0.5?
    Will the import even work or will it fail with unsupported version? Any other things we should be aware of?between versions export MUST ALWAYS be done with lowest version of export utility!

  • Recover full backup into another database

    Hello,
    I have a particular need that does not seems to be done so often and I just cannot get it.
    So here is the situation : I have a backup of a full database. That means that I have the init parameter file, the autobackuped controlfile (+pfile) and the autobackuped backupset.
    The source database is release 10.2.0.5.0, RAC instance.
    On another server, I have a simple instance, same release and I would like to recover the full backup in the second database.
    I have already done that once before but I had both pfile and controlfile backuped manually and the two instances were simple ones.
    Here I have tried the same way : shutdown my target database, changing my pfile backup parameters to match the target database. Startup the target database in nomount mode using the pfile. Create spfile from pfile. Then restore controlfile from the backuped controlfile with rman.
    But here this step is a problem.
    My question is simple : what is the best way / good practices to get this working?
    Thanks in advance for your help. Ask if you need any further informations.
    Max

    Hello,
    Here is the original init pfile content :
    instdb1.__db_cache_size=1107296256
    instdb2.__db_cache_size=1023410176
    instdb2.__java_pool_size=16777216
    instdb1.__java_pool_size=16777216
    instdb2.__large_pool_size=16777216
    instdb1.__large_pool_size=16777216
    instdb1.__shared_pool_size=436207616
    instdb2.__shared_pool_size=520093696
    instdb2.__streams_pool_size=16777216
    instdb1.__streams_pool_size=16777216
    *.audit_trail='DB'
    *.background_dump_dest='/u1/app/oracle/admin/instdb/bdump'
    *.cluster_database_instances=2
    *.cluster_database=TRUE
    *.compatible='10.2.0.0.0'
    *.control_file_record_keep_time=95
    *.control_files='+DG_DATA/instdb/controlfile/backup.305.615208725','+DG_FLASH/instdb/controlfile/current.256.614223119'
    *.core_dump_dest='/u1/app/oracle/admin/instdb/cdump'
    *.db_block_size=8192
    *.db_create_file_dest='+DG_DATA'
    *.db_create_online_log_dest_1='+DG_FLASH'
    *.db_domain='inst.xx'
    *.db_file_multiblock_read_count=16
    *.db_flashback_retention_target=1440
    *.db_name='inst'
    *.db_recovery_file_dest='+DG_DATA'
    *.db_recovery_file_dest_size=53687091200
    instdb1.instance_number=1
    instdb2.instance_number=2
    *.job_queue_processes=10
    instdb1.local_listener='LISTENER_INST1.INST.XX'
    instdb2.local_listener='LISTENER_INST2.INST.XX'
    instdb1.log_archive_dest_1='LOCATION=/u1/app/oracle/admin/inst/arch_orainst1'
    instdb2.log_archive_dest_1='LOCATION=/u1/app/oracle/admin/inst/arch_orainst2'
    *.log_archive_dest_2='SERVICE=INSTB.INST.XX VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) OPTIONAL LGWR ASYNC NOAFFIRM NET_TIMEOUT=10'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='inst_%t_%s_%r.arc'
    *.max_dump_file_size='200000'
    *.open_cursors=300
    *.parallel_max_servers=20
    *.pga_aggregate_target=824180736
    *.processes=550
    instdb1.remote_listener='LISTENER_INST1.INST.XX'
    instdb2.remote_listener='LISTENER_INST2.INST.XX'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_limit=TRUE
    *.session_max_open_files=20
    *.sessions=480
    *.sga_target=1610612736
    instdb1.thread=1
    instdb2.thread=2
    *.undo_management='AUTO'
    instdb1.undo_tablespace='UNDOTBS1'
    instdb2.undo_tablespace='UNDOTBS2'
    *.user_dump_dest='/u1/app/oracle/admin/inst/udump'
    And here is the test I have done :
    *1. modified the init pfile to this :*
    inst.__db_cache_size=1107296256
    inst.__java_pool_size=16777216
    inst.__large_pool_size=16777216
    inst.__shared_pool_size=436207616
    inst.__streams_pool_size=16777216
    *.audit_trail='DB'
    *.background_dump_dest='C:\Oracle\admin\inst\bdump'
    *.compatible='10.2.0.5.0'
    *.control_file_record_keep_time=95
    *.control_files='C:\Oracle\oradata\inst\control01.ctl','C:\Oracle\oradata\inst\control02.ctl','C:\Oracle\oradata\inst\control03.ctl'
    *.core_dump_dest='C:\Oracle\admin\inst\cdump'
    *.db_block_size=8192
    *.db_create_file_dest='C:\Oracle\oradata\inst'
    *.db_create_online_log_dest_1='C:\Oracle\inst'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_flashback_retention_target=1440
    *.db_name='inst'
    *.db_recovery_file_dest='C:\Oracle\oradata'
    *.db_recovery_file_dest_size=53687091200
    *.job_queue_processes=10
    inst.log_archive_dest_1='LOCATION=C:\Oracle\oradata'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='inst_%t_%s_%r.arc'
    *.max_dump_file_size='200000'
    *.open_cursors=300
    *.parallel_max_servers=20
    *.pga_aggregate_target=824180736
    *.processes=550
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_limit=TRUE
    *.session_max_open_files=20
    *.sessions=480
    *.sga_target=1610612736
    inst.thread=1
    *.undo_management='AUTO'
    inst.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\Oracle\admin\inst\udump'
    *2. shutdown the database, startup in nomount and restore controlfile (with the error when trying to restore controlfile) :*
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup nomount pfile='C:\Oracle\init\initInst.ora';
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 1610612736 bytes
    Fixed Size 1305856 bytes
    Variable Size 369099520 bytes
    Database Buffers 1233125376 bytes
    Redo Buffers 7081984 bytes
    RMAN> restore controlfile from 'C:\Oracle\ctl\inst_ctrl_c-2972284490-20120318-00';
    Starting restore at 04-MAY-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=596 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/04/2012 14:20:12
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Thank you for your help.
    Max

  • Exporting video from one machine and then importing into another not working...

    Here is my situation:
    I wanted to import some videoes into iMovie on my Mac (OSX Lion) that my wife shot on her iPhone 4S (ios 5.x). I first synched her photos and video with iTunes/iPhoto on her machine (OSX Snow Leopard), then exported them from iPhoto onto a thumb drive. Then I imported them into iPhoto on my machine.
    The pics are fine. But the videos are not playing. iPhoto sees they are videos, but each one is like a still: there is no duration to the video when you hit the play arrow. They also will not play by clicking on them directly in a Finder window from the thumb drive. The are showing up (for example) as IMG_0133.mov, with the proper "Quicktime movie" in the "Kind" column, but each one is 1 to 1.5 MB or less, so something is up.
    Anyone know what has happened? Perhaps they don't export correctly?

    Yes, I do, and I will do that when I re-do the process tonight.
    Do I need to (or is it advisable) to export the .mov files separately?
    I admit I was in a hurry and never having done this before, I did not look closely at the options.

  • How to manage the regulatory data import into specification database?

    Hi experts,
    We have a EH&S implementation project for a distribution company which has no other sap module and very limited scope.
    They want to get the 3E data, compare and update and send/updates with vendors and customers and also inteface the data with AS 400.
    They are not willing to use  the Ariel ADM tool and any other additional licensing, due to limited scope.The 3E is sending the file in xml format. So the EH&S OCC connector could be used. but this again needs the use of ehs expert, which needs additional licensing and scope increase.
    Does anybody worked on intergrating 3E data into specifications without usig ADM and OCC?
    Regards
    Milmuk

    Thanks C.B.
    Our requirement is just to import the regulatory data for the compliance check from 3E. Once the data gets captured in specification property tree, we can utilize it further. We don't have the scope and resources to make a complex design.
    If the specification system could be able to receive the regulatory content in any other file format, we can ask 3E to provide the files in that format ( if possible). As I understand,the standard systems used are IMDS or OCC or Ariel ADM. IMDS also seems to have a separate license.
    Does anybody worked on integrating 3E/regulatory  data into specifications without using ADM and IMDS? ( very much using the standard SAP out of the box functionality). We are using ECC 6 with EhP 5.
    Regards
    Milmuk

  • Export and Import for R12 database instance (docid 741818.1)

    I have a situation where I am missing objects in CTXSYS schema and other schemas that are not exported but are required by oracle applications after my import. Is there any script I can run to recreate these objects.
    eg AD_CTX_DDL
    APPS_ARRAY_DDL
    APPS_DDL
    CS_KB_CTX_PKG. I think these are packages.
    Also I am missing certain privileges on packages given to system and application users by sys eg DBMS_SHARED_POOL. I have already executed adgrants

    eg AD_CTX_DDL
    APPS_ARRAY_DDL
    APPS_DDL
    ORA-20000 APPS_DDL/APPS_ARRAY_DDL package(s) missing or invalid in schema CTXSYS (Doc ID 944150.1)
    CS_KB_CTX_PKG. I think these are packages.Run the following scripts from $CS_TOP/patch/115/sql directory:
    cskbdstb.pls
    cskbdsts.pls
    Also I am missing certain privileges on packages given to system and application users by sys eg DBMS_SHARED_POOL. I have already executed adgrantsHave you run recreate grants and synonym from adadmin?
    Thanks,
    Hussein

  • Help export from database P1 Partition and Import into databaseT1 Partiton

    Hi,
    I need to export one of the table partition(Range Partition) data from production database P1, and Import into another table partition of database T1.
    Means export from one partiton to another partition, from database is P1, To database is T1.
    exp command not worked in sqlplus prompt at SQL>.
    Regards,
    Venkat.

    Hello,
    I don't know exactly your Oracle release, but since Oracle 10.1 you can use either the Original export/import utility (exp/imp) or the DATAPUMP (expdp/impdp) which is recommended.
    As previously posted, export/import is not launched from SQL prompt but straightly from a DOS session (for Windows) or a Unix session (on Unix/Linux).
    These links will give you example about partition-level export and import, using the Original export/import utility:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/original_export.htm#SUTIL2750
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/original_import.htm#SUTIL1758
    You have the same feature in DATAPUMP with the TABLES parameter:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_export.htm#i1006816
    Hope this help.
    Best regards,
    Jean-Valentin

  • Is it possible to export my bookmarks from Firefox and import to another instance of the browser but without any type of cookie being imported?

    For convenience I want to have my already created bookmarks imported into another Firefox user's browser. For security reasons I don't want any cookies or flash cookies to be imported when I do this and I don't want to Sync browsers. Is this possible? If so, how, or are cookies not part of the exporting of bookmark data anyway?

    You can transfer bookmarks using two different formats:
    * Backup format: if you want to preserve tags, this format can do that. However, the Restore process completely replaces all existing bookmarks with what is in the backup. If you want to merge different sets of bookmarks together, do not use this method. More info:
    ** [[Restore bookmarks from backup or move them to another computer]]
    * Export format: with this option, Firefox creates an HTML file with an ancient format compatible with most browsers. It is not as complete as the newer Backup format. More info:
    ** [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    ** [[Import Bookmarks from a HTML file]]
    Neither of these files contains cookies or passwords.

Maybe you are looking for

  • Can't Edit EPS File

    I am trying to edit an EPS file that another developer sent me but when I open it I see the objects but I can't select them or make edits to it. I attached the file, can someone look at it and see what I am overlooking please?

  • FM for getting PO details in stand alone scenario

    Hi Experts, we are running a standalone scenario in SRM we need to pull the PO details that have schedule line item schedules and item service entries. can anybody help me out. Thanks&Regards, Praveen

  • Minimum Lot Size Ignored

    Hello All, To replicate scenario, I have created new material with minimum lot size 10 pcs and created independent requirement (LSF) and then created scheduling agreement. Independent requirements as 8 pc for every day. Now when I run the MRP and che

  • QTP doesn't work with custom SparkList ItemRenderer

    I am trying to support our QA department which uses QTP for automation testing. QTP is failing miserably at recognizing custom item renderers for Spark List (and DataGroup too). There is nothing special going on in the custom item renderer. There is

  • SQL developer wont start on Mac OSX Lion

    Hi there, hoping someone can help me with this one, I've been running SQL Developer 3 on the macbook no problems for about a year, I recently upgraded to Mac OSX Lion and now when I try to start SQL Developer it will not run. I have downloaded and in