<?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"
	>
<channel>
	<title>Comments on: How to Create Multiple Indexes in a Single DDL Statement</title>
	<atom:link href="http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/feed/" rel="self" type="application/rss+xml" />
	<link>http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/</link>
	<description>Oracle Data Warehouse Design and Architecture</description>
	<pubDate>Fri, 04 Jul 2008 18:47:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>By: David Aldridge</title>
		<link>http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/#comment-50885</link>
		<dc:creator>David Aldridge</dc:creator>
		<pubDate>Mon, 31 Mar 2008 15:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://oraclesponge.wordpress.com/?p=360#comment-50885</guid>
		<description>I'm not sure if anyone's using that command much, Mathew. There are so many limitations on it that I don't.

I feel like it's one of those features where all of the underlying technologies are there, they just have to be stitched together.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if anyone&#8217;s using that command much, Mathew. There are so many limitations on it that I don&#8217;t.</p>
<p>I feel like it&#8217;s one of those features where all of the underlying technologies are there, they just have to be stitched together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathew Butler</title>
		<link>http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/#comment-50884</link>
		<dc:creator>Mathew Butler</dc:creator>
		<pubDate>Mon, 31 Mar 2008 13:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://oraclesponge.wordpress.com/?p=360#comment-50884</guid>
		<description>Sounds like a possible enhancement request against CREATE SCHEMA:

http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6014.htm#i2154127

The documentation states that parallel hints are supported but will be ignored - though only documented for tables. It's not clear whether parallel creation of a single index is allowed. Most of the contents of the command would have to be executed sequentially, for dependency reasons. 

I can't see any reason why multiple indexes from the statement couldn't be created in parallel though.

As you say, enhancement request time...</description>
		<content:encoded><![CDATA[<p>Sounds like a possible enhancement request against CREATE SCHEMA:</p>
<p><a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6014.htm#i2154127" rel="nofollow">http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6014.htm#i2154127</a></p>
<p>The documentation states that parallel hints are supported but will be ignored - though only documented for tables. It&#8217;s not clear whether parallel creation of a single index is allowed. Most of the contents of the command would have to be executed sequentially, for dependency reasons. </p>
<p>I can&#8217;t see any reason why multiple indexes from the statement couldn&#8217;t be created in parallel though.</p>
<p>As you say, enhancement request time&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/#comment-50876</link>
		<dc:creator>David Aldridge</dc:creator>
		<pubDate>Thu, 27 Mar 2008 17:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://oraclesponge.wordpress.com/?p=360#comment-50876</guid>
		<description>I have another thought on this -- in some ways this is similar to multitable insert. You can reduce the impact of running multiple single table inserts from the same source tables by relying on caching, but ultimately multitable insert is still a valuable tool</description>
		<content:encoded><![CDATA[<p>I have another thought on this &#8212; in some ways this is similar to multitable insert. You can reduce the impact of running multiple single table inserts from the same source tables by relying on caching, but ultimately multitable insert is still a valuable tool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/#comment-50875</link>
		<dc:creator>David Aldridge</dc:creator>
		<pubDate>Thu, 27 Mar 2008 17:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://oraclesponge.wordpress.com/?p=360#comment-50875</guid>
		<description>Yes, and I have done that before, but ...
i) It's a real pain to code
ii) there are still the logical reads required
iii) all of those buffer busy waits don't look good. http://oraclesponge.wordpress.com/2008/03/05/buffer-busy-waits/
iv) No parallelism -- although i recall hearing that using the cache hint with an parallel query does load blocks to the buffer cache, so you could start a parallel cached full table/partition scan and follow it up with simultaneous sessions building indexes noparallel (I'm not sure if parallel query on a table set to cache does the same thing). You'd need a buffer cache that was (probably considerably) larger than the data segment you're scanning. On the other hand a cache in the hardware would help anyway.</description>
		<content:encoded><![CDATA[<p>Yes, and I have done that before, but &#8230;<br />
i) It&#8217;s a real pain to code<br />
ii) there are still the logical reads required<br />
iii) all of those buffer busy waits don&#8217;t look good. <a href="http://oraclesponge.wordpress.com/2008/03/05/buffer-busy-waits/" rel="nofollow">http://oraclesponge.wordpress.com/2008/03/05/buffer-busy-waits/</a><br />
iv) No parallelism &#8212; although i recall hearing that using the cache hint with an parallel query does load blocks to the buffer cache, so you could start a parallel cached full table/partition scan and follow it up with simultaneous sessions building indexes noparallel (I&#8217;m not sure if parallel query on a table set to cache does the same thing). You&#8217;d need a buffer cache that was (probably considerably) larger than the data segment you&#8217;re scanning. On the other hand a cache in the hardware would help anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Bucata</title>
		<link>http://oraclesponge.wordpress.com/2008/03/26/how-to-create-multiple-indexes-in-a-single-ddl-statement/#comment-50874</link>
		<dc:creator>Jason Bucata</dc:creator>
		<pubDate>Thu, 27 Mar 2008 16:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://oraclesponge.wordpress.com/?p=360#comment-50874</guid>
		<description>Wouldn't buffer caching give you most of the benefit here, assuming you ran your index creates simultaneously in different sessions without parallelism?

If it's partitioned, you could build index partitions one at a time...</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t buffer caching give you most of the benefit here, assuming you ran your index creates simultaneously in different sessions without parallelism?</p>
<p>If it&#8217;s partitioned, you could build index partitions one at a time&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
