Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Two DBLINK or not two DBLINK?
A question you should ask is what processes will use these database links
and how many concurrent sessions will be involved.
A while ago I went to a PeopleSoft site with separate HR and Finance database. They had database links going in both directions. BTW - this was a customisation, the vanilla product is not delivered like this.
i) A database link from HR to Financials was used by the Payroll process to post to the GL system. So a single batch process inserted a batch of data into a remote table - that worked fine.
ii) Both HR and Finance hold employee name data. In Financials it is need for employee expense processing to search for employee by name, and to display the name associated with an employee ID. They had replaced the NAMES table in Financials with a view across the database link to the NAMES table in HR. This meant that lots of process where using the link concurrently. I found this in a statspack report.
Top 5 Wait Events
~~~~~~~~~~~~~~~~~ Wait % Total Event Waits Time (cs) WtTime
-------------------------------------------- ------------ ------------- ---- --- SQL*Net message from dblink 10,128,485 6,812,419,011 40.00 db file scattered read 4,733,976 6,811,718,066 40.00 db file sequential read 2,744,015 3,405,871,41820.00
The number of sessions that can concurrently use database links is limited
by the OPEN_LINKS and OPEN_LINKS_PER_INSTANCE
see
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96536/ch1133.htm
.
So the number of open links was severely impacting the performance of the
finanacials system.
(In this case I suggested that they replicate the table to financials rather
than read it across a link every time)
regards
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jesse, Rich
> Sent: 15 December 2006 18:40
> To: ORACLE-L
> Subject: Two DBLINK or not two DBLINK?
> >
>
>
>
>
> > >
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Dec 15 2006 - 13:15:07 CST
![]() |
![]() |