From oracle-l-bounce@freelists.org Mon Jan 31 13:01:10 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j0VJ1AXP019199 for ; Mon, 31 Jan 2005 13:01:10 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j0VJ1Aem019192 for ; Mon, 31 Jan 2005 13:01:10 -0600 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4EB2468656; Mon, 31 Jan 2005 13:00:17 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06846-09; Mon, 31 Jan 2005 13:00:17 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C5A956827C; Mon, 31 Jan 2005 13:00:16 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RYCkaRLCAZ5tiPw0zCr97+Vfpz/6F3snqZq0tEJOoaIoaTF1FCuUhYTJqiCT88xWQBYoiDeu1NaucmV/zCH5A0iF/yRrcX15zntrh1tqHyM1vO5KjPERtpIlCtxWTJsYBeluDk6PnSvsBdsYhnm+UtXLHN1x+vqza5dw6ycXscU= Message-ID: Date: Mon, 31 Jan 2005 13:58:26 -0400 From: Juan Carlos Reyes Pacheco To: adar76@inter.net.il Subject: Re: View vs. Synonym (across DBLink) Cc: Oracle-L@freelists.org In-Reply-To: <028801c507c5$70f23380$e300a8c0@user12344> Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit References: <17ECCBDCF27C544583F2CAD928F953261A548C@memex1.corp.cefs.int> <028801c507c5$70f23380$e300a8c0@user12344> X-archive-position: 15498 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: juancarlosreyesp@gmail.com Precedence: normal Reply-To: juancarlosreyesp@gmail.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on air891.startdedicated.com X-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,MAILTO_TO_SPAM_ADDR autolearn=no version=2.60 X-Spam-Level: To optimize you can think in a function table too, if there are too much joins and calculations. On Mon, 31 Jan 2005 20:48:22 +0200, Yechiel Adar wrote: > You may want to check where most of the data is. > There is a hint to use the remote table as driving table for the query. I > think it is "driving_table". > I used it once and it made a huge difference. > > Yechiel Adar > Mehish Computer Services > ----- Original Message ----- > From: "Knight, Jon" > To: > Sent: Monday, January 31, 2005 7:12 PM > Subject: View vs. Synonym (across DBLink) > > > > While tuning a mammoth query, I noticed that one of the tables in the > from > > clause is actually a view. It's defined as "select * from > > table_name@dblink". Is there any reason to believe I could improve > > performance by dropping the view and using a synonym instead? > > > > Thanks, > > Jon Knight > > > > > > -- > > http://www.freelists.org/webpage/oracle-l > > -- > http://www.freelists.org/webpage/oracle-l > -- Oracle 9i,10g Certified Professional Experience on Orace 7,8i Developer 6i Certified Professional 8 years of experience in Administration, developing and design -- http://www.freelists.org/webpage/oracle-l