﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / Working with Oracle  / Performance of a Query : which one is giving good performace / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 11:52:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Performance of a Query : which one is giving good performace</title><link>http://www.sqlservercentral.com/Forums/Topic1400858-1044-1.aspx</link><description>[quote][b]Raghu.K (12/28/2012)[/b][hr]I want join 4 tables in the Oracle.Table 1 is having 4 different where conditions.Which one is better (Performance wise)1.Join all 4 tables and write table1 where conditions globally (After Joining 4 tables)2.Make Table1 as Derived Table with all where conditions and joining with 3 tables.[/quote]Not much to work with.Assuming you have the right indexes on place, test both cases. Since this is an Oracle question I would suggest to trace/tkprof both solutions then look at buffer_gets on both of them, usually the solution with the less buffer_gets would be the one that would perform the better.Hope this helps.</description><pubDate>Tue, 22 Jan 2013 18:35:04 GMT</pubDate><dc:creator>PaulB-TheOneAndOnly</dc:creator></item><item><title>RE: Performance of a Query : which one is giving good performace</title><link>http://www.sqlservercentral.com/Forums/Topic1400858-1044-1.aspx</link><description>Generally speaking (as this is a general question), probably Option 1 as it lets Oracle pick the best way of applying predicates. Under limited circumstances, option 2 will limit the way in which it applies predicates.Ask a general question get a general answer.</description><pubDate>Mon, 21 Jan 2013 17:12:04 GMT</pubDate><dc:creator>nick.mcdermaid</dc:creator></item><item><title>RE: Performance of a Query : which one is giving good performace</title><link>http://www.sqlservercentral.com/Forums/Topic1400858-1044-1.aspx</link><description>Can't tell much without actually seeing it. I had success using [url=http://www.orafaq.com/forum/]orafaq[/url], just be sure you read the forum guide. Do you have a testcase (create table, insert data, select query,query plan)?</description><pubDate>Fri, 28 Dec 2012 12:02:35 GMT</pubDate><dc:creator>Jo Pattyn</dc:creator></item><item><title>RE: Performance of a Query : which one is giving good performace</title><link>http://www.sqlservercentral.com/Forums/Topic1400858-1044-1.aspx</link><description>Test them and see?Alternately, maybe ask on an Oracle forum where you're more likely to get an answer.</description><pubDate>Fri, 28 Dec 2012 03:50:46 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>Performance of a Query : which one is giving good performace</title><link>http://www.sqlservercentral.com/Forums/Topic1400858-1044-1.aspx</link><description>Hi Please help me...I want join 4 tables in the Oracle.Table 1 is having 4 different where conditions.Which one is better (Performance wise)1.Join all 4 tables and write table1 where conditions globally (After Joining 4 tables)2.Make Table1 as Derived Table with all where conditions and joining with 3 tables.Please help me</description><pubDate>Fri, 28 Dec 2012 03:45:42 GMT</pubDate><dc:creator>Raghu.K</dc:creator></item></channel></rss>