<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQL times out when accessing the site</title><link>https://community.telligent.com/community/11/w/user-documentation/67218/sql-times-out-when-accessing-the-site</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>SQL times out when accessing the site</title><link>https://community.telligent.com/community/11/w/user-documentation/67218/sql-times-out-when-accessing-the-site</link><pubDate>Thu, 18 Jul 2019 17:06:23 GMT</pubDate><guid isPermaLink="false">04250b53-e81b-452f-ad19-41b5fcb7f25d</guid><dc:creator>Grant Pankonien</dc:creator><comments>https://community.telligent.com/community/11/w/user-documentation/67218/sql-times-out-when-accessing-the-site#comments</comments><description>Current Revision posted to User Documentation by Grant Pankonien on 07/18/2019 17:06:23&lt;br /&gt;
&lt;p&gt;If the site is running slowly or timing out due to SQL timeouts being reported on the site, it may be an indication that an SQL database reindex is needed. Here are the steps necessary to perform this task.&lt;/p&gt;
&lt;h4&gt;&lt;a name="Primary_Note"&gt;&lt;/a&gt;Primary Note&lt;/h4&gt;
&lt;p&gt;If the hardware is that where the server is dedicated to SQL, large space, powerful CPUs with greater than 4 GB RAM, chances are maintenance has not been done to the database itself. It&amp;#39;s easy to perform these maintenance tasks below.&lt;/p&gt;
&lt;h4&gt;&lt;a name="Procedure"&gt;&lt;/a&gt;Procedure&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;In SQL Management Studio, open a new query for the database in question, and type &lt;strong&gt;DBCC checkdb&lt;/strong&gt;. Let the query complete and check on the very end of the results for 0 allocation errors and 0 consistency errors. &lt;em&gt;&lt;strong&gt;If you see any allocation or consistency errors, STOP! There is database damage that Microsoft will need to work with the client to resolve.&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;In SQL Management Studio, open a new query for the database in question, and type &lt;strong&gt;EXEC cs_system_dbreindex&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Now try to access the site as normal, and you should see the performance increase greatly. We recommend to clients to create scheduled SQL jobs that perform these tasks at least once a week for good measure for the &amp;quot;rebuild and reindex&amp;quot; tasks, and daily for consistency checks.
&lt;p&gt;For more database maintenance information, see [[Database maintenance|this article]].&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>SQL times out when accessing the site</title><link>https://community.telligent.com/community/11/w/user-documentation/67218/sql-times-out-when-accessing-the-site/revision/1</link><pubDate>Mon, 01 Jul 2019 15:56:37 GMT</pubDate><guid isPermaLink="false">04250b53-e81b-452f-ad19-41b5fcb7f25d</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/11/w/user-documentation/67218/sql-times-out-when-accessing-the-site#comments</comments><description>Revision 1 posted to User Documentation by Former Member on 07/01/2019 15:56:37&lt;br /&gt;
&lt;p&gt;If the site is running slowly or timing out due to SQL timeouts being reported on the site, it may be an indication that an SQL database reindex is needed. Here are the steps necessary to perform this task.&lt;/p&gt;
&lt;h4&gt;&lt;a name="Primary_Note"&gt;&lt;/a&gt;Primary Note&lt;/h4&gt;
&lt;p&gt;If the hardware is that where the server is dedicated to SQL, large space, powerful CPUs with greater than 4 GB RAM, chances are maintenance has not been done to the database itself. It&amp;#39;s easy to perform these maintenance tasks below.&lt;/p&gt;
&lt;h4&gt;&lt;a name="Procedure"&gt;&lt;/a&gt;Procedure&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;In SQL Management Studio, open a new query for the database in question, and type &lt;strong&gt;DBCC checkdb&lt;/strong&gt;. Let the query complete and check on the very end of the results for 0 allocation errors and 0 consistency errors. &lt;em&gt;&lt;strong&gt;If you see any allocation or consistency errors, STOP! There is database damage that Microsoft will need to work with the client to resolve.&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;In SQL Management Studio, open a new query for the database in question, and type &lt;strong&gt;EXEC cs_system_dbreindex&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Now try to access the site as normal, and you should see the performance increase greatly. We recommend to clients to create scheduled SQL jobs that perform these tasks at least once a week for good measure for the &amp;quot;rebuild and reindex&amp;quot; tasks, and daily for consistency checks.
&lt;p&gt;For more database maintenance information, see [[Database maintenance|this article]].&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>