Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8906743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:44:01+00:00 2026-06-15T02:44:01+00:00

I have 2 DB with the same schema on different servers. I need to

  • 0

I have 2 DB with the same schema on different servers.
I need to copy data from table T to the same table T in test database in different server and network.

What is the easiest way to do it?
I heard that data can be dumped to flat file and than inserted into database. How does it works?
Can this be achieved using sqlplus and oracle database?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:44:02+00:00Added an answer on June 15, 2026 at 2:44 am

    Use Oracle export to export a whole table to a file, copy the file to serverB and import.

    http://www.orafaq.com/wiki/Import_Export_FAQ
    

    You can use rsync to sync an oracle .dbf file or files to another server. This has problems and syncing all files works more reliably.

    For groups of records, write a query to build a pipe-delimited (or whatever delimiter suits your data) file with rows you need to move. Copy that file to serverB. Write a control file for sqlldr and use sqlldr to load the rows into the table. sqlldr is part of the oracle installation.

    http://www.thegeekstuff.com/2012/06/oracle-sqlldr/
    

    If you have db listeners up on each server and tnsnames knows about both, you can directly:

    insert into mytable@remote 
    select * from mytable
      where somecolumn=somevalue;
    

    Look at the remote table section:

    http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9014.htm
    

    If this is going to be an ongoing thing, create a db link from instance@serverA to instance@serverB.
    You can then do anything you have permissions for with data on one instance or the other or both.

    http://psoug.org/definition/CREATE_DATABASE_LINK.htm
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to have same table name on different schema with different data
I have same database schema on two different SQL servers 2008. I have one
We have 2 servers with the same database schema, however due to the way
We have four public websites running on the same database with different schema(Oracle). All
I have several databases (SqlServer 2005) on the same server with the same schema
I have 3 Oracle database instances with the same data and scheme that I
I have two similar database with the same schema.But one is for printing purpose.
I have two SQL Server databases with identical schemas, but different data. I also
I have 2 tables with same schema on 2 different databases on the same
Is it possible to have same hashcode for different strings using java's hashcode function?or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.