COPYING between databases

I am trying to copy content of one DB table into an other DB table how can i do this?
tables are same dadabases are different. they are oracle database.
help!!!!SOS!!!!

Create in the system source the file: export.ctl
Export
File = '[PATH] export.dat'
Client = xxx
Select * from table;
And in the system target create the file: import.ctl
Import
File = '[PATH] export.dat'
Client = xxx
Then execute in the source systems:
R3trans -w export.log export.ctl
This creates a file named export.dat, copy this file to target system and execute in the target system:
R3trans -w import.log import.ctl

Similar Messages

  • Copying between database?

    I am trying to copy the contents of a database table into a different data base table --in unix server ,oracle platform.
    Can any one suggest me any commands i can use...please help!!
    VJ

    Is the new database in the R3 data dictionary?
    Rob

  • How to copy the content in XMLtype column between databases

    Hi, there,
    Does anyone know how to copy the content in XMLtype clumn between databases? I tried insert as select via database link and it gives me the following message:
    SQL> insert into nrt_ot_request_temp (SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML )
    2 select SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML from nrt_ot_request@nrtdb_acacia;
    select SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML from nrt_ot_request@nrtdb_acacia
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Thanks,
    Jessica

    Hi Jessica,
    in my eyes the second statement
    select ... xmlstring_column ... from table@remote_side;
    causes the error. Columns of type XMLString internally are stored as CLOBs in Oracle. Unfortunately there are restrictions on statements for CLOBs and remote locators.
    It seems you cannot say
    SELECT clob_column FROM table@remote_site;
    Remark: For me this is a showstopper for the datatype XMLString if you cannot run a simple statement like this one. It seems you can do an insert and an update but no select.
    On the other hand your first statement
    INSERT INTO table_local SELECT * FROM table@remote_site;
    should work following the documentation.
    See also
    http://docs.oracle.com/cd_a97630/appdev.920/a96591/adl04mng.htm#98328
    Best regards
    Indu Keilitz

  • Steps to Copy a Database in SAP

    Hi,
    What are the steps to copy a database in SAP?
    Thanks,
    Sreekar.

    Hi,
    The steps of database copy are as below.
    1. To make Database copy between two systems, you have to check file size on
    Target System.
    Use commands:
    df -k
    bdf (HP-UX)
    2. On the Source System, check the files which are going to move.
    Use commands:
    su ora
    svrmgrl
    connect internal;
    select name from v$controlfile;
    select name from v$datafile;
    select name from v$logfile;
    3. Release all change requests on source system.
    4. Shutdown database (Source system)
    Use commands:
    su - adm
    stopsap
    5. Copy the controlfiles, datafiles, logfiles from source system to target
    system.
    Backup via tar
    ftp or rcp
    For example: You can write a simple script.
    rcp r src_server:/oracle/SRC/sapdata1 /oracle/TRG
    rcp r src_server:/oracle/SRC/sapdata2 /oracle/TRG
    rcp r src_server:/oracle/SRC/sapdata3 /oracle/TRG
    or for backup
    tar cvf /dev/ sapdata* dbs origlog* mirrlog*
    6. Copy $Oracle_Home/dbs/init.ora parameter file from source system to
    target system. Change all old SIDs to new SIDs except db_name parameter.
    Save it with old SID name.
    7. On the target system, change parameter /dbname= on
    parameter file /usr/sap/trans/bin/TPPARAM
    8. Change all owners and groups.
    Use commands:
    With root user.
    cd /oracle/
    chown R ora:dba sapdata*
    chown R ora:dba origlog*
    chown R ora:dba mirrlog*
    9. Change the name of control files (cntrl.dbf) with new SID
    10. Startup mount must work successfully.
    Use command:
    su ora
    svrmgrl
    connect internal;
    startup mount;
    11. Define new locations to database for data files and log files.
    Use command:
    su ora
    svrmgrl
    connect internal;
    alter database rename file /old/file/name to /new/file/name;
    12. Startup R/3 with startsap.
    Use commands:
    su - adm
    startsap
    13. If not start; see OSS note--> 8179 (grant connect to sapr3 identified by SAP)
    14. Log on to SAP via SAP* user.
    15. Run ST06 and set workbench organizer.
    16. Install new license.
    17. Change the spool server names on SAP system. (SPAD)
    Reward points if found helpfull...
    Cheers,
    Siva.

  • Best way to move LOB between database

    I am using Oracle 10.2.0.4. Please share your experience what is the best to move LOBs between databases. Lob size is 40 gb. I have tried using data pump, and parallel insert with nologging but it is taking almost 1 hour to transfer 1 gb.
    Thanks for any suggestion.

    N Gasparotto wrote:
    For data pump I am using impdp over network_link .Would be much more efficient to copy the file accross the network and then run impdp locally. Did you also tried also parallel impdp ?
    Nicolas.Thank I will be trying your suggestion to move the copy. Currently do to space issue I cannot try it but I have already requested for the designated mount point.
    I tried using parallel hint. Our sever had 8 cpu so I tried parallel 16. Although current parallelism was 16 ,
    worker parallelism was 1. They were only 2 workers and other worker was always waiting. In other words, the two workers did not execute simultaneously. So, I guess data pump did not run parallely.
    Should not more than one worker be executing simultaneously for it to run parallel? I did not understand what worker parallelism meant?

  • Is it possible to copy entire database when update from 32 bit to 64 bit?

    Just want to update the os from 32bit to 64bit with Oracle9i. Sinece the data amount is very large, to export and import is quite time consuming, so Is it possible to copy entire database? Or any other suggestion?

    what's the OS ?
    You can check metalink doc, for example this one
    Subject: How to convert a 32-bit database to 64-bit database on Linux?
    Doc ID: NOTE:341880.1
    or
    Changing between 32-bit and 64-bit Word Sizes
    Doc ID: NOTE:62290.1

  • Undocumented error when trying to copy azure database (worked fine until recently)

    Until recently executing
    create database CB_Karakter_ACC as copy of jzv6wwe8gl.CB_Karakter_PRD
    on azure instance bycz1k0pmu worked fine. Today, I'm suddenly getting
    Msg 40197, Level 20, State 1, Line 65536
    The service has encountered an error processing your request. Please try again. Error code 40184.
    I cannot find any info relating to error code 40184 anywhere on the internet. What does this message imply?
    FYI: Just did a backup of the PRD db with redgate cloud services (to azure blob) and tried to restore it on the test instance. I got msg:
    Microsoft Restore Service returned an error: Error encountered during the service operation. Could not import package. Error SQL72014: .Net SqlClient Data Provider: Msg 15247, Level 16, State 100, Procedure sp_create_login, Line 1 User does not have permission
    to perform this action. Error SQL72045: Script execution error.  The executed script: CREATE LOGIN [CB_Karakter_PRD]    WITH PASSWORD = '******';  
    So probably the 40184 has something to do with security. Would be helpful to add this msg to e.g. http:// msdn.microsoft.com/en-us/library/windowsazure/ff394106.aspx (put space behind first / since this txt box doesn't allow me to put in links since
    my account is not verified or something...). If it's indeed about permissions that is.
    Ok after executing
    exec sp_addrolemember 'loginmanager','CB_SysAdmin_PRD'
    the CREATE DATABASE...AS COPY OF stmt still resulted in the same error. Will now try redgate again...
    Restore with redgate was succesful now. Question remains why CREATE DATABASE doesn't work anymore.

    Hello,
    Based on your description, you copy a database between two different SQL Database servers. When ACC database is copied form PRD database, the login that copied the database becomes the DBO of ACC. All database users and their permissions (but not their SIDs)
    from PRD are copied to ACC. Because of the new SID, the login from the PRC sever may not work on the new database.
    To workaround this issue, please try to use the DBO login and the ALTER USER statement to map users in the new database to logins on the new SQL Database server.
    For example: ALTER USER 'CB_SysAdmin_PRD' WITH LOGIN='loginName'
    Reference:
    Copying Databases in Windows Azure SQL Database
    Currently, I didn't find any document about error codes 40184 embedded within the message of error 40197. You can try to submit a feedback on the SQL Database feedback forum:
    http://feedback.windowsazure.com/forums/217321-sql-database
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Client copy between clients having different OS(Linux and Windows)

    Dear All,
    I would like to do client copy between a client in development system having Linux OS and a client in sandbox system
    having Window OS.
    Is it possible?
    Regards,
    Vinod

    You can get more info at ::*
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/69/c24c0f4ba111d189750000e8322d00/frameset.htm*
    & also check note 552711 which clearly say at point no 5 .*
    5. Can I create client copies in a heterogeneous system landscape?*
                  Remote copies or client transports can also be carried out between different database and operating systems.*
    Please close thread if you feel your question has been answered.*
    Thanks..
    Mohit
    Do NOT post in bold.... 2nd warning.
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Aug 27, 2009 12:07 PM

  • Data synchronization between databases

    Hi,
    This week one of my team accidentally damaged multiple records in one of the production databases, I have a backup of the database prior to what happened.    I need to copy the information in a few tables from the beginning of records (about 10 years ago), to the end of August 2014.   The newer records should remain as they are.
    I was thinking that the best route is to use some sort of tool to synchronize data between databases.
    Do you guys have a recommendation for this sort of work? 
    The databases (production and backup) are ASA 9.
    Best regards,
    Edgard

    Hello Edgard,
    If you have any PowerBuilder in-house the Data Pipeline object might help. Otherwise I'd have a look at Squirrel SQL. I know that can communicate between two databases simultaneously but confess I have never tried it.
    Paul

  • Confussing between Database User and Application User in Discoverer

    Hi All,
    I am new to Discoverer.
    Please let me know the difference between Database User and Application User in Discoverer Administrator as well as in Discoverer Desktop Editions.
    1) While I am trying to connect to Discoverer Desktop, I am unable to connect to it with Apps Database User.
    2) Where the Discoverer compenent will be installed and what the configuration settings need to done work on it.
    Please let me know the answers soon.
    Thanks in Advance.

    Hello
    I think a database user should pretty much be self explanatory - this is a user account that exists in the database. This account is created by your Database Administrator (DBA).
    The second kind of user that Discoverer understands is a user that exists inside Oracle E-Business Suite (EBS), formerly known as Oracle Applications, hence an application user. This user account gets created by the EBS system administrator.
    Now, just because you're using EBS, it does not automatically follow that users will be application users. Let me explain.
    Discoverer can be installed in one of two modes, standard mode and Applications mode.
    The vast majority of organizations use standard mode which means they allow database users to access the system.
    The only time that you will need an applications account is under the following two rules:
    1. Your organization is using E-Business Suite, AND
    2. Your Discoverer administrator has installed Discoverer in Applications mode.
    Applicatons mode does not happen automatically, even if you have EBS, and you cannot install that mode by accident. You have to tell Discoverer that it is operating in that mode, provide some additional EBS account information, make security assignments and set users have to deliberately tell Discoverer they want to connect using an applications account.
    May I suggest you get hold of a copy of the Oracle Discoverer 10g Handbook that I wrote. That book explains in detail the differences between the modes. I also have a free white paper on my website that describes how to install Discoverer into Applications mode.
    I hope this helps
    Best wishes
    Michael
    http://ascbi.com

  • Difference between database rename and refresh

    can any bodt tell the exact difference between database rename and refresh and the procedures between the both?

    Oh
    Rename--- as the name itself says rename the DB
    your id is user583972
    rename=change the user583972 to your NAME
    Refresh=Copy from production and replicate in QA/DEV/TEST for the same purposes

  • Transfer whole schema between databases

    Hi,
    I have a question on how to move an entire schema between two databases which are of the same version and patchset.
    I identified the possible methods as follows:
    1) Using exp/imp or expdp/impdp, but that's quite slow on larger schemas and the transported data might not be physically the same as on the source database (indexes are rebuilt, tables get loaded with data again....).
    2) Using transportable tablespaces. This is fast, the physical data layout is the same as on the source database, but unfortunately only the objects in the transported tablespace get transferred. Schema objects like PL/SQL packages, private synonyms, functions.... and grants aren't transferred since they are stored in the SYSTEM tablespace.
    Is there any other way to move a schema between databases? Maybe some combination of expdp/impdp (transfer of user object definitions stored in the SYSTEM tablespace like PL/SQL code, view definitions, etc.) and transportable tablespaces (transfer data segments like tables, indexes....)
    From what I know RMAN can't do that since the smallest "logical object" it can restore/recover is the whole tablespace with tablespace point in time recovery.
    Thanks in advance for any answer.
    Regards,
    Jure

    user633661 wrote:
    Hi,
    I have a question on how to move an entire schema between two databases which are of the same version and patchset.
    I identified the possible methods as follows:
    1) Using exp/imp or expdp/impdp, but that's quite slow on larger schemas and the transported data might not be physically the same as on the source database (indexes are rebuilt, tables get loaded with data again....).
    2) Using transportable tablespaces. This is fast, the physical data layout is the same as on the source database, but unfortunately only the objects in the transported tablespace get transferred. Schema objects like PL/SQL packages, private synonyms, functions.... and grants aren't transferred since they are stored in the SYSTEM tablespace.
    Is there any other way to move a schema between databases? Maybe some combination of expdp/impdp (transfer of user object definitions stored in the SYSTEM tablespace like PL/SQL code, view definitions, etc.) and transportable tablespaces (transfer data segments like tables, indexes....)
    From what I know RMAN can't do that since the smallest "logical object" it can restore/recover is the whole tablespace with tablespace point in time recovery.
    Thanks in advance for any answer.
    Regards,
    JureIf you have only one business schema, then you may go with duplication of database.
    Otherwise, you can go with Schema Based Replication with Streams or as you said combination of expdp/impdp and transport.

  • Is it feasible to do System copy between SAP r/3 4.7 and ECC 6.0?

    Hello Everyone,
    Please let me know is it possible to do a system copy between two different SAP versions( SAP R/3 and ECC6.0 ABAP stack)
    Background:
    OS: Windows 2003
    DB: MSSQL 2005
    Appreciate your response
    Thanks,
    Vadivambal

    Hi,
    We have done the system copy from production(till dec data) to sandbox and  then  upgarded from R/3 4.7 to ECC 6.0.
    Now the upgraded server has a data till december and our functional team wants to have all data from current production(r/3 4.7) to Sandox (test upgarde m/c) for testing since some of new applications have gone live after dec.
    Please suggest me how to we bring those data to test upgarde machine.
    Will client copy help in this case?
    Please let me know
    Thanks,
    Vadi

  • Copying Production Database to another location

    Hi,
    We are currently upgrading to a 11g and as part of the process I need to copy our production server 10g to our new hardware. I want to carry out a couple of dry runs to get timings and test the process. I will be keeping the same SID.
    Are there steps I can take to isolate the copied oracle database to ensure it does not try communicate with any other systems.
    I come from an SAP background and in SAP there are a number of steps to isolate a system. I'm looking for similar steps that would be used in oracle e.g.
    stop job scheduler
    stop all inbound and outbound communication
    Lock interactive users
    Stop outbound email
    etc...
    Thanks
    Jim

    osheajim wrote:
    Hi,
    We are currently upgrading to a 11g and as part of the process I need to copy our production server 10g to our new hardware. I want to carry out a couple of dry runs to get timings and test the process. I will be keeping the same SID.
    Are there steps I can take to isolate the copied oracle database to ensure it does not try communicate with any other systems.
    I come from an SAP background and in SAP there are a number of steps to isolate a system. I'm looking for similar steps that would be used in oracle e.g.
    stop job scheduler
    stop all inbound and outbound communication
    Lock interactive users
    Stop outbound email
    etc...
    Thanks
    Jim
    Somwhat dependent on your method of creating the new database on the new server, but if you don't start a listener on that server, no one that is not directly logged on to that server will be able to connect to the database. As for outbound connections from the database, you might have to get a bit creative, depending on where and how the outbound connections are defined.  I'd start by not haveing a working tnsnames.ora file.  Then check the defintions of any db links in the existing database.  If they hard-coded destinations, make sure those destinations are un-resolveable/unreachable from the new server.  I wouldn't worry about the job scheduler during the dry run.  As long as there is no outside communication from them, who cares if they run?  With the listener shut down, no outside users can connect, so no reason to lock user accounts.
    Perhaps you could cover all bases at once by simply configuring the firewall on the new server to disallow any communication at all ...

  • Client Copy between unicode system and non-unicode system

    Hello,
    we have to build up a new system for japan. It is planned to install a new 4.7Ext200 unicode system and then make a client copy from a non-unicode 4.7Ext200 (language= german, english) system to the unicode system. I don't think that this is possible way, but I can't find information regarding client copies from non-unicode to unicode. I would advice the project to convert the existing non-unicode system to unicode, make a system copy for the new system and then install japan languages. Any information, which can help me.
    Regards,
    Alexander

    Hi,
    without conversion client copy is not possible
    look at following
    Re: Client copy between unicode and Non-unicode
    regards,
    kaushal

