﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"><channel><title>SQLServerCentral.com Content tagged Maintenance</title><link>http://www.sqlservercentral.com/</link><description>Content tagged Maintenance posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Custom Maintenance Plans - the T-SQL way</title><description><![CDATA[<p>The non-SSIS/GUI method I use to deploy standardized Database Maintenance Plans.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/66864/</guid><pubDate>Thu, 16 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/66864/</link></item><item><title>Check Candidate Columns for FOREIGN KEY Constraints</title><description><![CDATA[<p>Reports table columns that are not foreign keys but that perhaps should be.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/98262/</guid><pubDate>Tue, 23 Apr 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/98262/</link></item><item><title>Identify Obsolete Indexes</title><description><![CDATA[<p>Drop indexes no longer being used.</p><!-- 12 Tools (SQL Dev Bundle)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013"><img src="http://assets.red-gate.com/external/SSC/devbundle_68x68.gif" alt="sqldeveloperbundle"></td>   <td><strong>12 essential tools for database professionals</strong><br />The SQL Developer Bundle contains 12 tools designed with the SQL Server developer and DBA in mind.  <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013">Try it now.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/scripts/Indexing/68374/</guid><pubDate>Fri, 08 Mar 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexing/68374/</link></item><item><title>Objects Referenced and Referencing</title><description><![CDATA[<p>This script reports objects that are referenced by and that reference a given database object. When a column name is specified, it also includes results showing how that column is used.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/97158/</guid><pubDate>Thu, 07 Mar 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/97158/</link></item><item><title>Script to Rebuild/Reorganise Indexes</title><description><![CDATA[<p>A script to get the fragmentation of indexes in a database and then rebuild or reorganise accordingly</p><!-- 12 Tools (SQL Dev Bundle)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013"><img src="http://assets.red-gate.com/external/SSC/devbundle_68x68.gif" alt="sqldeveloperbundle"></td>   <td><strong>12 essential tools for database professionals</strong><br />The SQL Developer Bundle contains 12 tools designed with the SQL Server developer and DBA in mind.  <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013">Try it now.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/scripts/Indexes/96618/</guid><pubDate>Tue, 19 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexes/96618/</link></item><item><title>Check Candidate Columns for NOT NULL Constraints</title><description><![CDATA[<p>This script reports table columns that allow NULL values but that currently have no NULL values, making them candidates for adding a NOT NULL constraint.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/data+integrity/96348/</guid><pubDate>Wed, 23 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/data+integrity/96348/</link></item><item><title>2008 Index Fragmentation Maintenance</title><description><![CDATA[<p>Just a stab at automating index maintainenance in SQL Server 2008</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Fragmentation/64898/</guid><pubDate>Fri, 11 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Fragmentation/64898/</link></item><item><title>Defragmenting and rebuilding indexes</title><description><![CDATA[<p>Following code snippet will selectively rebuild indexes that have been thrashed after a big indert</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Rebuilding+indexes/67791/</guid><pubDate>Wed, 09 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Rebuilding+indexes/67791/</link></item><item><title>The Ultimate Missing Index Finder</title><description><![CDATA[<p>Reports stats on what the query optimizer records in the DMVs as missing indexes and what it says the cost savings will be if they were present. Can limit by table / schema name patterns.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Indexing/63937/</guid><pubDate>Mon, 07 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexing/63937/</link></item><item><title>The Ultimate Index Usage Reporter</title><description><![CDATA[<p>Reports index stats, index size+rows, member seek + include columns as two comma separated output columns, and index usage stats for one or more tables and/or schemas.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Indexing/63934/</guid><pubDate>Thu, 27 Dec 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexing/63934/</link></item><item><title>Get Scheduled Jobs from Multiple Servers</title><description><![CDATA[<p>Script to loop thru multiple linked server and get agent scheduled jobs for the next XX hours.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/list+scheduled+jobs/95079/</guid><pubDate>Thu, 06 Dec 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/list+scheduled+jobs/95079/</link></item><item><title>Find Mismatched Views and Stored Procs</title><description><![CDATA[<p>Find missing and mismatched views and stored procs between 2 Databases</p><!-- 15 seconds (SQL Monitor) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=15_seconds&utm_campaign=sqlmonitor&utm_term=rss-20017"><img src="http://assets.red-gate.com/external/SSC/monitor_ico.gif" alt="sqlmonitor"></td>   <td><strong>Get alerts within 15 seconds of SQL Server issues</strong><br />SQL Monitor checks performance data every 15 seconds, so you can fix issues before your users even notice them.  <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=15_seconds&utm_campaign=sqlmonitor&utm_term=rss-20017">Start monitoring with a free trial.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/scripts/Development/63270/</guid><pubDate>Mon, 03 Sep 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Development/63270/</link></item><item><title>2008 Index Rebuild using DMV</title><description><![CDATA[<p>Index Maintenance procedure with HTML Reporting capabilities. Please refer to attached script for detailed information.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Indexing/92362/</guid><pubDate>Thu, 09 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexing/92362/</link></item><item><title>Finding Unused Database Roles</title><description><![CDATA[<p>This is a data quality script that locates unused Database Roles for maintenance purposes</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Database+Roles/91839/</guid><pubDate>Tue, 24 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Database+Roles/91839/</link></item><item><title>Developing Low-Maintenance Databases</title><description><![CDATA[<p>Alex Kuznetsov's team of developers are geared to doing rapid development of database applications in a busy corporate setting, yet take considerable time over meticulous database design, extensive constraints, automated tests, error logs, and defensive coding. Why? Because it cuts down on the subsequent need for maintenance.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/91797/</guid><pubDate>Mon, 23 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/91797/</link></item><item><title>Set Database to Single user </title><description><![CDATA[<p>How to set the database to a single user mode</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/62619/</guid><pubDate>Fri, 13 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/62619/</link></item><item><title>Total Space Used for all databases per disk</title><description><![CDATA[<p>Tells you how much the databases are using the space on disk taking in account the free space at the end of the database.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/90468/</guid><pubDate>Mon, 21 May 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/90468/</link></item><item><title>Auto compression all indexs on all online db</title><description><![CDATA[<p>Auto compression of index, if index includes &gt; 1 million rows.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/89371/</guid><pubDate>Wed, 11 Apr 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/89371/</link></item><item><title>Move Physical Files </title><description><![CDATA[<p>Script to move physical files to a new location</p><!-- 12 Tools (SQL Dev Bundle)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013"><img src="http://assets.red-gate.com/external/SSC/devbundle_68x68.gif" alt="sqldeveloperbundle"></td>   <td><strong>12 essential tools for database professionals</strong><br />The SQL Developer Bundle contains 12 tools designed with the SQL Server developer and DBA in mind.  <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013">Try it now.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/62871/</guid><pubDate>Fri, 30 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/62871/</link></item><item><title>Identify Large Tables</title><description><![CDATA[<p>Reports on physical size of tables in your database to identify largest.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/T-SQL/62053/</guid><pubDate>Mon, 26 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/62053/</link></item><item><title>Script foreign keys</title><description><![CDATA[<p>Using this script you can create a list of sql commands for foreign keys manipulation.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/T-SQL/61463/</guid><pubDate>Tue, 10 Jan 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/T-SQL/61463/</link></item><item><title>SQL Server 2005 Index Maintenance</title><description><![CDATA[<p>Index maintenance procedure using rebuild or reorganized based on fragementation level.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/62695/</guid><pubDate>Wed, 26 Oct 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/62695/</link></item><item><title>Next grow for all databases per disk</title><description><![CDATA[<p>This script lets you to know how much disk space will be left after the next database grow taking in account the free space left in the database. </p>]]></description><guid>http://www.sqlservercentral.com/scripts/Maintenance/75981/</guid><pubDate>Tue, 11 Oct 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Maintenance/75981/</link></item><item><title>Script a Database Role</title><description><![CDATA[<p>Script one or all roles in a database.  Includes users, obect permissions and column permissions.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/SQL+Server+7/61878/</guid><pubDate>Thu, 08 Sep 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/SQL+Server+7/61878/</link></item><item><title>List all tables without LOB columns</title><description><![CDATA[<p>Lists all the tables in a database that do not contain any LOB columns(text, ntext, image, varchar (max), nvarchar (max), varbinary (max) and xml).

