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
Solved

ORACLE 9.0.2 DBLINK between two linux  servers.

Posted on 2006-10-19
4
671 Views
Last Modified: 2013-12-11
Once I am connected to an Oracle 9 DB I  need - probably thru DBLINK - to access to some tables on another ORACLE DB located into another Oracle server.

I have done some changes in the tnsnames.ora of each server but I am probably missing something?

Can anybody help me?
0
Comment
Question by:egomeze
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:Pierrick LOUBIER
ID: 17766326
No changes are required on the target (DB to connect to). Here are the steps on the source :
1/ Add the target service name to TNSNAMES.ORA
2/ Check connectivity with TNSPING
3/ Create a DB link (syntax at http://www.ss64.com/ora/link_c.html)
4/ Target tables are : <owner>.<table_name>@<db_link>
0
 

Author Comment

by:egomeze
ID: 17766847
Thanks, I have checked it and it works fine.
By the way, jst before closing the issue. Shouldn't be better to add a new listener for the target server to get a better performace and security?
0
 

Author Comment

by:egomeze
ID: 17766868
By the way, jst before closing the issue. Shouldn't be better to add a new listener for the target server to get a better performace and security?
0
 
LVL 8

Accepted Solution

by:
Pierrick LOUBIER earned 260 total points
ID: 17769882
Nope.
You'll have to secure and monitor 2 listeners, and the second listener will waste a little bit of RAM.
The only benefit I can imagine is related to firewalls (ie if you must use specific ports between the 2 hosts)...
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.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
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.  …
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

791 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