To update the schema in the data pump

Hello

Database version: 11.2.0.1.0

Is that we can update the schema in the database without creating the similar to the network mode dump file

for example

I have a DB 1 database to say, it contains two schema Test and production, we can update the test with production data without creating the dump file in the database server.

the whole idea is to perform the export and import data in a single step here to reduce the time and human intervention.

Currently, I've followed the steps below:

(1) export of production data

(2) file the test schema

(3) create a diagram of the test

(4) import production data in the test schema

Thank you

Sery

Hello

It is possible.,.

SQL > create public database link impdpt connect to the SYSTEM identified by abc123 using 'DG1 ';

Database link created.

SQL >

-----

Directory of system/abc123 impdp [oracle@prima admin] $ = network_link = impdpt schemas = hr remap_schema hr:hrtn logfile = test_same.log = DATA_PUMP_DIR

Import: Release 11.2.0.4.0 - Production on Tue Dec 29 02:53:24 2015

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

With partitioning, OLAP, Data Mining and Real Application Testing options

Start "SYSTEM". "" SYS_IMPORT_SCHEMA_01 ": System / * Directory = network_link = impdpt schemas = hr remap_schema hr:hrtn logfile = test_same.log = DATA_PUMP_DIR

Current estimation using BLOCKS method...

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 448 KB

Processing object type SCHEMA_EXPORT/USER

Processing object type SCHEMA_EXPORT/SYSTEM_GRANT

Processing object type SCHEMA_EXPORT/ROLE_GRANT

Processing object type SCHEMA_EXPORT/DEFAULT_ROLE

Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

Object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE of treatment

Object type SCHEMA_EXPORT/TABLE/TABLE processing

. . imported "HRTN. "" COUNTRY "25 lines

. . imported "HRTN. "' DEPARTMENTS ' 27 lines

. . imported "HRTN. "' EMPLOYEES ' 107 lines

. . imported "HRTN. "JOBS"19 ranks. "

. . imported "HRTN. "" JOB_HISTORY "10 lines

. . imported "HRTN. "" LOCATIONS "23 lines

. . imported "HRTN. "The REGIONS"4 lines.

Processing object type SCHEMA_EXPORT/TABLE/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRANT

Object type SCHEMA_EXPORT/TABLE/COMMENT of treatment

Object type SCHEMA_EXPORT/PROCEDURE/treatment PROCEDURE

Object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE processing

Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment

Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment

Object type SCHEMA_EXPORT/VIEW/VIEW processing

Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment

Object type SCHEMA_EXPORT/TABLE/TRIGGER processing

Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment

Work 'SYSTEM '. "' SYS_IMPORT_SCHEMA_01 ' completed Fri Dec 29 02:54:09 2015 elapsed 0 00:00:44

[oracle@prima admin] $

Tags: Database