Maybe you are looking for

  • How a drop out made $5000 in 30 days with $10 using this system

    NOTE: PLEASE COPY THE WHOLE OF THIS AND SAVE IT ANYWHERE, THIS IS REAL AND SERIOUS. How to convert $10 to $15000 in 30 days only as easy as possible. TURN $10 INTO $15,000 IN ONLY 30 DAYS...HERE IS HOW! This is a Money Scheme and Not, I repeat... Thi

  • For Copy/Paste ctrl+c/ctrl+v is not working

    I have a text box in flex and i want to copy the text from that text box through ctrl+c but it is not performing.. Plz tell me how can i copy/paste through ctrl+c/ctrl+v

  • Upgraded kernel info not showing in System info page

    Hi all, We have upgraded our EP 7.0 from SP11 to SP 15 with kernel 146, all the components are showing up fine after the upgrade means SP level SP15 , but kernel still showing the same old kernel info  in the system info page. I have checked from the

  • How can I add a comma ?

    I am using the following code to produce output : <cfoutput query="qryView" group="materialNumber"> <tr> <td class="TitleText">#materialNumber#</td> <td class="TitleText">#purchaseOrder#</td> <td class="TitleText"><cfoutput>#qryView.serialNumber#  </

  • HT201210 missing apps after download of ios 7

    I am missing some apps from the IOS 7 update.  How do i recover if they were not sync'd to my computer?