Maintaining the integrity of the data so that the migration of data from different environment

Hello

In Oracle 11r2,.

We work in an environment were we have need to migrate data from one environment to the other.

The data is stored in 5 tables that has data integrity constraints (foreign keys).

They use keys of substitution for the primary key.

These keys are populated by sequences.

Export is not a problem.

Importing is.

The challenge is that surrogate keys (sequence numbers) may have already been used in the new environment.

Thus, we would need assign new surrogate keys of the sequence for the imported data without compromising the integrity of the data in the parent-child relationships.

We need the integrity of the data in this process.

We need the process to be fast.

We are looking for advice if data pump might solve our problem or if a script internal or a mixture of both is required.

Perhaps other tools exist to achieve this goal.

Any ideas or suggestions would be greatly appreciated.

Thank you

Yan Pachebat

It would be instead of data pump.  11g Release 2 added the function REMAP_DATA, which will allow you to incorporate something like this into a data pump process.  It was not available at the time I did my scripts 11.1.

http://download.Oracle.com/otndocs/products/database/enterprise_edition/utilities/PDF/datapump11g2_transform_1009.PDF

Tags: Database

Similar Questions

  • Import data from different DBs to HFM Application using FDQM

    Hi gurus

    1. how to import data from different databases to HFM Application using FDQM?
    Do we need to write scripts for integration in FDQM, or is there an alternative method, we need to do?

    concerning
    Dev

    Data import is long to explain,

    To be more precise,
    1. you would establish a connection with your source systems and destination where you pull the data.
    You can do this by registering adapters of integration for send_break_action source machines
    2. you would then upward some formats for importing, maps and tables of control.
    Please go through the Administrator's guide,

    One of the experts will help you better understand.

    Kind regards

    David Martin

  • How can I use notifications to send data from different sources for the same chart?

    Hello

    I use the model of 'Continuous measurement and logging' project comes with LV 2013.

    It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

    I ran into a snag though.

    I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

    I have trouble getting the data from the two sources to display on one graph.

    I've isolated the problem in the attached vi.

    Here's what happens:

    1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

    2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

    Can anyone suggest how can I fix?

    Thank you.

    -Matt

    Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

    The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

    Lynn

  • Synchronization of data from different sample of data acquisition rate

    I use a high RT 8135.  I'm sampling of signals from analog pressure thermocouples to 20 ms and 10 ms.  I use the stream network to transfer the data from the SMU on my host.  I would like to be able to synchronize the timestamps of all data to the 1ms sampling note and record in a file.

    Search in the file my sampling data 10ms end timestamp does not match the timestamp of 20ms, missing data... I know you have empty queues to get the rest data but is possible to interpolate any data to adapt a unique timestamp?

    Thank you!

    Hi aokada09,

    Looks like you are facing problems resulting from parallel execution two loops you have.  There is nothing necessarily bind the two loops together, so that each of them an iteration at the rates you specified, but are allowed to start each software (sort of random) dictates that they start.

    To get a solid synchronization, share a sample between the two measures clock, but run the sample clock at 100 Hz for 50 Hz for thermocouple measurement and pressure measurement.  You should be able to use shared inside the SMU chassis backplane clock.  This will be as close as possible to synchronize without using a card of timing.  The only real source of delay/tilt between readings at this point is the physical distance that must travel the clock signal. This will not lead to steep, but there will certainly be some (probably on the scale of the high-nanoseconds or microseconds bass).  This article gives more information about the synchronization and the sample clock:

    http://www.NI.com/white-paper/11369/en/

  • How to create views of data from different databases tables in2

    Using Oracle 10.2 g

    I have 2 databases Gus and the haggis on schema Comqdhb.

    Glink indicates a link of database between Haggis and Gus

    In Gus, there is school that contains columns with same name upn, grade, subject, student of tables...

    STUDENT
    UPN
    academicYear

    Object

    Object

    GRADE
    examlevel
    grade

    SCHOOL
    SN

    In HAGGIS raising tables, grade, teacher containing columns upn... desc below.

    STUDENT
    UPN

    GRADE
    grade
    UPN
    academicyear
    level



    Create views in your database HAGGIS who join their all the qualities of the review. You should have a point of view that will produce the following relationship:
    examGrade (upn, subject, examlevel, sn, rank, academicYear)

    So I need to create a view that gets the data from the tables in the databases.

    create view as examGrade (upn, subject, examlevel, sn, rank, academicYear) like some s.upn


    But I don't get the selection of a column of 2 tables in different databases

    I mean if I said

    Select the UPN in comqdhb.student@glink,comqdhb.student;
    Select the upn name in comqdhb.student@glink,comqdhb.student
    *
    ERROR on line 1:
    ORA-00918: column ambiguously defined

    Help me, thank you.

    Hello

    Rider wrote:
    The issue is that I can't understand that I should create the view by the union of the haggis and the two gus data or only haggis.
    the reason I believe I need to combine the two is mentioned * "" create views in your database schema HAGGIS who join their all the qualities of the review. ". *
    By the mention of creating views and who join their all the qualities of the review, it probably means to obtain the data of the GUS and HAGGIS.

    This is my interpretation of the assignment, too.
    If you ask just the tables on Gus, you will get the ranks of three of the four schools: it's not all examination classes.
    If you ask just the tables on Haggis, you will get the ranks of any of the four schools: it's not all examination classes.

    2nd prob is that if have decided to create a view that gets the data from these two gus and therer haggis would be a lot of duplication involved due to the cross product

    Why would there be "repetition involved due to the cross-product"?
    If the quuery of Gus produces 100 lines, the request of product Haggis 30 rows, then the UNION of the two will have 100 + 30 = 130 lines (assuming, as you say, each student is at school only one).

    the query I wrote is

    Create view examGrade (upn, subject, examlevel, sn, rank, academicYear)
    as
    Select distinct s.upn as upn, g.subject as topic,
    g."LEVEL" as examlevel, g.grade as rank, to_number (g.academicyear) as academicyear
    of s comqdhb.student, comqdhb.grade g
    s.UPN, sb.subject, g.elevel, g.grade, s.acyr select Union
    of comqdhb.subject@glink sb,comqdhb.student@glink s,comqdhb.gradevalues@glink g;

    You should not write, not to mention not formatted zip code. I have a little time I can devote to answering questions in the forum. Do you want me
    b spend this time formatting your code, so I can understand the question, and no time to answer, or
    b spend only a little time reading understanding your code and spend most of my time to help you?
    I would prefer (b), but the choice is yours.
    See the statement that I posted in my last post for an example of the formatted code. You see how it appears in a box with a police fixed-width, and multiple spaces are printed? This is because I typed {code} (all small letters), before and after the section I wanted formatted.

    At least put each table in the FROM clause on a separate line, so it is easy to know if you have enough join conditions.
    If you have N tables in the FROM clause, you almost always have at least N-1 join conditions that specify how the tables are linked together. For example, if talk you about two tables, quality and student, you expect to see a join condition that tells you when you have data in a table, how to find related data in the other table, such as

    g_gus.upn = s_gus.upn
    

    No no no join conditions will cause "repetition involved due to the cross product.

    I downloaded my info here
    http://www.upload4free.com/download.php?file=44201983-School_ExamGrades.PDF


    http://www.upload4free.com/download.php?file=184648736-ExamGrades_Case_Study_2008FINAL.PDF

    Sorry, if there is data as long as you can't post here, there is much too much for me to read.
    Make a sample set, containing a few (maybe five) students and a few shades of each student. It is fine to copy a few lines of your actual data.

    That's all the time I have for today. I can't wait to get the data and formatted requests.

  • To access data from different pages

    Hello

    I want to know who, how to access data from an html page to another html page using Javascript or HTML5?

    Thank you and best regards,

    Tejas

    After the installation of new WebWorksSDk, my problem is resolved automatically...

  • How to load data from different tables, but record to another table?

    Hi all

    I use the apex and I understand how it updates and saves the files normally.

    In this case, I would need to load from a table, but save on another Board on the button "submit".

    I am aware that it would be easy as forms where I could do a manual insert process. im making in tabular form and I don't really know how to handle this process.

    Suppose that I am loading a set of questionnaires in the form of tables and have a yes / no selection.

    If the questions would come from table A and I need to save it in table B.

    in this case that I can't put just the value default by the tabular row for questions coz it would be dynamic and this example is on a small scale. I would need to load the table A and record in table B.

    could someone guide me on this operation or provide tutorials any?

    Maybe that's what you're after.

    (1) create region report using SQL like this:

    Select apex_item.hidden(1,rownum).

    apex_item.display_and_save(2,question_column) in Question,

    apex_item. Text(3,,4,4) as answer

    from table_a

    apex_item documentation of package found:

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/apex_item.htm

    The pidx (first number) in each apex_item parameter is used to identify this item in the same row of the report' / tabular form.

    (2) create a submit in procedure a bit like that.

    Start

    because I 1.apex_application.g_f01.count loop - identifies the "apex_item.hidden(1,rownum)" at the top and gets a count of how many times it occurs

    Insert into table_b (question, answer)

    values (apex_application.g_f02 (i), apex_application.g_f03 (i));

    end loop;

    end;

  • How to ensure the separation of data from different types of data for ESXi 4?

    Does anyone have a reference architecture to ensure the separation of the point of creating data in transit and storage of different types of dataexample PCI DSS data (personal credit card), data ITAR/EAR, etc.  Concern is due to the mix of data VLAN or crossed, VLAN themselves not to use as a security boundary.  VMware offers to ensure the separation at the application levelif I read it correctlywell in transit even in stockdata must be separated.  Suggestions?

    Hello VMwear8,

    The chances of anyone to play with the hypervisor itself is actually quite thin, what must be addressed is the data accessed in virtual machines. If you need protect administrators to access these data.

    Right now that is not possible to 100%, however you can restrict access by implementing different controls:

    (1) execute all access to your ESX hosts and vCenter via the HyTrust appliance, this is a preventive measure in some cases.

    (2) turn off the navigation data store in the vSphere Client (this is a RBAC vCenter)

    (3) turn off 'root' or superuser for each ESX host (except in a situation of "break the glass"). If they need access 'root' follow it via sudo.

    (4) add the audit in order to know who did what, when, where and how

    (5) protect your management tools as if they were gold. Check out this post performance and security management in the virtual environment tools as an aid to help with this.

    At most you can only put controls around the problem, we can not currently permanently prohibit access to one person give you access as being able to connect as root in the ESX host.

    Best regards

    Edward L. Haletky

    Host communities, VMware vExpert,

    Author: VMware vSphere and Virtual Infrastructure Security,VMware ESX and ESXi in the 2nd business edition

    Podcast: the Podcast for security virtualization of resources: the virtual virtualization library

  • Fix the rdm to VM from different subnet

    I, m in establishing an environment of OTA. Next week, I have a class of Labmanager 3 days.

    Installation program:

    vSphere Server VC: environment (10.128.0.0/16) Live subnet

    vSphere ESX server with 4 NICs

    vmnic0: 10.128.0.0/16 (environment Live subnet)

    vmnic1: 172.10.1.0/24 (subnet SAN storage)

    vmnic2: 192,168.1.0/24 (ADSL or subnet)

    vmnic3: n/d

    HP Lefthand p4000 SAN storage: 172.10.1.0/24 (SAN storage subnet)

    ProCurve 2910al switch: 172.10.1.0/24 (SAN storage subnet)

    Everything is running, with the exception of one question. I've created a few VMS on the SAN and the vSwitches needed, as you can see in the attachment.

    The problem is that I can't reach a RDM to a virtual machine in this situation. The virtual machine is in a subnet of 10.128.0.0/16.

    I have to create a portgroup vSwitch1 and add the virtual machine to the portgroup? But they would still be no connectivity... Create VIRTUAL networks?

    I do something on the ProCurve switch?

    We wil part of clone of our direct environment to the environment of the OTA, so you have to be very careful with the routing.

    How can I solve this problem?

    Thanx

    you do not need the virtual machine to be in the same subnet as the Lefthand SAN. one of the trick is that one that you have assigned servers HP CMC, you must rescan all the adapter of storage in each host, then only the iSCSI RDM is displayed when you try to do this from the Add Hardware Wizard.

    If you are prior to ESX 4.1, you will need to create a network service management console or in the iSCSI SAN.

    iDLE-jAM | SC 2, SC 3 & VCP 4

    If you have found this device or any other answer useful please consider useful or correct buttons using attribute points

  • Get the sizes of tables with the same name but from different schemas

    There are two patterns in my database: HAND and ARCH.
    Each of these schemas contains a table named SPOITEMS. I would like to get the size of the table "SPOITEMS" of patterns one and another.
    I found this script:

    Select
    nom_segment table_name,
    Sum (bytes) /(1024*1024) table_size_meg
    Of
    user_extents
    where
    segment_type = 'TABLE '.
    and
    nom_segment = "SPOITEMS".
    Table_name group

    but it returns only a single element with the name of the table "SPOITEMS" (owner ARCH).

    Any ideas?

    Thanks in advance

    I assume that you run the query in the ARK? Use ALL_EXTENTS or DBA_EXTENTS instead of USER_EXTENTS

  • Use the data from a DataSet as a source for another (the join between the sets of data)

    Hello. I come with a problem, very simple, but which I think is not implemented in the beer Pub.

    In the DataModel, I create a DataSet, providing some data (for example, a string from a web service), and after this, I create another set of data that uses this string as a parameter for a database query. Is this possible? The only link I found between the sets of data is only this concatenation of the main data set.

    Is there a way that I can do? Thank you!

    * [url http://www.java-forums.org/blogs/advanced-java/collection/] Java collection *.

    In Publisher 10 g and sooner you can use a data model to the join and the structure of data from different sources SQL.

    In Publisher, 11g, you can join data sets for which Publisher can 'know' on the data fields. For example. In addition to SQL data sets, you can reach Excel, LDAP, MDX and answers. Web Services, like XML file are data sets that editor does not know the data fields, so unfortunately, no way to join them... I know.

    Also, true that LOVs can either be SQL or data fixed (i.e. the entered values).

    Allowing the Web Service as a source of LOV or a way to define data fields, it's something for us to consider for a future version.

    Mike

  • maintain the index ID between files

    Is it possible to copy a table from one file to the other and maintain the indexes on this table id?

    Mike

    In theory, no. The index seems to be the nth number of tables, where the first in your document is always 0 #, the #1 second and so on. If you copy the #1 table in another document where it is the first, its index is simply to '0'.

    But all is not lost. If you need to find a table that you have created or copied previously, you can assign a unique label instead. How you would prevent the addition of a new table with the same label to your document depends entirely on where they come from (all the same document? from different documents?) and, more importantly, what your intention is.

  • How to read the data from a channel named in windows using labview

    Hello

    I need to read the channel named in windows data. The pipe is created by python by another application. This application post permanent data on the pipe. But I don't know how to read data using labview. is it possible to read the data from different application? If possible, how to start?

    Thanks in advance

    concerning

    RJ

    Hi Rolf,.

    It's just, because of driving is not initialized completely, pipe read returns error 42, I added 2 seconds late, then its work perfect.

    Thank you very much.

    Concerning

    RJ

  • Using the optical drive from the R1F tablet to install programs on first Zenbook during the migration?

    My new ASUS Zenbook premium has no optical drive. In addition to the migration of files from my ASUS R1F running XP Tablet, there are also some programs that I need to install on my Zenbook, Win8 running.  Can I use optical drive of my tablet, like a cd player outside of sorts, to install programs on my Zenbook?

    I decided to stay away from win 8, so I can't tell you if there are peculiarities with her.
    "Homegroup" networking was introduced in Windows 7 and as you pointed out, does not work with XP.

    Here are some tips to Win 7; I don't know if they are fully applicable to Win 8
    http://Windows.Microsoft.com/en-us/Windows/sharing-files-printers-help#sharing-files-and-printers=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    http://Windows.Microsoft.com/en-us/Windows7/networking-home-computers-running-different-versions-of-Windows

    http://www.howtogeek.com/HOWTO/Windows-7/share-files-and-printers-between-Windows-7-and-XP/

  • Import ASCII dates with different format

    Hello

    I need to import data from a CSV of ASCII.

    The problem is the date format in this particular data file (.csv)

    The date format for day< 10="" and="" month="" from="" jan="" to="" sep="">

    AAAA/_M/_Dthe character '_' is a simple space, not an underscore literally

    The format of the date days > = 10 and Jan to Sep month is:

    _M/JJ/AAAA

    The format of the date days > = 10 and months of Oct to dec is:

    YYYY/MM/DD

    The date format for day< 10="" and="" months="" from="" oct="" to="" dec="">

    YYYY/MM/_D

    Possible solution:

    I already create a routine that recognizes the date in the title and one of the 4 (.stp) filter uses for data processing. These are the works.

    Next problem:

    The days are separated into 2 files, a file from 09:00 to 21:00 one day and the other from 21:00 to 09:00 on the following day. It's the way I've lost data when the day changes from 9th to the 10th of each month and the month change of Sept Oct and Dec to Jan.

    I just need to delete the blankspace unconfortable before the changes of dates 2-digit, but I do not know how to deal with the before CSV imported to tiara (10.2).

    My other idea is to recognize this file and any double (once with each please) but I need to exactly position the import is not the problem with the data of novalue. (Until know I got complicated for a simple mistake of blankspace).

    I hope that you have ideas...

    Thanks in advance...

    I don't know if I understand that measures are not clear. Here's what I think you want to do:

    (1) load data from different files in DIAdem

    To do this, you must use "DataFileLoad("E:\Customer_Requests\caracasnet\log(111231).csv","caracasnet_log","Load") call.

    You call DataFileLoad for each of the files.

    (2) you want to concatenate the groups.
    This should be no different than what you've done up to now

    (3) you want to store the data in a file (TDM).
    To do this, you must call DataFileSave (...)

    Let me know if you have any other questions...

Maybe you are looking for

  • Magnetic sleeve prevents MacBook Eve or commissioning

    FYI, when using a magnetic sleeve for my MacBook, I have found that if I tried to wake up or start the laptop with the sitting underneath sleeve (on my lap, for example), then I was unable to wake the portable computer. I also found that if I moved t

  • lost games preloaded maps that came when new. I have windows xp.

    Original title: lost games? my program has lost games preloaded maps that came when new. I have windows xp. where can I get a download to replace these files?

  • spellcheck stop working on my email. only french dictionary now

    How can I replace the dictionary on my office 2007 Microsoft Word spell check to work on my msn. Messaging.

  • printing of the iMac to 5520 problems

    Hello When you try to print a document with more than 1 page of iMac to my Photosmart 5520 the first printed page (which is the last page) is fine. But all other pages are missing the 2 thirds of the page. I went to the office of support and the Memb

  • Windows Vista reboot when starting

    My PC (Toshiba) with Windows Vista Home Premium (which has worked flawlessly since 2008) guard re-initialization at startup for the past two weeks. I have not downloaded programs recently that might have caused this. Can someone tell me what could be