RE: rules for database link usage

From: Bobby Curtis <curtisbl_at_gmail.com>
Date: Mon, 17 Feb 2014 10:55:49 -0500
Message-ID: <06a701cf2bf8$bb9483f0$32bd8bd0$_at_gmail.com>



Jeff,  

This is a slippery slope. Database Links can be good; however, I've seen the wrong use of them where they cause a problems. Example, if you query a view on the remote side through a dblink, your wait times may go up because you have wait for the view to compile and then return the result set. This extends your connection and retrieval times.  

If you have to use a database link, I would use materialized views on the remote side to keep the data readily available. This way you are not compiling on the fly and waiting for the result set to be returned.  

Ideally, I try to keep the data as close as possible to where the execution is going to happen.  

Just my 2cents.  

Bobby  

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jeff C
Sent: Monday, February 17, 2014 10:48 AM To: oracle-l_at_freelists.org
Subject: rules for database link usage  

What are you rules for using database links in a production application? We currently have an application that needs data from another database and I am torn between having them just use a database link or copying the data to their database using various methods.

I am leaning towards duplicating the data because I prefer to not have this database dependent on the other or one causing havoc on the other. But I guess if that didn't matter what in general are your rules?  

Jeff

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 17 2014 - 16:55:49 CET

Original text of this message