<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL*Net compression</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Fri, 24 May 2013 13:27:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Edwin</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-55695</link>
		<dc:creator><![CDATA[Edwin]]></dc:creator>
		<pubDate>Thu, 16 May 2013 09:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-55695</guid>
		<description><![CDATA[You asked, &quot; how come the number of SQL*Net round-trips hasn’t dropped. (I’ll leave the second question for another posting – there’s too much to say in just one note.)&quot;.   Was this answered in another post?

I&#039;ve a scenario where bytes sent via SQL*NET is distinctly higher on a one particular database (11G) and another (10G), but roundtrip to/from remains the same.   How can a higher number of bytes be transferred in the same amounf of roundtrip?]]></description>
		<content:encoded><![CDATA[<p>You asked, &#8221; how come the number of SQL*Net round-trips hasn’t dropped. (I’ll leave the second question for another posting – there’s too much to say in just one note.)&#8221;.   Was this answered in another post?</p>
<p>I&#8217;ve a scenario where bytes sent via SQL*NET is distinctly higher on a one particular database (11G) and another (10G), but roundtrip to/from remains the same.   How can a higher number of bytes be transferred in the same amounf of roundtrip?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Give Me a Hint &#8211; How were These Autotrace Execution Statistics Achieved? &#171; Charles Hooper&#039;s Oracle Notes</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-40872</link>
		<dc:creator><![CDATA[Give Me a Hint &#8211; How were These Autotrace Execution Statistics Achieved? &#171; Charles Hooper&#039;s Oracle Notes]]></dc:creator>
		<pubDate>Mon, 27 Jun 2011 13:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-40872</guid>
		<description><![CDATA[[...] were transferred over the network in the unhinted version of the query?  Could it be a case where SQL*Net compression has helped to strip the repeating columns from adjacent rows in the result set prior to [...]]]></description>
		<content:encoded><![CDATA[<p>[...] were transferred over the network in the unhinted version of the query?  Could it be a case where SQL*Net compression has helped to strip the repeating columns from adjacent rows in the result set prior to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-39659</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 22 Feb 2011 11:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-39659</guid>
		<description><![CDATA[Jason,

More importantly, probably, is that if you sort the data to reduce the network volume you need to be sure  that the front-end doesn&#039;t care about the order.

However, your point is taken, and comes under the general principle of using whichever resource is spare to reduce the load on the resource that is the bottleneck.  If the network is the problem and CPU is available ... (which was the case in my Informatica example above).]]></description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>More importantly, probably, is that if you sort the data to reduce the network volume you need to be sure  that the front-end doesn&#8217;t care about the order.</p>
<p>However, your point is taken, and comes under the general principle of using whichever resource is spare to reduce the load on the resource that is the bottleneck.  If the network is the problem and CPU is available &#8230; (which was the case in my Informatica example above).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-39647</link>
		<dc:creator><![CDATA[jason]]></dc:creator>
		<pubDate>Tue, 22 Feb 2011 03:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-39647</guid>
		<description><![CDATA[interesting article, but isn&#039;t more overhead put on the server(cpu/memory) as Oracle has to sort data first? I feel this comes at the price of stretching system resource, not sure if it&#039;s worthwhile doing so in reality.]]></description>
		<content:encoded><![CDATA[<p>interesting article, but isn&#8217;t more overhead put on the server(cpu/memory) as Oracle has to sort data first? I feel this comes at the price of stretching system resource, not sure if it&#8217;s worthwhile doing so in reality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL Net Compression &#171; Systems Engineering and RDBMS</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-36468</link>
		<dc:creator><![CDATA[SQL Net Compression &#171; Systems Engineering and RDBMS]]></dc:creator>
		<pubDate>Thu, 10 Jun 2010 18:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-36468</guid>
		<description><![CDATA[[...] http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/" rel="nofollow">http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-36450</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 08 Jun 2010 22:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-36450</guid>
		<description><![CDATA[Tim,

I don&#039;t know of any option to disable the feature, and haven&#039;t been able to find anything on Metalink (MOS).  Have you tried raising an SR ?]]></description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>I don&#8217;t know of any option to disable the feature, and haven&#8217;t been able to find anything on Metalink (MOS).  Have you tried raising an SR ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Hopkins</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-36426</link>
		<dc:creator><![CDATA[Tim Hopkins]]></dc:creator>
		<pubDate>Fri, 04 Jun 2010 15:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-36426</guid>
		<description><![CDATA[In regards to JDBC thin - Using the new tracing added to the 11.2 JDBC driver (enabled using oracle.net.ns.level), against an 11.2.0.1 DB, I can see this form of deduplication occuring. 

Unfortunately, I&#039;m looking because we&#039;re intermittently getting a single column replaced by null (ASCII 0) characters. The null characters don&#039;t appear in the actual stream from the server so I&#039;m suspecting it might be something going wrong with this de-dup process.

Does anyone know of a way to disable it to test the theory?]]></description>
		<content:encoded><![CDATA[<p>In regards to JDBC thin &#8211; Using the new tracing added to the 11.2 JDBC driver (enabled using oracle.net.ns.level), against an 11.2.0.1 DB, I can see this form of deduplication occuring. </p>
<p>Unfortunately, I&#8217;m looking because we&#8217;re intermittently getting a single column replaced by null (ASCII 0) characters. The null characters don&#8217;t appear in the actual stream from the server so I&#8217;m suspecting it might be something going wrong with this de-dup process.</p>
<p>Does anyone know of a way to disable it to test the theory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Preiss</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-36399</link>
		<dc:creator><![CDATA[Martin Preiss]]></dc:creator>
		<pubDate>Wed, 02 Jun 2010 08:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-36399</guid>
		<description><![CDATA[Jonathan,
thank you for the plausible explanation and the test (and by the way for your blog and your books)]]></description>
		<content:encoded><![CDATA[<p>Jonathan,<br />
thank you for the plausible explanation and the test (and by the way for your blog and your books)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-36397</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 02 Jun 2010 07:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-36397</guid>
		<description><![CDATA[Martin,
I think this may be a result of a fixed overhead for compression (or de-duplication, which might be a slightly better term). I think a row probably has to say &quot;this column is the same as last time&quot;, so I would look for a fixed size token to represent &quot;same as last row&quot;.

Test:  create a table of 1,000,000 rows with a constant (e.g. 1000000001) and a variable (e.g. 1000000001 + rownum) column, set a large arraysize (5,000 is the max) then select each column in turn with autotrace traceonly statistics.  See if the difference in volume is significant. It is, but there is a minimum volume of data per row which means you don&#039;t see much of a saving with a single column of small numbers.]]></description>
		<content:encoded><![CDATA[<p>Martin,<br />
I think this may be a result of a fixed overhead for compression (or de-duplication, which might be a slightly better term). I think a row probably has to say &#8220;this column is the same as last time&#8221;, so I would look for a fixed size token to represent &#8220;same as last row&#8221;.</p>
<p>Test:  create a table of 1,000,000 rows with a constant (e.g. 1000000001) and a variable (e.g. 1000000001 + rownum) column, set a large arraysize (5,000 is the max) then select each column in turn with autotrace traceonly statistics.  See if the difference in volume is significant. It is, but there is a minimum volume of data per row which means you don&#8217;t see much of a saving with a single column of small numbers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Preiss</title>
		<link>http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/#comment-36395</link>
		<dc:creator><![CDATA[Martin Preiss]]></dc:creator>
		<pubDate>Wed, 02 Jun 2010 06:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3595#comment-36395</guid>
		<description><![CDATA[Jonathan,
when I use your example in my database (10.2.0.4) I get - it&#039;s no surprise - the same results. But when I replace &quot;lpad(dbms_random.string(&#039;U&#039;,2),40,&#039;X&#039;)  v1&quot; by a simple &quot;mod(rownum, 10) v1&quot; I see that the sorted query transfers a little bit more data than the query without sorting (without order by: 44144 bytes sent via SQL*Net to client; with &quot;order by v1&quot;: 51151  bytes sent via SQL*Net to client). Is this an effect of the small size of the column or does the de-duplication not work with numeric data (or work different)? I have no idea how to test this ...

Regards
Martin Preiss]]></description>
		<content:encoded><![CDATA[<p>Jonathan,<br />
when I use your example in my database (10.2.0.4) I get &#8211; it&#8217;s no surprise &#8211; the same results. But when I replace &#8220;lpad(dbms_random.string(&#8216;U&#8217;,2),40,&#8217;X')  v1&#8243; by a simple &#8220;mod(rownum, 10) v1&#8243; I see that the sorted query transfers a little bit more data than the query without sorting (without order by: 44144 bytes sent via SQL*Net to client; with &#8220;order by v1&#8243;: 51151  bytes sent via SQL*Net to client). Is this an effect of the small size of the column or does the de-duplication not work with numeric data (or work different)? I have no idea how to test this &#8230;</p>
<p>Regards<br />
Martin Preiss</p>
]]></content:encoded>
	</item>
</channel>
</rss>
