<?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/"
		>
<channel>
	<title>Comments on: Automated Index Defrag Script</title>
	<atom:link href="http://sqlfool.com/2009/03/automated-index-defrag-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlfool.com/2009/03/automated-index-defrag-script/</link>
	<description>Self-Professed SQL Scripting Junkie!</description>
	<lastBuildDate>Fri, 04 May 2012 08:30:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Meghana</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-7245</link>
		<dc:creator>Meghana</dc:creator>
		<pubDate>Wed, 25 Jan 2012 09:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-7245</guid>
		<description>Hi ,

Great Script…

I have few query on this script…
In this script ,
its checking if @allowPageLocks =0 (count for index which have Allow_Page_Locks=0) and if object have 1 or more LOB Objects then although index fragmentation value exceeds the rebuidthreshold value , it dont make rebuid , but make reorganization on it.

I am a little confused on it, and need to know , what is reason that we should do rebuid on index if we found ,1 or more LOB objects and Allow_Page_Locks=0</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>Great Script…</p>
<p>I have few query on this script…<br />
In this script ,<br />
its checking if @allowPageLocks =0 (count for index which have Allow_Page_Locks=0) and if object have 1 or more LOB Objects then although index fragmentation value exceeds the rebuidthreshold value , it dont make rebuid , but make reorganization on it.</p>
<p>I am a little confused on it, and need to know , what is reason that we should do rebuid on index if we found ,1 or more LOB objects and Allow_Page_Locks=0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike S</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-7190</link>
		<dc:creator>Mike S</dc:creator>
		<pubDate>Fri, 23 Dec 2011 20:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-7190</guid>
		<description>Hey Michelle - I seem to remember you once had some logic in this that had the procedure quit if it went outside a maintenance window (e.g. if it ran past 5 AM server time).  Is my memory playing tricks in my old age?

PS.  How&#039;s the baby?</description>
		<content:encoded><![CDATA[<p>Hey Michelle &#8211; I seem to remember you once had some logic in this that had the procedure quit if it went outside a maintenance window (e.g. if it ran past 5 AM server time).  Is my memory playing tricks in my old age?</p>
<p>PS.  How&#8217;s the baby?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-7171</link>
		<dc:creator>D</dc:creator>
		<pubDate>Fri, 16 Dec 2011 20:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-7171</guid>
		<description>Thanks very much for this - I&#039;ve used it and trimmed it to my needs (removed the log tables etc).

Amazing piece of work though.  Nice one.</description>
		<content:encoded><![CDATA[<p>Thanks very much for this &#8211; I&#8217;ve used it and trimmed it to my needs (removed the log tables etc).</p>
<p>Amazing piece of work though.  Nice one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IRFAN</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-7144</link>
		<dc:creator>IRFAN</dc:creator>
		<pubDate>Tue, 06 Dec 2011 07:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-7144</guid>
		<description>GETTING ERROR WHEN CREATING THE PROCEDURE

Msg 102, Level 15, State 1, Procedure dba_indexDefrag_sp, Line 464
Incorrect syntax near &#039;OBJECT_ID&#039;.</description>
		<content:encoded><![CDATA[<p>GETTING ERROR WHEN CREATING THE PROCEDURE</p>
<p>Msg 102, Level 15, State 1, Procedure dba_indexDefrag_sp, Line 464<br />
Incorrect syntax near &#8216;OBJECT_ID&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How do you want your index? &#124; Verity</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-5749</link>
		<dc:creator>How do you want your index? &#124; Verity</dc:creator>
		<pubDate>Mon, 11 Apr 2011 11:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-5749</guid>
		<description>[...] A popular script out there is this one http://sqlfool.com/2010/04/index-defrag-script-v4-0/ or the more basic, older, one: http://sqlfool.com/2009/03/automated-index-defrag-script/ [...]</description>
		<content:encoded><![CDATA[<p>[...] A popular script out there is this one <a href="http://sqlfool.com/2010/04/index-defrag-script-v4-0/" rel="nofollow">http://sqlfool.com/2010/04/index-defrag-script-v4-0/</a> or the more basic, older, one: <a href="http://sqlfool.com/2009/03/automated-index-defrag-script/" rel="nofollow">http://sqlfool.com/2009/03/automated-index-defrag-script/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DSA</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-5726</link>
		<dc:creator>DSA</dc:creator>
		<pubDate>Mon, 28 Mar 2011 12:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-5726</guid>
		<description>Hello,


Have you this script for sql server 2000?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Have you this script for sql server 2000?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriano</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-5575</link>
		<dc:creator>Adriano</dc:creator>
		<pubDate>Mon, 24 Jan 2011 17:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-5575</guid>
		<description>Hi, I apologize for my English (I&#039;m Italian). I want to know how to use the script and the extension.
Can I use it on a database maintained by iAnywhere?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I apologize for my English (I&#8217;m Italian). I want to know how to use the script and the extension.<br />
Can I use it on a database maintained by iAnywhere?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle Ufford</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-5449</link>
		<dc:creator>Michelle Ufford</dc:creator>
		<pubDate>Wed, 15 Dec 2010 03:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-5449</guid>
		<description>Hi Sunil,

The job is probably not hung.  My guess if you either have a lot of indexes that need to be defragged, or some are really large.  Most likely a combination of both.  Regardless, if you need to kill the job, rest assured that nothing needs to be rolled back and that the indexes will *not* be dropped.  

Hope that helps.

Michelle</description>
		<content:encoded><![CDATA[<p>Hi Sunil,</p>
<p>The job is probably not hung.  My guess if you either have a lot of indexes that need to be defragged, or some are really large.  Most likely a combination of both.  Regardless, if you need to kill the job, rest assured that nothing needs to be rolled back and that the indexes will *not* be dropped.  </p>
<p>Hope that helps.</p>
<p>Michelle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunil</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-5443</link>
		<dc:creator>sunil</dc:creator>
		<pubDate>Mon, 13 Dec 2010 09:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-5443</guid>
		<description>Hi Michelle,

            I started my rebuild index job and its running for hours and i could see the job is hung, can i kill it ,if so will the indexes gets dropped or not, please let me know.

Regards
Sunil.B</description>
		<content:encoded><![CDATA[<p>Hi Michelle,</p>
<p>            I started my rebuild index job and its running for hours and i could see the job is hung, can i kill it ,if so will the indexes gets dropped or not, please let me know.</p>
<p>Regards<br />
Sunil.B</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon Orlov</title>
		<link>http://sqlfool.com/2009/03/automated-index-defrag-script/comment-page-1/#comment-5231</link>
		<dc:creator>Leon Orlov</dc:creator>
		<pubDate>Mon, 23 Aug 2010 22:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://sqlfool.com/?p=689#comment-5231</guid>
		<description>Thank you.  Very useful script for large databases.  I fixed a few minor issues reported above.  Made some additional modification and make is a permanent member of my sql_script library.  

By rebuilding/reorg-ing index with this script you can cut time significantly to avoid unnecessary index rebuilds.

cheers</description>
		<content:encoded><![CDATA[<p>Thank you.  Very useful script for large databases.  I fixed a few minor issues reported above.  Made some additional modification and make is a permanent member of my sql_script library.  </p>
<p>By rebuilding/reorg-ing index with this script you can cut time significantly to avoid unnecessary index rebuilds.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>

