Solved

update a table through a .sh script

Posted on 2013-05-15
6
278 Views
Last Modified: 2014-03-03
We require a table to be refreshed with production data in every three hours.
•  Table size is only 125KB
•  There are no associated Indexs/constraints/triggers on this table

Both Database are 10g R2 and on aix 6. Both the Database is on different Hosts(machine)




Thanks
0
Comment
Question by:sachin_dba
  • 2
  • 2
6 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39168340
Assuming database links between the two systems isn't allowed.

Easiest way is to just use export/import.

If you can do remote shells:
Create a script to run exp or expdp on the remote machine, rcp or ftp it over to the other machine.  Truncate the table and run imp or impdp to load the data.
0
 

Author Comment

by:sachin_dba
ID: 39820661
I've requested that this question be deleted for the following reason:

Old question, not required now.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39820662
Just because you no longer need the answer does not mean we didn't answer the question.

Just deleting a question to get around the new question lock isn't the correct thing to do.
0
 

Author Comment

by:sachin_dba
ID: 39841286
thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now