Dblink data copy

Hi,
I have 3 instances (instance1, instance2, instance3). DB links exists between instance1 and instance2, instance1 and instance3.
instance1 <-> instance2
instance1 <-> instance3
I want to copy data (some records from a table) from instance2 to instance 3.
What is the best and optimal way to do this data copy. Can I use some stored procedure in instance1?
Please suggest.

I am assuming when you say instance1, instance2 & instance3 they are different database instances. I would like to call it db1 db2 & db3
If you are referring to multiple instances of same DB (RAC) then all the data is accessible across all instances.
A simplest way
- if the number of records are not very high
- provided table structures are the same across db2 & db3 and
- you have privileges to write into db3 from db1.
insert into table@instance3 as select from table@instance2
Edited by: Sudheendra on Jan 17, 2012 5:16 PM

Similar Messages

  • Copy Version-Budget data copied from one version to another-How to view Data in Copied Version.

    Dear All,
    Budget Data is copied from one Version to another Version using Tools>copy Version option. How can you view Data copied to new Version, when you receive a message Version is successfully copied.
    I think we can do that by selecting appropriate version in the version dimension while accessing the Forms or in Smart View.
    Can you please let me know how to do this or different options available with this process.
    Thanks in Advance for your valuable time...

    A form to check the data with the correct POV, a Smart View query, excel addin retrieve, financial report, export data, report script, take your pick.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data copy B/W Essbase Applications using script

    How to Data copy from one app to another app.
    Server Name: Server1
    Version: 9.3
    Essbase App: App1
    Data Bases: Db1, Db2,Db3
    Server Name: Server1
    Version: 9.3
    Essbase App: App2
    Data Bases: Db1, Db2,Db3
    Note: App1 & App2 Applications are having similar outlines
    Requirement: Copy Year 2012 Data from App1 to App2
    I have come to know this is possible using Xref calc script.
    Could some one please suggest the script.
    Thanks in advance!

    Partitioning should be the best one as Glenn said, but see if you have licenses for that, as partitioning is licensed separately from essbase.
    The alternatives could be:
    * Data Export / Import: for exporting you could use DATAEXPORT command within a calcscript (see technical reference for details). Then importing the data with a rule file.
    * XREF: this approach could give some headaches with block creation (see https://cn.forums.oracle.com/forums/thread.jspa?threadID=1010153). In general terms, try this one if the portion of data to copy is relatively small and well delimited.
    Nacho.-

  • Data copy in Hyperion Planning taking long time

    Hi All,
    good morning.
    I am using data copy in hyperion planning (11 1 2 2) to copy from one scenario to other selecting account annotations and supporting details.
    The essbase part of copying data completed (checked sessions), but when I checked the job console in planning it still says processing for past 2 hrs.
    My java heap size for planning is 1.5GB and the backed database is SQL server
    my suspicion is that the issue was with backend sql. but I don't where to start.
    can anyone please guide me.

    I am working with version 11.1.2.1 and running into the same issue. The Supporting detail option works fine if the application has just a few details, let’s say 50 cells, but if we have around 500 cell with details then the copy process never ends, the details are not copied, and I have to restart the Planning service. As a workaround we are using a two steps process. In the first step we copy the just Essbase using the copy data functionality of Planning (with no data copy options enabled) or by using an Essbase calculation script. For the Supporting Details piece we use the Export for Edit functionality of LCM and export them to an XML file, and then we edit the XML file and change the source member name with the target member name, and finally we use the Import after Edit functionality of LCM. Of course if works only if the Planning application was deployed using EPMA.

  • Your current internet security settings do not allow data copying to clipboard

    i get a message when i try to hit the Copy button at the end of the chat to try to copy the chat
    your current internet security settings do not allow data copying to clipboard
    how can i fix this

    thanks for the reply but i was wondering how do i edit javascript then and all and i was wondering if any of the steps require a restart for firefox

  • DB link data copy

    Hi,
    I have 3 instances (instance1, instance2, instance3). DB links exists between instance1 and instance2, instance1 and instance3.
    instance1 <-> instance2
    instance1 <-> instance3
    I want to copy data (some records from a table) from instance2 to instance 3.
    What is the best and optimal way to do this data copy. Can I use some stored procedure in instance1?
    Please suggest.

    Murphy's law confirmed :(
    According to data available and not having DBA privileges logged on instance1 I'd be forced to try
    insert into t@instance3
    select * from t@instance2Regards
    Etbin
    Edited by: Etbin on 17.1.2012 11:23
    or generate (a reasonable number of) insert statements on instance2 and apply them on instance3
    or using export/import as offered by SQLDeveloper

  • Data Copy between entities

    Hi all,
    I have an issue in data copy between entities and scenarios.
    I have the raw data in entities 1,2,3 etc and Scenario A. I need to copy this data to entities 4,5,6 and Scenario B.
    S#A.E#1 = S#B.E#4
    S#A.E#2 = S#B.E#5
    S#A.E#3 = S#B.E#6
    When i do this using HS.EXP..I get and error message saying that "Invalid destination specified"
    But it is invalid to use Entity on the LHS of HS.EXP...How do i go about solving this problem?
    Any help will be greatly appreciated.
    Thanks!
    Ramith

    Ramith
    You would need to do something like the following to get around this as you can specify items outside of the current subcube on the left side of the rules
    If HS.Scenario.Member = "A" Then
    If HS.Entity.Member ="2" Then
    hs.exp = "A#ALL = S#B.E#4"
    End if
    End If
    JTF

  • Write a procedure to find out the data copy is happening or not.

    Good Day all,
    I have two databases called "*Report*" and "*Production*". I have a report database which copy a data from production database. I want to write a Stored procedure to compare the count of one table in both the databases. All the tables are same in both the databases.
    Please note :*
    1. We are writing the procedure to find out the data copy is happening or not and also report database is down or not.
    2. Not all times, the both the count is same, sometimes it take delay to copy the data in report database but report database is not down.
    Please see the query to compare
    _"Report"_
    Select count(*) from trx where date ='03-Oct-2010'
    *"Production"*
    Select count(*) from trx where date ='03-Oct-2010'
    I am suggesting to take a count for every 5 mins and keep in temp table and compare it.
    Thanks
    Nihar

    How are you replicating the data from the production database to the reporting database?
    Wouldn't it make more sense to monitor that replication process rather than counting every row in the table every 5 minutes? That's going to get rather expensive for non-trivial tables. If you are using something like Streams to replicate the data, it would make far more sense to monitor the Streams apply process, to determine when the reporting database it updated as of, than it would to monitor the underlying tables.
    Justin

  • Run the data copy and comments copy with the same key

    I want to Run the data copy and comments copy with the same key.
    I tried to challenge in the following way, but it is an error.
    1. Add the process in the process chain [/ CPMB / COPY] process in the process chain that could be new to copy the chain [/ CPMB / COPY_COMMENTS] (see capture)
    2. Select the newly can process chain to add a package, make a change to the script as follows:
    PROMPT(RADIOBUTTON,%TARGETMODE%,"Handling of records",0,{"Copy records with match key","Copy by replacing data in same data region of Entity, Category, Time and Audit ID"},{"0","2"})
    PROMPT(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after copying",0,{"Yes","No"},{"1","0"})
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})
    PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the members to COPY and where to",%DIMS%,0)
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    INFO(%SELECTION_KEYDATE%,)
    TASK(/CPMB/COPY_COMMENTS,SELECTION,%SELECTION%)
    TASK(/CPMB/COPY_COMMENTS,TOSELECTION,%TOSELECTION%)
    TASK(/CPMB/COPY_COMMENTS,CHECKLCK,%CHECKLCK%)
    TASK(/CPMB/CM_CONVERT,OUTPUTNO,%TEMPNO1%)
    TASK(/CPMB/CM_CONVERT,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CM_CONVERT,SAPPSET,%APPSET%)
    TASK(/CPMB/CM_CONVERT,SAPP,%APP%)
    TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%)
    TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%)
    TASK(/CPMB/CM_CONVERT,KEYDATE,%SELECTION_KEYDATE%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%TOSELECTION%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,KEYDATE,%SELECTION_KEYDATE%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,DUMPLOADMODE,3)
    TASK(/CPMB/APPEND_LOAD,PREPROCESSMODE,0)
    TASK(/CPMB/APPEND_LOAD,TARGETMODE,0)
    TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)
    TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/APPEND_LOAD,RUNLOGIC,1)
    TASK(/CPMB/APPEND_LOAD,CHECKLCK,1)
    TASK(/CPMB/APPEND_LOAD,KEYDATE,%SELECTION_KEYDATE%)

    We performed similar transfer of data from one planning model to another using DM package linked to BADI. In your scenario there is additional complexity of doing lookup from DSO and should be possible.
    Also check these references for performing lookup in DSO.
    abap code to populate data from DSO
    something about SAP: How to look for DSO&amp;#8217;s tables?

  • Dates copied

    Hi
    Wahich dates can be  copied to which other dates .Like forecast dates, basic date, actual dates, schedule dates. Please mention how can be copied and from which date to which other date.
    Zinni

    Scheduled Dates( earliest and latest)WBS can be copied to Basic Dates . Forecast dates can be copied from  basic dates and vice versa,
      For this, go ot Project Plannig board(Gantt Chart). Follow menu path: Edit > Select > WBS Elements. Then follow path: Edit > Reconcile Dates > Copy scheduled dates ( copy scheduled dates to Basic Dates). 2) Edit > Reconcile Dates > Transfer forecast dates to Basic and vice versa.
    Regards,
    Mahendra

  • Re:How to Improve Data Copy Performance

    Is there a way to tell a data copy to ignore any #Missing values and only copy values that re non #Missing. Looking towards improving my DataCopy script besides just utlizing fix statements.
    Please provide any suggestions in optimizing a data copy script.
    Thanks for your Help!!!!

    I'd suggest having a look at the documentation for the configuration file setting COPYMISSINGBLOCK. This prevents the creation of #Missing blocks in the destination set when copying from a dense dimension.
    Obviously, within an entire block (e.g. when copying from a sparse dimension) a #Missing value is just a #Missing value - you can't do anything about that.
    As a side issue, you may need to consider that different calculation results can be produced by some calculations depending on whether or not blocks exist.

  • How to get schedule line date copied to "First date" in sales order

    Dear forum
    I am creating a sales order as normal and put in a Requested Delivery Date (KETDAT) for the order.
    This requested delivery date is then copied to the "First date" (ETDAT).
    Now, the ATP is checked for each line item in the order and a Schedule line date / material availability date is calculated for each line item.
    My question is: Is there any way to have the "First date" field of the line item in the sales order populated by the first material availability date (calculated by ATP), instead of copying the Requested  Delivery Date? Any user exit? Any config?
    It would mean that every time I rerun ATP check in the sales order line item, the "First date" field would change if the material availability date change. If there is multiple material availability (multiple schedule lines) dates per line item, then the earliest date would be copied to the "First date" field.
    Is there such functionality? Or possibility to config/program?
    /Ola

    Kannan
    OK. Unfortunately reservations cannot be created at the serial number level. So the unsupported way of doing this is updating the mtl_serial_numbers tables. I hope you would know (by some means) which serial numbers you want to allocate to a specific sales orders. If you know, update group_mark_id column in mtl_serial_numbers table with your order_line_Id, This will avoid any one from picking the serial numbers (they will not come up in the LOV or will not be auto allocated).
    But you have to make sure to take it off when you actually want to pick this order line and allocate this serial number. So just before you pick release/ confirm this order line you need to update column back to null so that you can allocate that serial number.
    Thanks
    Nagamohan

  • File data copying problem

    Hi,
    Im trying to copy the contents fron one file(say abc.txt) to another file(say def.txt)....Whats wrong in the below code...
    package com.home.practise.streams;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class CopyOneFileToAnotherFile {
         CopyOneFileToAnotherFile() throws IOException {
              File file = new File("C:\\Documents and Settings\\Harishwar\\Desktop\\abc.txt");
              try {
                   BufferedReader br = new BufferedReader(new FileReader(file));
                   FileWriter fw = new FileWriter(new File("C:\\Documents and Settings\\Harishwar\\Desktop\\def.txt"));
                   BufferedWriter bw = new BufferedWriter(fw);
                   int ch;
                   while((ch = br.read()) != -1){
                        bw.write((char)ch);
                        System.out.print((char)ch);
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public static void main(String[] args) throws IOException {
              new CopyOneFileToAnotherFile();
    }Im not getting the output inside the file "def.txt"...why so?? what might be the problem in the above code??

    Thanks for your reply, dudes...Now I got the output..But i had one small doubt..Why these java soft people didnt write flush() method in predefined streams or readers or writers( say BufferedWriter or some other output stream).Because they're buffered. If they were auto-flushed they wouldn't be buffered.
    Why they gave us a choice to write this flush() expilictly....?So that you can control when the buffer is flushed. For performance and transactional reasons.
    Why wouldn't they have written in these predefined classes(say BufferedWriter) itself?? Because then they wouldn't be buffered. So there wouldn't be any point in them existing, or at least in having those names.
    And another small doubt, when we write explicitly bw.close(), does this mean we are saying GC to collect this variable?No, it means flush and close the stream and release the associated file handle.
    Can't GC collect this variable after complete execution of this program?Of course, but it's a file writer with a local buffer, so you should close it yourself, explicitly, when you have finished writing to it, so that you know that you've flushed and closed it, so that your application doesn't proceed on a false assumption, for example so you don't print any misleading messages saying that you've written all the data when you haven't.
    If you don't want local buffering, don't use it. But then your tactic of reading and writing one character at a time is suddenly going to run several orders of magnitude more slowly. And it's still correct discipline to dispose of external resources immediately you've finished with them.

  • Customer master data copying from one sales order to other

    Hello Friends,
    I have requirement on customer master data maintenance, When ever i create a customer in one sales area it has to copied automatically to other sales area.Even if i change also system should replicate the changes to same customer in other sales area.
    How can i achieve this?
    Please help me

    Hello,
    Create Common Distribution Channels & Common Divisions.
    This will make sure that Master Data you create for one Sales Area is valid for other Sales Areas also...
    Proceed here:
    IMG - Sales and Distribution - Master Data - Define Common Distribution Channels
    IMG - Sales and Distribution - Master Data - Define Common Divisions
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • QM master Data copy from one client to another client

    Hi QM guru...
    Kindly suggest me how i will copy all  qm master data  from one client to another client
    QM master Data like....Catlogs. MIC inspection method. sampling...etc
    Kindly suggest me how i will copy all master data
    Thanx
    Regards
    Akil

    Dear Akil,
    I think that LSMW can be of help in this case.
    Otherwise, please check with your ABAPer whether any BDC is there for mass uploading of master data.
    Regards,
    Kaushik

Maybe you are looking for