<?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: Sorted Hash Clusters</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Tue, 18 Jun 2013 17:11:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Log Buffer #106: A Carnival of the Vanities for DBAs</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-53508</link>
		<dc:creator><![CDATA[Log Buffer #106: A Carnival of the Vanities for DBAs]]></dc:creator>
		<pubDate>Wed, 13 Feb 2013 16:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-53508</guid>
		<description><![CDATA[[...] tool that he likes to use for security audits. Next, Jonathan Lewis gives a hard-hitting expose on sorted hash clusters, and it doesn&#8217;t look good for [...]]]></description>
		<content:encoded><![CDATA[<p>[...] tool that he likes to use for security audits. Next, Jonathan Lewis gives a hard-hitting expose on sorted hash clusters, and it doesn&#8217;t look good for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hash Clusters &#8211; 2 &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-34576</link>
		<dc:creator><![CDATA[Hash Clusters &#8211; 2 &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Mon, 05 Oct 2009 21:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-34576</guid>
		<description><![CDATA[[...]  Hash Clusters &#8211; 1: also references a link on OTN where I&#8217;ve made a couple of comments Sorted Hash Clusters: An introduction to a relatively new, interesting, but (at the time) buggy feature Sorted Hash [...]]]></description>
		<content:encoded><![CDATA[<p>[...]  Hash Clusters &#8211; 1: also references a link on OTN where I&#8217;ve made a couple of comments Sorted Hash Clusters: An introduction to a relatively new, interesting, but (at the time) buggy feature Sorted Hash [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-33838</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 10 Jul 2009 12:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-33838</guid>
		<description><![CDATA[Vlad,

I missed this posting first time around - sorry about that.

I&#039;ve just run a script like yours on 10.2.0.3 and 11.1.0.6 and Oracle doesn&#039;t create a new index to protect the primary key. 

It looks like it&#039;s using the system-generated index on the hash key to support the primary key - possibly on the assumption that it should be quick enough to check for a duplicate by using the basic mechanisms of handling sorted hash clusters.]]></description>
		<content:encoded><![CDATA[<p>Vlad,</p>
<p>I missed this posting first time around &#8211; sorry about that.</p>
<p>I&#8217;ve just run a script like yours on 10.2.0.3 and 11.1.0.6 and Oracle doesn&#8217;t create a new index to protect the primary key. </p>
<p>It looks like it&#8217;s using the system-generated index on the hash key to support the primary key &#8211; possibly on the assumption that it should be quick enough to check for a duplicate by using the basic mechanisms of handling sorted hash clusters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sorted Hash Clusters - 2 &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31542</link>
		<dc:creator><![CDATA[Sorted Hash Clusters - 2 &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Tue, 22 Jul 2008 07:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31542</guid>
		<description><![CDATA[[...] Sorted Hash Clusters -&#160;2 Filed under: Uncategorized &#8212; Jonathan Lewis @ 7:16 am UTC Jul 22,2008   [Back to Part 1] [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Sorted Hash Clusters -&nbsp;2 Filed under: Uncategorized &#8212; Jonathan Lewis @ 7:16 am UTC Jul 22,2008   [Back to Part 1] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vlad</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31532</link>
		<dc:creator><![CDATA[vlad]]></dc:creator>
		<pubDate>Sun, 20 Jul 2008 01:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31532</guid>
		<description><![CDATA[Jonathan,

My comment was related to your conclusion that there was something very specific about sorted hash clusters.
That reminded me of something I discovered a long time ago.
But was I wrong?
Do you have an index when you create the primary key constraint at the same time as the table?
I do not see any index created with the following script:

drop table sorted_hash_table
;
select count(*) from dba_indexes
;
create table sorted_hash_table (
	hash_value	number,
	sort_value	varchar2(2),	--	sort,
	v1		varchar2(10),
	padding		varchar2(100),
constraint sht_pk primary key(hash_value,sort_value)
)
cluster sorted_hash_cluster (
	hash_value, sort_value
)
;
select count(*) from dba_indexes
;

The user_constraints view shows an index named &quot;_NEXT_OBJECT&quot; which must be a weakness of the view definition.]]></description>
		<content:encoded><![CDATA[<p>Jonathan,</p>
<p>My comment was related to your conclusion that there was something very specific about sorted hash clusters.<br />
That reminded me of something I discovered a long time ago.<br />
But was I wrong?<br />
Do you have an index when you create the primary key constraint at the same time as the table?<br />
I do not see any index created with the following script:</p>
<p>drop table sorted_hash_table<br />
;<br />
select count(*) from dba_indexes<br />
;<br />
create table sorted_hash_table (<br />
	hash_value	number,<br />
	sort_value	varchar2(2),	&#8211;	sort,<br />
	v1		varchar2(10),<br />
	padding		varchar2(100),<br />
constraint sht_pk primary key(hash_value,sort_value)<br />
)<br />
cluster sorted_hash_cluster (<br />
	hash_value, sort_value<br />
)<br />
;<br />
select count(*) from dba_indexes<br />
;</p>
<p>The user_constraints view shows an index named &#8220;_NEXT_OBJECT&#8221; which must be a weakness of the view definition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31531</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sat, 19 Jul 2008 21:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31531</guid>
		<description><![CDATA[Vlad,

I&#039;m not sure I understand your comment. In my example (hash_value, sort_value) is not intended to be the primary key.  If I add a constraint to make it a primey key I expect to see (and did in a quick test on 10.2.0.1) a unique index created on those two columns.]]></description>
		<content:encoded><![CDATA[<p>Vlad,</p>
<p>I&#8217;m not sure I understand your comment. In my example (hash_value, sort_value) is not intended to be the primary key.  If I add a constraint to make it a primey key I expect to see (and did in a quick test on 10.2.0.1) a unique index created on those two columns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vlad</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31530</link>
		<dc:creator><![CDATA[vlad]]></dc:creator>
		<pubDate>Sat, 19 Jul 2008 17:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31530</guid>
		<description><![CDATA[If hash+sort columns is primary key, a typical unique index on those columns does not appear to exist to enforce this pk...]]></description>
		<content:encoded><![CDATA[<p>If hash+sort columns is primary key, a typical unique index on those columns does not appear to exist to enforce this pk&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lascoltodelvenerdi</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31525</link>
		<dc:creator><![CDATA[lascoltodelvenerdi]]></dc:creator>
		<pubDate>Fri, 18 Jul 2008 09:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31525</guid>
		<description><![CDATA[@Jonathan

Don&#039;t worry, I was joking.

I also run a little blog and I know that life+work+study+blog can be equal to less spare time... :(

You are doing a very interesting work!
Thumbs up! :lol:]]></description>
		<content:encoded><![CDATA[<p>@Jonathan</p>
<p>Don&#8217;t worry, I was joking.</p>
<p>I also run a little blog and I know that life+work+study+blog can be equal to less spare time&#8230; :(</p>
<p>You are doing a very interesting work!<br />
Thumbs up! :lol:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31523</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 17 Jul 2008 13:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31523</guid>
		<description><![CDATA[lascoltodelvenerdi,

Sorry, finding the time to write this stuff can be a little difficult. But I&#039;m going to be spending about 12 hours on trains with Wifi next week - so the wait might not be too long.

The &lt;b&gt;sort&lt;/b&gt; is required for the cluster but is optional for the table - that&#039;s why I&#039;ve commented it only for the table.]]></description>
		<content:encoded><![CDATA[<p>lascoltodelvenerdi,</p>
<p>Sorry, finding the time to write this stuff can be a little difficult. But I&#8217;m going to be spending about 12 hours on trains with Wifi next week &#8211; so the wait might not be too long.</p>
<p>The <b>sort</b> is required for the cluster but is optional for the table &#8211; that&#8217;s why I&#8217;ve commented it only for the table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lascoltodelvenerdi</title>
		<link>http://jonathanlewis.wordpress.com/2008/07/13/sorted-hash-clusters/#comment-31522</link>
		<dc:creator><![CDATA[lascoltodelvenerdi]]></dc:creator>
		<pubDate>Thu, 17 Jul 2008 12:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=379#comment-31522</guid>
		<description><![CDATA[What?

We must wait the next one?

But I want to know it now! ^_^

Great article as always.

A very little error: on the first create cluster, the create cluster sorted_hash_cluster one, you miss a &#039;--&#039; before the word &quot;sort&quot;]]></description>
		<content:encoded><![CDATA[<p>What?</p>
<p>We must wait the next one?</p>
<p>But I want to know it now! ^_^</p>
<p>Great article as always.</p>
<p>A very little error: on the first create cluster, the create cluster sorted_hash_cluster one, you miss a &#8216;&#8211;&#8217; before the word &#8220;sort&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