Useful when rebuilding indexes online.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Indexing/75719/</guid><pubDate>Tue, 30 Aug 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexing/75719/</link></item><item><title>Automate drive space monitoring for all production servers</title><description><![CDATA[<p>Monitoring space in production server is one of the top priority tasks for a DBA. This script will automate it </p>]]></description><guid>http://www.sqlservercentral.com/scripts/Administration/67064/</guid><pubDate>Tue, 19 Apr 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Administration/67064/</link></item><item><title>Reindex all indexes online or offline depending on day of week.</title><description><![CDATA[<p>This script will reindex  (online) any index eligible to be reindexed online.  Accepts a day of week parameter for full offline reindexing. </p>]]></description><guid>http://www.sqlservercentral.com/scripts/SQL+Server+2005/64530/</guid><pubDate>Mon, 18 Apr 2011 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/SQL+Server+2005/64530/</link></item><item><title>Automatic Statistics Update Slows Down SQL Server 2005</title><description><![CDATA[<p>I have a database which has several tables that have very heavy write operations.  These table are very large and some are over a hundred gigabytes. I noticed performance of this database is getting slower and after some investigation we suspect that the Auto Update Statistics function is causing a performance degradation.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/72478/</guid><pubDate>Fri, 25 Feb 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/72478/</link></item><item><title>Index defrag script (21005/2008)</title><description><![CDATA[<p>This script will allow reindexing (either rebuild or reorg)</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Reindex/70985/</guid><pubDate>Wed, 25 Aug 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Reindex/70985/</link></item><item><title>Index usage overview</title><description><![CDATA[<p>This view reports almost everything you want to know about your indexes</p>]]></description><guid>http://www.sqlservercentral.com/scripts/Indexing/69799/</guid><pubDate>Wed, 09 Jun 2010 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/Indexing/69799/</link></item></channel></rss>