RE: Executing a query for the output without doing the SQLNet round trips

From: Hemant K Chitale <hkchital_at_singnet.com.sg>
Date: Thu, 05 Feb 2009 22:43:32 +0800
Message-Id: <200902051443.n15EhcOV001689_at_smtp17.singnet.com.sg>


  1. Whether I use an Indexed colum or a FullTableScan, it is the ResultSet that will be causing the SQL*Net round-trips that I which to avoid.
  2. No, this is not a server-side job. I am demonstrating (creating a test case) the impact of differences in execution plan (FullTableScans, ClusteringFactor,IndexRangeScan) on the amount of work the database has to do. If I make a large number of SQL*Net round-trips, not only are my SQL*Net waits higher, but so are my 'consistent gets'. It is these that I want to avoid.

At 01:29 AM Wednesday, Herald ten Dam wrote:
>Is the option to put the query in a job, which you schedule? A job
>always runs in de serversite and will not give round trips.
>
>Herald ten Dam
>Superconsult
>
>----------
>Van: oracle-l-bounce_at_freelists.org [oracle-l-bounce_at_freelists.org]
>namens Vishal Gupta [vishal_at_vishalgupta.com]
>Verzonden: dinsdag 3 februari 2009 18:13
>Aan: hkchital_at_singnet.com.sg; sjaffarhussain_at_gmail.com;
>hkchital_at_singnet.com.sg
>CC: oracle-l_at_freelists.org
>Onderwerp: RE: Executing a query for the output without doing the
>SQLNet round trips
>
>Hemant,
>
>If put an your query as inline view and do a count on non-indexed
>column, then you will be able to all the physical/logical IO and
>table accces (full or by rowid via index) in your query and can
>avoid SQL*Net round trips. If this what you are after?
>
>eg.
>
>select COUNT(non-indexed-column)
>from (
> your query
> );
>
>
>Regards,
>Vishal Gupta
><http://www.vishalgupta.com>http://www.vishalgupta.com
>

Hemant K Chitale
http://hemantoracledba.blogspot.com

"A 'No' uttered from the deepest conviction is better than a 'Yes' merely uttered to please, or worse, to avoid trouble." Mohandas Gandhi Quotes
: http://www.brainyquote.com/quotes/authors/m/mohandas_gandhi.html

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 05 2009 - 08:43:32 CST

Original text of this message