<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'statistics', 'index maintenance', and 'maintenance plans'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=statistics,index+maintenance,maintenance+plans&amp;orTags=0</link><description>Search results matching tags 'statistics', 'index maintenance', and 'maintenance plans'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Ola Hallengren adds STATISTICS support to his solution</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2010/12/13/ola-hallengren-adds-statistics-support-to-his-solution.aspx</link><pubDate>Mon, 13 Dec 2010 19:56:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:31576</guid><dc:creator>AaronBertrand</dc:creator><description>
&lt;p&gt;Last week, Ola published a very useful update to his &lt;a href="http://ola.hallengren.com/Versions.html" title="http://ola.hallengren.com/Versions.html" target="_blank"&gt;Backup, Integrity Check and Index Optimization scripts&lt;/a&gt;: the solution now supports updating statistics.&amp;nbsp; There are several options, such as only updating when the data has been modified and using the RESAMPLE and NORECOMPUTE options.&amp;nbsp; An example call:&lt;/p&gt;

&lt;blockquote&gt;
&lt;table bgcolor="#eeeeee" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre style="padding:10px 20px;font-size:12px;font-family:consolas,lucida console,courier new,courier;-moz-background-inline-policy:continuous;"&gt;&lt;font color="blue"&gt;EXEC&lt;/font&gt; dbo.IndexOptimize
&lt;font color="#666666"&gt;    @Databases                  = &lt;font color="red"&gt;'USER_DATABASES'&lt;/font&gt;,
    @FragmentationHigh_LOB      = &lt;font color="red"&gt;'INDEX_REBUILD_OFFLINE'&lt;/font&gt;,
    @FragmentationHigh_NonLOB   = &lt;font color="red"&gt;'INDEX_REBUILD_ONLINE'&lt;/font&gt;,
    @FragmentationMedium_LOB    = &lt;font color="red"&gt;'INDEX_REORGANIZE_STATISTICS_UPDATE'&lt;/font&gt;,
    @FragmentationMedium_NonLOB = &lt;font color="red"&gt;'INDEX_REORGANIZE_STATISTICS_UPDATE'&lt;/font&gt;,
    @FragmentationLow_LOB       = &lt;font color="red"&gt;'STATISTICS_UPDATE'&lt;/font&gt;,
    @FragmentationLow_NonLOB    = &lt;font color="red"&gt;'STATISTICS_UPDATE'&lt;/font&gt;,
    @UpdateColumnStatistics     = &lt;font color="red"&gt;'Y'&lt;/font&gt;,
    @OnlyModifiedStatistics     = &lt;font color="red"&gt;'Y'&lt;/font&gt;;&lt;/font&gt;
&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you haven't already tried Ola's maintenance solution, I highly suggest you &lt;a href="http://ola.hallengren.com/Versions.html" title="http://ola.hallengren.com/Versions.html" target="_blank"&gt;check it out&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>