Solved

update a table through a .sh script

Posted on 2013-05-15
6
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 77

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 77

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pl/sql - query very slow 26 107
oracle date format checking 7 53
Oracle function return value when null 2 34
ORACLE SQL DEVELOPER + Compare Tables 5 37
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

734 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