dbTalk Databases Forums  

creating database link

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss creating database link in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ravip via DBMonster.com
 
Posts: n/a

Default creating database link - 09-05-2007 , 10:19 PM






Hi,

I have some clarifications in creating the db link between two DB's. This is
the first time I'm trying to create it.

1. What is the pre-requisite before creating db link ? Is the netconfig
between these DB is required ?

2. Is there any performance issue when trying to access the remote object
thru db link.

Thanks in advance.

--
Message posted via http://www.dbmonster.com


Reply With Quote
  #2  
Old   
Brian Peasland
 
Posts: n/a

Default Re: creating database link - 09-06-2007 , 08:06 AM






Ravip via DBMonster.com wrote:
Quote:
Hi,

I have some clarifications in creating the db link between two DB's. This is
the first time I'm trying to create it.

1. What is the pre-requisite before creating db link ? Is the netconfig
between these DB is required ?
You need to configure a TNS alias in the TNSNAMES.ORA config file
located in $ORACLE_HOME/network/admin. The database will look for the
config file there. Once the TNS alias is defined, you can create the db
link using this alias.

Quote:
2. Is there any performance issue when trying to access the remote object
thru db link.
There are some issues. You are transmitting data across the network. So
you may have to ensure you network is up to the task. And it helps if
you limit the amount of data returned through the db link. So try to
construct your query to filter as much data as possible on the remote
side before returning the data to the local db.


HTH,
Brian


--
================================================== =================

Brian Peasland
dba (AT) nospam (DOT) peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown

--
Posted via a free Usenet account from http://www.teranews.com



Reply With Quote
  #3  
Old   
DA Morgan
 
Posts: n/a

Default Re: creating database link - 09-06-2007 , 08:38 AM



Ravip via DBMonster.com wrote:
Quote:
Hi,

I have some clarifications in creating the db link between two DB's. This is
the first time I'm trying to create it.

1. What is the pre-requisite before creating db link ? Is the netconfig
between these DB is required ?

2. Is there any performance issue when trying to access the remote object
thru db link.

Thanks in advance.
In addition to Brian's answer there are multiple ways to create a
DB link. Read the docs about them and what they do so that you build
the one most appropriate for your requirement.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #4  
Old   
Shakespeare
 
Posts: n/a

Default Re: creating database link - 09-06-2007 , 09:59 AM




"Brian Peasland" <dba (AT) nospam (DOT) peasland.net> schreef in bericht
news:46dfef38$0$13829$88260bb3 (AT) free (DOT) teranews.com...
Quote:
Ravip via DBMonster.com wrote:
Hi,

I have some clarifications in creating the db link between two DB's. This
is
the first time I'm trying to create it. 1. What is the pre-requisite
before creating db link ? Is the netconfig
between these DB is required ?

You need to configure a TNS alias in the TNSNAMES.ORA config file located
in $ORACLE_HOME/network/admin.
<SNAP>

on your server that is....
Sounds logical, but I've seen people doing that on a client..... ;-)

Shakespeare




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.