


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Purge_command_did_not_purge_data&amp;feed=atom&amp;action=history</id>
		<title>Purge command did not purge data - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Purge_command_did_not_purge_data&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Purge_command_did_not_purge_data&amp;action=history"/>
		<updated>2013-05-22T15:00:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Purge_command_did_not_purge_data&amp;diff=29707&amp;oldid=prev</id>
		<title>Pshree: New page: == Purge command did not purge data ==  {| border=&quot;1&quot; |- ! '''Problem Summary''' | After doing 'purge now' from appadmin, data did not get deleted from database |- ! '''Error Message''' |T...</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Purge_command_did_not_purge_data&amp;diff=29707&amp;oldid=prev"/>
				<updated>2010-05-04T08:12:51Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Purge command did not purge data ==  {| border=&amp;quot;1&amp;quot; |- ! &amp;#39;&amp;#39;&amp;#39;Problem Summary&amp;#39;&amp;#39;&amp;#39; | After doing &amp;#39;purge now&amp;#39; from appadmin, data did not get deleted from database |- ! &amp;#39;&amp;#39;&amp;#39;Error Message&amp;#39;&amp;#39;&amp;#39; |T...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Purge command did not purge data ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! '''Problem Summary'''&lt;br /&gt;
| After doing 'purge now' from appadmin, data did not get deleted from database&lt;br /&gt;
|-&lt;br /&gt;
! '''Error Message'''&lt;br /&gt;
|The SQL Server cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users or ask the system administrator to check the SQL Server lock and memory configuration.&lt;br /&gt;
|-&lt;br /&gt;
! '''Possible Cause'''&lt;br /&gt;
| This error occurs when there are not enough system locks to complete the current command. SQL Server then attempts to obtain a LOCK block to represent and control the desired lock. When dynamically configured, the lock limit is determined by the available memory. When statically configured, the lock limit is determined by the sp_configure setting. &lt;br /&gt;
|-&lt;br /&gt;
! '''Recommended Action'''&lt;br /&gt;
| Either execute the command again when activity on the server is low, or have the system administrator increase the number of locks by executing sp_configure from the master database. &lt;br /&gt;
&lt;br /&gt;
To view the current configuration:&lt;br /&gt;
&lt;br /&gt;
sp_configure locks&lt;br /&gt;
GO&lt;br /&gt;
This reports the minimum, maximum, current run, and configuration values. A config value of 0 indicates that SQL Server manages locks dynamically. If the value is non-zero, we can increase the number of locks by running sp_configure again, specifying the number of locks to be configured. For example, to configure 10,000 locks:&lt;br /&gt;
&lt;br /&gt;
sp_configure locks, 10000&lt;br /&gt;
GO&lt;br /&gt;
RECONFIGURE WITH OVERRIDE&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
Stop and restart SQL Server so the changes can take effect. Locks are allocated at system startup.&lt;br /&gt;
&lt;br /&gt;
If the number of locks cannot be increased at the current time, and the single action requires more locks than the server is currently configured for, you may be able to reduce the number of locks required for the operation. For Example, instead of purging data older than 30 months, we can break it into several steps as, &lt;br /&gt;
-purge data older than 60 months&lt;br /&gt;
-purge data older than 50 months&lt;br /&gt;
-purge data older than 40 months&lt;br /&gt;
-purge data older than 30 months&lt;br /&gt;
|-&lt;br /&gt;
! '''Release'''&lt;br /&gt;
| all windows release&lt;br /&gt;
|-&lt;br /&gt;
! '''Associated CDETS #'''&lt;br /&gt;
| None&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Unified CCX, Release 7.0]]&lt;/div&gt;</summary>
		<author><name>Pshree</name></author>	</entry>

	</feed>