LKM to move data from one schema to another in the same DB

Hello

I am new to ODI. My question is simple:

I created a mapping to move data from a table in Figure 1 to another table in Figure 2 (the two schemas in the same Oracle DB.

What is the best LKM Oracle for performance to use in this case? Most of the LKMs using DB link... but is it really necessary that the two schemas are in the same DB?

Ive used SQL knowledge SQL module, but I guess it's probably slower strategy.

Thank you!

Vitor Moreira

Hello

If two phyiscal patterns are on the same database, you want a Phyiscal server with two patterns of phyiscal under this server in your topology, this way ODI will recognize that you don't need a LKM (at all) and mapping will have to IKM / CKM only.

If ODI is to ask a LKM, looks like the two schemas to belong to their own physical server in the topology browser? In this case, it is not optimal.

Just make sure that your user has access to two objects in diagrams and you'll be fine.

If you really want to go Oracle DB Oracle DB then DB link or Datapump for large volumes of data, JDBC/Agent (SQL for SQL) for smaller volumes.

Tags: Business Intelligence

Similar Questions

  • Best way to move data from one page to another within the app

    Hi all as I started to write that and was way to complicated to explain in full without a novel.

    Brief description. I use the query string that begins in the parent (from href in JSON) window must then be moved in the iframe url when moving to other pages to avoid security as a page and iframe is conflicting http and https. and are not accessible... It seems that there must be a better way.

    So my question is what is the best way in a platform open to move data from one page to another?

    You do it this way, it's in the menu.json, but when you work within the iframe and if your loading pages in applications using vairable relative URLS cross they come through.
    Discovered only this framework using the browser and you can se the construction and scope of all URLS used.

    The apps are sandboxed you cannot access aything in the parent frame, this is a feature of derliberate if something you can not do.

    As I said, you have a few methods to your own data storage space.

  • Need some ideas on the copy of the data from one schema to another.

    Dear all,

    I would like to know the best method and possible by copying data from one schema to another. (I won't use EXP / IMP).
    Example:


    I have a scheme of production on which I have hundreds of tables. I copy the data of the TEST environment after comparing data, I should copy the data incrementally.
    Maybe this copy of data may occur once a month, or on request.

    I want to have this done by a procedure.
    I was thinking about the logic below, using a procedure I will compare the tables and the structures between the two schemas.
    Then I willl use the primary key in both tables column and compare the data first. If the data if it does not exist then I only inserts these records in the target.
    The above said logic could be as similar as the synchronization of data or records, but the table does not all columns to track records archived / copied from the source.
    Suggest me so if you can give me the best logic or solution.

    Thanks in advance...

    Concerning
    Suresh

    GSKumar wrote:
    Dear all,

    I would like to know the best method and possible by copying data from one schema to another. (I won't use EXP / IMP).
    Example:
    I have a scheme of production on which I have hundreds of tables. I copy the data of the TEST environment after comparing data, I should copy the data incrementally.
    Maybe this copy of data may occur once a month, or on request.

    I want to have this done by a procedure.
    I was thinking about the logic below, using a procedure I will compare the tables and the structures between the two schemas.
    Then I willl use the primary key in both tables column and compare the data first. If the data if it does not exist then I only inserts these records in the target.
    The above said logic could be as similar as the synchronization of data or records, but the table does not all columns to track records archived / copied from the source.
    Suggest me so if you can give me the best logic or solution.

    I don't know why you don't want to opt for EXP/IMP.
    As an alternative, if you have a link DB between Production and Test pattern (which I seriously doubt), you can use the MERGER to a copy of data from Production to Test Delta.
    a. INTRODUCE IN test_schema.table_name SELECT sequence_columns, column_list FROM (SELECT column_list FROM prod_schema.table_name LESS SELECT column_list from test_schema.table_name)
    Column_list must not contain columns that contain sequence values because they may differ and result in an incorrect result; Therefore, this is taken into account in the outer query rather than Inline mode.
    b. MERGE STATEMENT
    c. FALL of test_schema.table_name. CREATE test_schema.table_name as SELECT column_list from prod_schema.table_name; -A way very neat to copy all the data, provided you do not keep any changes to test the tables in the schema.

    However, you mentioned to find existing records based on the primary key; IMO, primary key is normally a sequence (may be alphanumeric) and its value on env Production and Test may defer or even can have different attributes, therefore, I find it incorrect to match only the primary keys. I would say to match the key attributes.

    If you want to follow the last update/insert for a record, you can add a column that puts the time of last modification. In this way, you can track the changes of a column. Another alternative would be to use a check to the table.

    Let us know your thoughts or concerns, so that help can be provided.

    I suggest that you read and follow {message identifier: = 9360002}.
    If you will be useful if you can provide all the information required in advance to help us provide you with a quick resolution.

  • Copy data from one schema to another. Reopen the Question

    Hello

    I had asked this question earlier to copy data from tables of one schema to another in the same database using the database link. In my previous post have mentioned below.
    Re: copy data from one schema to another.
    Now I am faced with the question for the remote copy of database

    I have created a DB connection between my local system and the remote database. with the chain of connection as shown below
    CREATE THE DATABASE PUBLIC LINK "MERU_DEV_LOCAL_DEV".
    CONNECT TO MERUDEV IDENTIFIED BY MERUDEV WITH THE HELP OF "MERUPROD";
    In the above script
    LOCAL DEVELOPMENT scheme IS
    REMOTE schema is MERUDEV
    I try to copy remote database to my local database tables using the script below.
    network_link DEVELOPMENT impdp = schema MERU_DEV_LOCAL_DEV = MERUDEV remap_schema = MERUDEV:DEVELOPMENT TABLE_EXISTS_ACTION = REPLACE
    But the copy of the table does not occur. What could be the problem? Please suggest me or do I need to modify the script

    Thank you
    Sudhir

    You can:
    -monitor the BONE with ps - ef
    -monitor data pump: jobs are dba_datapump_jobs and dba_datapump_sessions
    -monitor with logops: v$ session_longops

  • Whenever I have move photos from one folder to another file, the picture is no longer accessible.

    I use Windows XP - perfectly up-to-date.  Whenever I have move photos from one folder to another file, the picture is no longer available and cannot be removed with using unlocker.  This has happened for several years.  I copy pictures and new folders whenever I want to move them, but sometimes I forget and move them and then I lose the picture I'm trying.  I also noticed that there is a strange file that opens in the trash that won't let me remove it without using unlocker. These files start with "Dd" followed be a number.  When I delete these use unlocker, another will appear the a different number on this subject.  It is a very maddening problem.  It is not possible for me to do a system restore because it lasts for quite awhile.  Please help - I'm tired of losing pictures that I can't replace.  Thank you for your help.

    Hi JB_11321,

    Thanks for the reply.

    Have you tried methods 1 and 3 mentioned in my previous post?

    We meet after completing the steps so that we can better help you.

  • Moving files from one event to another in the same library

    When I try to move the file by dragging the clip from one event to another, I get this message that "the file could not be opened because there is no file of this type." I have Final Cut Pro X was last updated.

    I find it interesting since when I imported the raw images from an SD card for Final Cut Pro, I copied all the files in the library. I even played the files and they worked.

    I would be very grateful for any answer I can receive. If worse comes to worse, I can always import the images even once to the appropriate event, because I still images raw on one SD card.

    You can post a screenshot of your browser?

    In addition, what happens when you use the reveal based on the Finder.

  • Export data from one schema to another SQL schema

    Hello.

    I have 2 plans. One is called MICC_ADMIN and the other is called MICC_PROD. What I want is to export from MICC_ADMIN to import into MICC_PROD. I tried to do with the tool of data workshop, one of the table has approximately 19,000 records, so he gets frozen trying to export data. So I was wondering if is it possible to do this via the sql command. Thank you.

    Best regards, Bernardo.

    Hello

    You give the right to select on MICC_APEX_ADMIN. SRDB_MAIN to MICC_APEX_PROD;
    Then sign in as MICC_APEX_ADMIN and run

    GRANT SELECT ON MICC_APEX_ADMIN.SRDB_MAIN TO MICC_APEX_PROD;
    

    Then log in as MICC_APEX_PROD and INSERT performance

    Kind regards
    Jari

  • Migration of the apex of one schema to another in the same database

    Hello

    I'm new to Apex and installed Apex 4.2 on a database and creates a dashboard based on some tables.
    Now I have to create a diagram in the same database and have to replicate all tables and should have the same dashboard.

    Now my question is-

    1 can I install Apex on the other schema and then having to export and import dashboards and reports to the installed Apex?
    2 is it possible that the installed Apex even can be used also for the other schema and can have two separate (Dev and Prod) environment?

    Help, please... Please provide any document or link for the same.

    Thanks in advance.

    Kind regards
    Sébastien Pallav

    A database can have a single schema of apex (APEX_040200).
    It is not a good idea for DEV and PROD in the same PB (so using the same data to the APEX). He makes hard development (because he may - or is - break PROD at one point).

    But - if you must - you can create two schemas: like A and B.
    Export your APP1 then import it under a different id (in the same workspace - but you can also set up two work spaces).
    Using the apex management console, change the schema by using your new imported application is to B. In this way, your app will run "as user B".

  • going from one place to another on the same web page

    Hi friends:

    I will describe a process to understand my pain on safari:

    (1) open Safari web page (site) www.unece.org is a site about automotive regulation two technical information to the engineer.

    (2) go to eyelashes site and opened, for example, publications...

    (3) when double-click eyelashes publications... Safari search addresses for a site advertising that is a malware (virus) inside safari... I need to update this site (upward into the page of the site on safari search bar) then download information, publications... eyelashes www.unece.org

    (4) hopefully understood the point 3, because from there make my question: How do I clear this malware between the links of the page on the same site?

    A huge hug.

    ZIPAPPLE.

    You may have installed ad-injecting malicious software ("adware").

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Some of the most common types of adware can be removed by following the instructions from Apple.

    If you are not already running the latest version of Mac OS X ("El Capitan"), update or upgrade in the App Store you could adware to automatically remove. Save all data before taking this action. If you are already using the latest version of El Capitan, you can still download the current update of the Apple Support downloads page and run it. Still, some types of malware will be deleted. That's all you need to do in withdrawal may be, but you will still need to make changes to the way you use your computer to protect you from new attacks.

    If the steps above do not work for you, see below.

    This simple procedure to detect any type of adware that I know. Disabling is a procedure distinct and better still.

    Some legitimate software is funded by advertising and may display advertisements in its own windows or in a web browser while it is running. It's not malware and it may not appear. In addition, some Web sites display advertising intrusive popup that can be confused with adware.

    If none of your web browsers work well enough to carry out these instructions, restart the computer in safe mode. Allows to temporarily disable the malware.

    Step 1

    Please triple - click on the line below on this page to select it, and then copy the text to the Clipboard by pressing Control-C key combination:

    ~/Library/LaunchAgents

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + v press return. Open a folder named "LaunchAgents", or you will get a notice stating that the file cannot be found. If the file is not found, proceed to the next step.

    If the folder opens, press the combination of keys command-2 to select the display of the list, if it is not already selected. Please don't skip this step.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. If necessary, enlarge the window so that all the content show.

    Follow the instructions in this support article under the heading "take a screenshot of a window." An image file with a name starting in 'Screenshot' should be saved to the desktop. Open the capture screen and make sure it is readable. If this isn't the case, capture a small part of the screen indicating that what needs to be shown.

    Start a reply to this message. Drag the image file in the editing window downloading. Alternatively, you can include text in the response.

    Leave the case open for now.

    Step 2

    Do as in step 1 with this line:

    /Library/LaunchAgents

    The record which can open up will have the same name but is not the same as in step 1. In this step, the folder does not exist.

    Step 3

    Repeat with this line:

    /Library/LaunchDaemons

    This time the file will be called "LaunchDaemons."

    Step 4

    Open Safari preferences window and select the tab 'Extensions'. If the extensions are listed, post a screenshot. If there are no extensions, or if you cannot launch Safari, skip this step.

    Step 5

    If you use Firefox or Chrome browser, open the list of extensions and do as in step 4.

  • Have v14 PC and elements.  How do I move photos in one catalog to another on the same drive, same Organizer computer program?

    How can I move photos in a catalog to another catalog on the same hard drive?  Material: PC and organizer worm. 14

    SAM1938 wrote:

    How can I move photos in a catalog to another catalog on the same hard drive?  Material: PC and organizer worm. 14

    There is no direct way to do this in the Organizer.

    http://www.johnrellis.com/psedbtool/Photoshop-elements-FAQ.htm#_Splitting_and_rearranging

    What you can do is to import the selected files in a different catalog.

    A method is to select the files in the first catalog and move them to a new folder, and then import them.

    To keep the labels, ratings, notes, legends has use the function "write metadata in the files" before importation in the catalogue of the second.

    You can delete selected files from the catalog first then if you want (NO disk...)

  • Copy data from one schema to another.

    Hello

    I have two patterns in my database named as DEV AND PROD, I need to copy the PROD schema to the schema DEV, please suggest me a better way to do it I'll be often clean the DEV and copy the PROD DEV schema schema.

    If please suggest me how to clean and copy also is an option to replace it please let me know this option as well.


    Thank you
    Sudhir

    Sudhir_Meru wrote:
    Thank you very much. I really appreciate your help for me. This works even if I get the message saying impdb.exe does not work as a popup.

    I checked the date of its working for me fine.

    Windows bug.

    This script will copy only the tables that are not out? If the output table it does not copy the data?
    For example > EMP table is DEVELOPMENT exist BUT without data, in this case it does not copy the data.

    IF EMP table does not exist, it will create the table and copy the data.

    If the table exists, then DP he falls and created again with the structure and data.
    If not - only creates

  • Create the trigger to insert data from one user to another user in same Databas

    Dear Sir, I created a trigger as follows

    CREATE OR REPLACE TRIGGER TRIGGER1
    BEFORE INSERTING
    ON table1
    FOR EACH LINE
    BEGIN
    INSERT IN THE TEST. TABLE2
    VALUES (: NEW.) COLUMN1,: NEW. COLUMN2,: NEW. COLUMN3,: NEW. COLUMN4);
    END;
    /

    I want here to insert my user to user Test data. In this Situation when I Execute The above Trigger it shows error PL/SQL: ORA-00942: table or view does not exist

    Help, please

    What do you mean by run the trigger?
    Do you compile?
    Can be open as a TEST and do the following and try to compile your code of the trigger again.

    grant insert on TEST.TABLE2 to youruser;
    

    See you soon,.
    Manik.

  • Can I move pictures from one album to another within the Photos app?

    Organize photos

    Yes. It is done in the same way that you add any photo album. -AJ

  • CC movement from one drive to another on the same computer

    I installed an SSD and want to pass cc of the hybrid to the SSD without losing my allowance of download, is - it possible and if so how please?

    I'm going TO do exactly that, once again, thank you very much, I have been worrying for the required SSD new a fresh Win7 and it means that I have to restart my portfolio of photo processing reinstall all my software edition find keys etc. it is a nighmare!

    3dogs111'

  • Duplication from one user to another in the same DB

    I read a lot of posts on this topic, but no matter how I try with datapump or just exp/imp, that I can't seem to get this right.

    I have a devel 11 GR 2 Server with a database and a user, USERA uses an application.

    I need to duplicate this application server and point to a copy of the database it uses for its internal configuration. It is trivial to clone a "db" and re - assign a new login name and user him MSSQL.

    In my scenario, I simply want to create a new user, UserB and clone the diagram from UserA entirely in UserB seems to be a problem.

    Using exp, after resolving some env vars NLS_LANG I got an export successful without conversion:
    exp USERA/password file = USERA_EXPORT.dmp log = USERA_EXPORT.log

    With the help of imp:
    IMP.exe USERB/password file = USERA_EXPORT.dmp log = USERA_IMPORT.log fromuser = USERA touser = USERB ignore = y

    I get OID errors and all kinds of compile errors. Is this possible with a different technique or happens each specific scenario?

    Thank you!

    This is where the support becomes useful. If you are looking for this MOS ORA-02304: Error invalid literal object identifier, you will see some answers.

    One possibility is the DOF already exists and go around him is the following:

    You can use the Import DataPump TRANSFORM parameter that allows you to change the DDL for creating objects for the types. The value N (= no) for transformation OID name implies that a new OID is assigned. Example:

    Impdp System/Manager DIRECTORY = mon_repertoire DUMPFILE = expdp_u1.dmp LOGFILE = impdp_u1.log REMAP_SCHEMA = u1:u2 oid:n = TRANSFORM

Maybe you are looking for