If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Connection Between Two Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-03, 07:17
yaya yaya is offline
Registered User
 
Join Date: Jul 2003
Posts: 4
Thumbs up Connection Between Two Database

hello
i have two db
the first is running under 0RACLE 8i under unix
the second is running under 9i

i fill like to link the two databade in order to tranfer data(table) every morning from the first database to the seconddatabase

can you you help me please

yaya from west africa senegal
Reply With Quote
  #2 (permalink)  
Old 07-21-03, 00:32
mickykt mickykt is offline
Registered User
 
Join Date: Mar 2003
Location: Singapore
Posts: 200
hi yaya,

U can create a db link then use a trigger to insert the values u need to the database u need using this dblink.

CREATE DATABASE LINK db_linkname
CONNECT TO username IDENTIFIED BY password
USING 'DBNAME';

Test the dblink by:

SELECT * FROM anytable@db_linkname;

Use trigger to insert into this table sing the dblink.

Give it a try ,pls let me know.

..mickykt
Reply With Quote
  #3 (permalink)  
Old 07-21-03, 02:51
yaya yaya is offline
Registered User
 
Join Date: Jul 2003
Posts: 4
where am i going to create this dblink
in first db or second db
after this how can i config network to access to this db because the thwo db are not the same pc and not in the same town
Reply With Quote
  #4 (permalink)  
Old 07-21-03, 03:21
mickykt mickykt is offline
Registered User
 
Join Date: Mar 2003
Location: Singapore
Posts: 200
U can configer a replication enviornment so to make both the databases upto date.

U can use OEM to Configer the Replication enviornment.

U can create links in both if u need data transfer from both.

......micky
Reply With Quote
  #5 (permalink)  
Old 07-21-03, 03:48
yaya yaya is offline
Registered User
 
Join Date: Jul 2003
Posts: 4
how to do that
Reply With Quote
  #6 (permalink)  
Old 07-22-03, 09:05
yaya yaya is offline
Registered User
 
Join Date: Jul 2003
Posts: 4
the problem is the two db are not in the same computer
Reply With Quote
  #7 (permalink)  
Old 07-22-03, 09:44
aruneeshsalhotr aruneeshsalhotr is offline
Registered User
 
Join Date: Jul 2003
Location: US
Posts: 314
CRON JOBS

Hi
I am not fully sure of the solution I am writing, but couldnt CRON the job, and use triggers.
What the cronjob would probably do is insert or update a row in an UPDATE table, and this would trigger off the routine.

Any ideas ... andrewst.
Thanx and Regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On