Similar Questions

  • migration from 10g to 12 c using the data pump in

    Hi, while I used the data pump at the level of the schema before, I'm relatively new to the full database import.

    We are trying a full database migration to 10.2.0.4 to 12 c using the complete method of database data pump over db link.

    the DBA has indicated to avoid move SYSAUX and SYSTEM objects. but initially during the documentation review, it appeared that these objects are not exported since the TRANSPORTABLE given target = system NEVER. If anyone can confirm this? done import and export log refers to the objects I thought would not:

    ...

    19:41:11.684 23 FEBRUARY 15:Estimated TABLE_DATA 3718 objects in 77 seconds

    19:41:12.450 23 February 15: total estimation using BLOCKS method: 52,93 GB

    19:41:14.058 23 February 15: object DATABASE_EXPORT/TABLESPACE of treatment type

    20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'UNDOTBS1' already exists

    20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'SYSAUX' already exists

    20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'TEMP' already exists

    20:10:33.185 23 February 15: ORA-31684: TABLESPACE object type: 'USERS' existing

    20:10:33.200 23 FEBRUARY 15:96 objects TABLESPACE finished in 1759 seconds

    20:10:33.208 23 February 15: treatment of type of object DATABASE_EXPORT/PROFILE

    20:10:33.445 23 FEBRUARY 15:7 PROFILE items finished in 1 seconds

    20:10:33.453 23 February 15: treatment of DATABASE_EXPORT/SYS_USER/USER object type

    20:10:33.842 23 FEBRUARY 15:1 USER objects ended in 0 seconds

    20:10:33.852 23 February 15: treatment of DATABASE_EXPORT/SCHEMA/USER object type

    20:10:52.368 23 February 15: ORA-31684: USER object type: 'OUTLN' already exists

    20:10:52.368 23 February 15: ORA-31684: USER object type: 'ANONYMOUS' already exists

    20:10:52.368 23 February 15: ORA-31684: USER object type: 'OLAPSYS' already exists

    20:10:52.368 23 February 15: ORA-31684: USER object type: 'MDDATA' already exists

    20:10:52.368 23 February 15: ORA-31684: USER object type: 'SCOTT' already exists

    20:10:52.368 23 February 15: ORA-31684: USER object type: 'LLTEST' already exists

    20:10:52.372 23 FEBRUARY 15:Finished objects USER 1140 in 19 seconds

    20:10:52.375 23 February 15: object DATABASE_EXPORT/ROLE of treatment type

    20:10:55.255 23 February 15: ORA-31684: object ROLE type: 'SELECT_CATALOG_ROLE' already exists

    20:10:55.255 23 February 15: ORA-31684: object ROLE type: 'EXECUTE_CATALOG_ROLE' already exists

    20:10:55.255 23 February 15: ORA-31684: object ROLE type: 'DELETE_CATALOG_ROLE' already exists

    20:10:55.256 23 February 15: ORA-31684: object ROLE type: 'RECOVERY_CATALOG_OWNER' already exists

    ...

    the most insight.

    The schema SYS, CTXSYS and MDSYS ORDSYS are not exported using exp/expdp

    DOC - ID: Note: 228482.1

    I guess that he has already installed a 12 c software and created an itseems database - so when you have imported you have this "already exists."

    Every time the database is created and the software installed by default system, sys, sysaux will be created.

  • Follow the progress of the import of the data pump network?

    I'm on Oracle 10.2.0.4 (SunOS) and execution of an import of network data pump from a list of tables in a schema.

    I see that the following views are available to track the data pump tasks:

    DBA_DATAPUMP_JOBS - a list and the status of the data pump jobs running
    DBA_DATAPUMP_SESSIONS - list of user sessions attached to each data pump task (which may be attached to the session of v$)
    DBA_RESUMABLE - See labor being imported and its status
    V$ SESSION_LONGOPS - can see the total size of imports and the elapsed time for work of pump data if they run long enough

    What other options are available for the increase in imports of network monitoring?
    Also, is it possible to see at which table is being processed for a network of several tables import?

    That would have helped. :^)

    When you run a job, if you do not specify a task name, then it will generate one for you. In your case, I don't see a name of the specified job, it seems that one would be generated. The generated name looks like:

    SYS_IMPORT_FULL_01 if a plenty to do
    SYS_IMPORT_SCHEMA_01 if make a diagram
    SYS_IMPORT_TABLE_01 if a table
    SYS_IMPROT_TRANSPORTABLE_01 if you are using the transportable tablespace.

    01 is the first array to create. If there is a second job while this job is currently running, it will be 02. The number can also be moved if the job fails, and is not cleaned. In your case, you make a table, so the default task name would be something like:

    SYS_IMPORT_TABLE_01 and lets say you ran this with the diagram of the SYSTEM.

    In this case, you can run this command:

    Impdp system/password attach = system.sys_import_table_01

    This will bring you to the datapump prompt, where you can type in the location or status 10, etc..

    Dean

  • update date and time for 3.6 numbers does not show the time and does not automatically update the date

    The 'update date and time"for numbers of 3.6 does not show the time and does not automatically update the date.  What should I do?  Thank you.

    Hi david,

    where do you find ' update of the date and time.

    Quinn

  • BlackBerry smartphones, I am able to update the Date and time on WiFi?

    With a 9800 smartphone (3g, WiFi) 6.0 Bundle 278 (v6.0.0.141, platform 6.4.0.64)

    I'm running a few tests with my camera and I took out my Sim Card. I would like to know if I can update the Date and time on WiFi only?

    Note, I am able to navigate successfully.

    No, you can't do a simple navigation with wifi only

    Update on time is made by the carrier or by the RIM servers. No SIM means no access to these data.

  • update set to update the data in the database.

    At what stage of the treatment I have to use a rule to update to apply logic to the way the data are updated in the database?

    Hello

    You can use the update rule to update the data in the database.

    Thank you

    edynamic Experts Eloqua

  • custome, update the date process

    Hello everyone,

    I have a page with the box where the user can select a record and update the record by pressing the button.

    I have three processes, and each of these process to update a field (which is a date field) of the page by pressing the specific button. The three processes are:

    declare

    Start

    I'm looping 1.apex_application.g_f01.count


    UPDATE REC_RET_ADD_RECORD

    SET DATE_ADMIN_APPROVED =: P8_DATE_ADMIN_APPROVED

    WHERE REC_RET_ID = APEX_APPLICATION. G_F01 (I);

    end loop;

    commit;

    end;

    Condition: When you press the button (submit) Admin

    The second process:

    declare

    Start

    I'm looping 1.apex_application.g_f01.count


    UPDATE REC_RET_ADD_RECORD

    SET DATE_COMMITTEE_APPROVED =: P8_DATE_COMMITTEE_APPROVED

    WHERE REC_RET_ID = APEX_APPLICATION. G_F01 (I);

    end loop;

    commit;

    end;

    Condition: When you press the button (submit) Committee

    The third method:

    declare

    Start

    I'm looping 1.apex_application.g_f01.count

    UPDATE REC_RET_ADD_RECORD

    SET DATE_OHS_APPROVED =: P8_DATE_OHS_APPROVED

    WHERE REC_RET_ID = APEX_APPLICATION. G_F01 (I);

    end loop;

    commit;

    end;

    Condition: When you press the button (submit) OSH

    Now the problem is, when the user selects the row and selects the date for the Admin field and press the button Admin, the system inserts the date, but after that, if the user wants to choose the same line and update the date of OSH, the system will remove the date for the Admin field and enters the date of OSH in the verse of field and visa OSH.

    I don't know why this is happening. Could you please help me. I appreciate it.

    As you say, you have three buttons, get the names of all three buttons. (I mean the names of the buttons that are unique per page and not the labels. Do not confuse between the labels and the button names)

    Go to each of your processes, make button no condition

    Go to block of condition and select request = e1

    In each respective process enter the exact button names

  • differences between the Data Pump to back up the database and use RMAN?

    What are the differences between the Data Pump to back up the database and use RMAN? What is DISADVANTAGES and BENEFITS?

    Thank you

    Search for the backup of the database in

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/backrec.htm#i1007289

    In brief

    RMAN-> physical backup. (copies of the physical database files)

    DataPump-> logical backup. (logical data such as tables, procedures)

    Docs for RMAN-

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmcncpt.htm#

    Datapump docs

    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_overview.htm

    Published by: Sunny kichloo on July 5, 2012 06:55

  • need to update the date of the end of the user using the API of the IOM

    We have a requirement where we need to update the date of the end of the user. The details of the user as usr_key, number of days to extend (such as 30 days or 60 days), and affects manager is provided by SOA (maybe by BPEL). In the java class, I need to add the number of days of the closing date of the user and then update the table of the usr by IOM API method - usrMap.put ("USR_END_DATE", updatedEndDate);

    I wrote a small program, but it has erros. Please help me in this situation.
    ' public boolean updateEnddate (String usrKey, String managerKey, String NombreJours) {}
    Boolean result = false;
    String NombreJours;
    int totalNumUsers = 0;
    HashMap usrMap = new HashMap();
    usrMap.put ("Users.Key", usrKey);
    usrMap.put ("USR_MANAGER_KEY", managerKey);
    try {}
    DateFormat sdfSource = new SimpleDateFormat("yyyy-MM-dd");
    Date date = sdfSource.parse("USR_END_DATE");
    SimpleDateFormat sdfDestination = new SimpleDateFormat("dd-MMM-yyyy");
    String userEndDate = sdfDestination.format (date);
    tcResultSet = this.usrIntf.findUsers (usrMap) users;
    totalNumUsers = usersList.getRowCount ();
    If (totalNumUsers > 0)
    for (int i = 0; i < totalNumUsers; i ++) {}
    usersList.goToRow (i);
    updatedEndDate = userEndDate + NombreJours;
    usrMap.put ("USR_END_DATE", updatedEndDate);
    this.usrIntf.updateUser (users, usrMap);
    result = true;
    }
    on the other
    result = true;
    }




    Thank you
    Kalpana.

    Calculate the new date

    /**
    * This method is used to obtain the new date after adding x-days
    @param strDate - date today
    @param daysToAdd - x-days
    * @return Nouvelle_date - date after the addition of x days
    */
    private String incrementDate (Date strDate, int daysToAdd) {}
    Start date
    Logger.info("NotifyLastDayOfService::incrementDate(): entrez»);
    SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-DD 00:00:00");
    Dim str As String = sdf.format (strDate);
    Calendar c = Calendar.GetInstance ();
    try {}
    c.setTime (sdf.parse (str));
    } catch (ParseException exception) e {}
    e.printStackTrace ();
    }
    c.Add (Calendar.DATE, daysToAdd); number of days to add
    String PROMOTIONDate = sdf.format (c.getTime ());
    System.out.println ("calculated End Date:" + PROMOTIONDate);
    Logger.info("NotifyLastDayOfService::incrementDate(): sortie»);
    return Nouvelle_date;
    }

    This should solve your problem :)

  • How can I update the date cancellation in usr table IOM

    Hello

    I wrote a process task adapter which will return a date. I want to map this date with Deprovisioning return date to the table of the USR.

    While you map this date of return to definition by the user, I don't see the option 'Date of Deprovisioning' playoff from the drop-down list.

    So how can I map this date back to the date of cancellation?

    Basically I want to update USR_DEPROVISIONING_DATE with the date of return of my adapter to process task?

    Pls suggest.

    Thank you

    It may be useful

    Unable to update the dates of start/end with updateUser API

  • Unable to update the dates of start/end with updateUser API

    Hi all

    I'm trying to update the dates of beginning and end using the updateUser API, but the dates are not defined. I know the updateUser call works because I tested it by changing the user's first name and it worked fine (checked by the IOM web app). Here is the code I use to update as well as the values of the sample that I use. No exception is thrown either. I have no idea what can be the problem. Also, one of my customer request must also display the time when these values where it is updated (via a custom web application that I am building). Is - is this posible? Before I received the time where the call to userUpdate was made and adding that the values would lie in the hash table, but started using 0 for the time since that's what I read on a thread on this forum (Re: (IOM) Timestamp format must be yyyy-mm-dd... )

    /*
    Examples of values
    startDate = 2010-11-08
    endDate = 2010-12-09
    */


    String startDateStr = startDate.toString () + "00:00:00.000";
    String endDateStr = endDate.toString () + "00:00:00.000";

    /*
    impression of the channels above
    startDateStr = 00:00:00.000 2010-11-08
    endDateStr = the 00:00:00.000 2010-12-09
    */

    AttrValues Hashtable < String, String > = new Hashtable < String, String > ();
    attrValues.put ("Users.Start", activateDateStr);
    attrValues.put ("Users.End", inactivateDateStr);
    usrOps.updateUser (rsUser, attrValues);


    Please help me out I was stuck on this problem too long.

    Thank you!
    -J' I

    Published by: cri_cri_99 on June 23, 2009 12:46

    It works fine for me.

    Map strDate = new HashMap();
    strDate.put ("Date of Users.Start", "' * 12:01:56.000000000 2009-06-24 * '");
    moUserUtility.updateUser (userResultSet, strDate);

    It will show you in DB as * 24 June 09 *. I don't understand what you are asking for more in your thread.

    But updateUser API works with this format. If you found the time to some application, convert to this format and run.

    If you need help, let me know.

    Published by: Arnaud

  • Error message when you try to update the date of birth for child

    My kids already have Apple Id.

    I'll put up the family sharing and added them to the family using their Apple ID.

    The year of birth is not associated with their profile (guess it was not necessary at the time to create the profiles).

    So I try to update the year of birth, following the instructions provided on several Apple Support pages, for example Apple for your child - Apple Support and sharing of the family IDthat says: "If your child already has an Apple ID, you can update their email address, date of birth, Securityand more."  (date of birth = > link: date of birth associated with update to your Apple - Apple Support ID)

    BUT regardless of where and how I'm trying to update the birth year, I get the error message, it can not be updated at the moment...

    (screenshot Danish text)

    How to upgrade to the year of birth? Or when it will be possible to do the update?

    Kind regards

    Michael

    I understand that your child has had to date and that you will allow once you have received approval

  • LabVIEW makes my web page hang when it updates the data of access database

    Hello

    I'm working on labview (signal acquisition and insertion into a database) and visual studio (Web page design) and I faced this problem when the Web page tries to update the database of microsoft Data Access.

    Whenever I VI, DQA will acquire analog input from a circuit and pass the value in a database for the Web page retrieve and update and display the latest data on the Web page. But for some reason, whenever I run the VI, the data refresh is is arrested to the Web page and updates only when I stopped the vi and whenever I try to refresh the page, it will display a runtime error. I wonder if it is possible to do the update of page Web in real time instead of simply update that when the vi is stopped and what are the causes the Web page to stop the update (labview Web side/page side).

    I use IIS to host the Web page and labview 8.6/toolkit database connectivity for data acquisition and store it in the access database.

    In my view, that it is a limitation of the Jet database. If I remember, Jet uses the locking of the 'page '. Exactly the same thing happened to me on a large scale with several testers. The solution was to use a sophiticated more like MySQL or SQL Server Express database.

  • Impossible to update the data, i.e. no album covers

    When I find a medium such as a new rip cd, none of the album covers appear, no somg name or the information album burn the CD.  I tried to rebuild the library with no luck.  I can't manually display of information.  After that I sent the data, it returns to the unknown state.  And even though I have the album cover in the folder it atill is not updated.  If I use the option 'Finding information' automated, he finds the correct album, but after confirming the correct data, it always comes back to a stranger.  Help please.  With the help of MS 7 Home Premiun and latest version of media player 12

    Hello

    I am pleased that the issue is resolved. In the future if you face any problem windows let us know.
  • How to use the web service to update the data?

    Hi team,

    Need help in establishing a procedure for updating data using the web service, in the first instance, I think that it's the same reading webservice but I will produce an error:

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    using this tag soap_request.

    < ns1:Request >

    < ns1:header >

    < ns1:InterfaceName > OSMMVNECreateOrder < / ns1:InterfaceName >

    < ns1:InterfaceId > OSM - XXX < / ns1:InterfaceId >

    < ns1:CorrelationId > TEST-06262015 < / ns1:CorrelationId >

    < / ns1:header >

    < ns1:Mvno > MTI < / ns1:Mvno >

    < ns1:orderId > < / ns1:orderId >

    < ns1:orderType > CHANGE_STATUS < / ns1:orderType >

    < ns1:orderDetails >

    < ns1:subscriberId > 9469273 < / ns1:subscriberId >

    < ns1:newStatusId > 2 < / ns1:newStatusId >

    < / ns1:orderDetails >

    < / ns1:Request >

    the < ns1:subscriberId > 9469273 < / ns1:subscriberId > the Subscriber must search and

    < ns1:newStatusId > 2 < / ns1:newStatusId > will replace the current state.



    any suggestion on how to do it?



    Best regards

    Nelz Ki

    There is no difference between calling a web service to write data, against the appellant for reading data. SOAP is SOAP. He cares not.

    Example to interact with a web service is in Re: PLSQL webservice call

    Regarding your error - stack display Tower full of error to see what said the trace of the error. The data you've posted unfortunately no sense to isolate the error.

Maybe you are looking for