﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Discuss content posted by Amit Kumar Singh / Article Discussions by Author  / Poor Man's Enterprise Feature - Lock Pages in Memory / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 04:53:59 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>Thanks for your help, it worked.</description><pubDate>Sun, 26 Sep 2010 12:26:44 GMT</pubDate><dc:creator>brown-415622</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]brown-415622 (9/25/2010)[/b][hr]I have read all the documentation my issue is I'm not sure where to put the -T845 parameter at startup.Thanks[/quote]Well excuse me!  You didn't give that impression by quoting the wrong number :-PIt goes at the end.edit: exactly as shown in the picture in the link I gave: [url]http://blogs.msdn.com/b/psssql/archive/2010/02/19/did-you-start-your-sql-server-engine-correctly.aspx[/url]:doze:</description><pubDate>Sat, 25 Sep 2010 18:46:51 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>I have read all the documentation my issue is I'm not sure where to put the -T845 parameter at startup. -ll:\masterdb\mastlog.ldf;-el:\LOG\ERRORLOG;-dl:\masterdb\master.mdfDoes it go at the begining? I keep getting an error when restart SQL service.running 64 bit standard 2005 with cumm patch 11.Thanks</description><pubDate>Sat, 25 Sep 2010 18:44:42 GMT</pubDate><dc:creator>brown-415622</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]brown-415622 (9/25/2010)[/b][hr]When adding the -T846 where exactly do add the parameter at the very begining? Can you please show an example, it would be well appreciated.[/quote]The trace flag is [b]845[/b] not 846.You need 2005 64-bit Standard at least SP3 + Cumulative Update 4, or 2008 64-bit Standard at least SP1 + Cumulative Update 2:[url]http://support.microsoft.com/kb/970070[/url]Here is a link showing how to set it as a start-up option:[url]http://blogs.msdn.com/b/psssql/archive/2010/02/19/did-you-start-your-sql-server-engine-correctly.aspx[/url]How to know your system is now using Locked Pages successfully:[url]http://blogs.msdn.com/b/psssql/archive/2007/10/18/do-i-have-to-assign-the-lock-privilege-for-local-system.aspx[/url]How to configure start-up options (general info):[url]http://msdn.microsoft.com/en-us/library/ms345416.aspx[/url]Using start-up options:[url]http://msdn.microsoft.com/en-us/library/ms190737.aspx[/url]</description><pubDate>Sat, 25 Sep 2010 17:46:37 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>When adding the -T846 where exactly do add the parameter at the very begining? Can you please show an example, it would be well appreciated.Thank you</description><pubDate>Sat, 25 Sep 2010 16:34:14 GMT</pubDate><dc:creator>brown-415622</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]Charles Hottle (9/20/2010)[/b][hr]Is this update required for an environment running SQL Server 2008 SP1 Standard 32-bit using AWE and PAE in order for Lock Pages in Memory to be functional?  I only see 64-bit referenced in the various posts that I've seen.  Thanks.[/quote]No the update is for 64-bit only.See [url]http://blogs.msdn.com/b/psssql/archive/2009/09/11/fun-with-locked-pages-awe-task-manager-and-the-working-set.aspx[/url]</description><pubDate>Mon, 20 Sep 2010 11:07:11 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>Is this update required for an environment running SQL Server 2008 SP1 Standard 32-bit using AWE and PAE in order for Lock Pages in Memory to be functional?  I only see 64-bit referenced in the various posts that I've seen.  Thanks.</description><pubDate>Mon, 20 Sep 2010 10:59:44 GMT</pubDate><dc:creator>Chuck Hottle</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>Just researching issues we have that really are not related to the article but came across this article and got me thinking.  I was able to lock the issue down to a peice of code that when submitted locked the floor down (casino) and disabled it.  Things are good now, just need to fix that code.  Good article though.</description><pubDate>Wed, 28 Oct 2009 07:26:14 GMT</pubDate><dc:creator>Kristy Lanter</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]Kristy Lanter (10/27/2009)[/b][hr]Yeah, but what I was wondering was if it was really needed.  Back a few years ago I read someplace it wasn't necessary to set it up but I'm doing it anyhow.  Just recently experiencing I/O messages.  Thanks.[/quote]Personally, I always enable it.  You don't say what the I/O messages say...?This article was about lock pages in memory on Standard Edition and the message that can appear to say that a significant part of SQL Server's allocated memory has been paged out.  Is that what you're seeing?</description><pubDate>Tue, 27 Oct 2009 15:25:16 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>Yeah, but what I was wondering was if it was really needed.  Back a few years ago I read someplace it wasn't necessary to set it up but I'm doing it anyhow.  Just recently experiencing I/O messages.  Thanks.</description><pubDate>Tue, 27 Oct 2009 15:19:29 GMT</pubDate><dc:creator>Kristy Lanter</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]Kristy Lanter (10/27/2009)[/b][hr]How about Enterprise edition 64 bit?[/quote]Enterprise Edition has always had the ability to lock pages in memory.</description><pubDate>Tue, 27 Oct 2009 14:53:18 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>How about Enterprise edition 64 bit?</description><pubDate>Tue, 27 Oct 2009 08:25:21 GMT</pubDate><dc:creator>Kristy Lanter</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]Jeff Moden (10/16/2009)[/b][hr]Heh... wouldn't a reasonable alternative be to only have SQL Server on the SQL Server box? ;-)[/quote]On the face of it, yes.  And, most of the time, this will work well.  However, you are then at the mercy of Window's memory manager - any sudden requests for memory from any other process are likely to result in some of SQL Server's address space being paged out.  It is an inviolable law of the universe that it will occur at the most inconvenient time.There are many things that can cause sudden demands for memory from Windows, even if you lock the server down and carefully control who has access and what processes can run.  Not being able to lock memory for SQL Server on 64-bit Standard Edition just introduced a whole new set of avoidable problems.Paul</description><pubDate>Fri, 16 Oct 2009 17:42:07 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>few years ago Emulex and Windows 2003 x64 SP2 had an I/O bug and it caused one of our servers to lock up and reboot. MS released a series of hotfixes and everyone from Emulex to HP released updated drivers for HBA's and RAID controllers</description><pubDate>Fri, 16 Oct 2009 13:32:57 GMT</pubDate><dc:creator>alen teplitsky</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]Jeff Moden (10/16/2009)[/b][hr]Heh... wouldn't a reasonable alternative be to only have SQL Server on the SQL Server box? ;-)[/quote]Unfortunately not. I've heard of a case where SQL was the only thing installed on the box (other than OS) and and it was still getting paged out if max memory was set about about 60% of the total memory. This is a server with &amp;gt;16GB.Suspicion was a driver bug, but couldn't be sure.</description><pubDate>Fri, 16 Oct 2009 13:19:57 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>we always install the HP management software, anti-virus, Emulex HBA Anywhere. The HP software also installs a light version of Apache or Tomcat, forget which one. a lot of people will also install SSIS and other SQL components other than the database engine as well as other database vendors' drivers</description><pubDate>Fri, 16 Oct 2009 13:14:48 GMT</pubDate><dc:creator>alen teplitsky</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>Heh... wouldn't a reasonable alternative be to only have SQL Server on the SQL Server box? ;-)</description><pubDate>Fri, 16 Oct 2009 13:09:44 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]ta.bu.shi.da.yu (10/15/2009)[/b][hr]All the Microsoft links point to info about the 64-bit versions of Windows. Is this feature restricted to this platform?[/quote]The problem only affects 64-bit Standard Edition.In 32-bit Standard Edition, we could grant 'lock pages in memory' and enable AWE to lock buffer pool pages.In 64-bit Standard Edition, prior to SP3 CU4 (2005) or SP1 CU2 (2008), there was no way to achieve the same effect.This was a shocking omission by Microsoft - it is a shame it has taken them so long to correct it.  Using a trace flag to enable it seems overly conservative: a trace flag to disable it would seem more sensible, but never mind.Not sure why anyone should regard this as more useful or necessary on 64-bit systems (which tend to have more memory, if anything) compared to 32-bit systems, but hey.</description><pubDate>Fri, 16 Oct 2009 09:45:14 GMT</pubDate><dc:creator>Paul White</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>according to microsoft this is supprtedin standard 32 bit edition prior to sp3cu4i have seen the errors you get in the log when you need to add the lock pages in mem policy to the id running sql server and adding stopped the error messages.  this is for 32 biut standard edition.  i am not so sure I believe any of this blog.Locked pages in memory operating system (OS) privilege (Allows locking physical memory, preventing OS paging of the locked memory.)4 SQL Server Standard, Enterprise, and Developer editions: Required for SQL Server process to use AWE mechanism. Memory allocated through AWE mechanism cannot be paged out.Granting this privilege without enabling AWE has no effect on the server. http://technet.microsoft.com/en-us/library/ms187499(SQL.90).aspx</description><pubDate>Thu, 15 Oct 2009 14:59:48 GMT</pubDate><dc:creator>wasntme</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>the definitive blog on this:[url]http://blogs.msdn.com/psssql/archive/2009/09/11/fun-with-locked-pages-awe-task-manager-and-the-working-set.aspx[/url]which has a link to blog Gail posted..................last line added by edit</description><pubDate>Thu, 15 Oct 2009 09:44:30 GMT</pubDate><dc:creator>george sibbald</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]Steve Vassallo (10/15/2009)[/b][hr]What about SQL 2008?   Is this an option there?[/quote]Yes. SQL 2008 SP1 CU2 allows locked pages on standard edition. Good reference for this topic is the PSS Engineers' blog[url]http://blogs.msdn.com/psssql/archive/2009/05/19/an-update-for-standard-sku-support-for-locked-pages.aspx[/url]</description><pubDate>Thu, 15 Oct 2009 09:37:25 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>we had this when we first went to x64 and there was almost nothing on the internet to document the differences except a MSDN blog post by a Microsoft developer who now works in another department.we ended up enabling it and all the problems went away. Funny thing is that out of our 3 main servers we only saw the problem on one of them. even on the server that does a lot of huge batch processing we didn't see this. the problem server was tens of millions of queries daily all with different parameters and variables</description><pubDate>Thu, 15 Oct 2009 09:34:26 GMT</pubDate><dc:creator>alen teplitsky</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>What about SQL 2008?   Is this an option there?</description><pubDate>Thu, 15 Oct 2009 09:21:41 GMT</pubDate><dc:creator>Steve Vassallo</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>[quote][b]ta.bu.shi.da.yu (10/15/2009)[/b][hr]All the Microsoft links point to info about the 64-bit versions of Windows. Is this feature restricted to this platform?[/quote]No, but it tends to be most useful (and most necessary) on 64 bit.On 32 bit, Lock pages is required to use AWE.</description><pubDate>Thu, 15 Oct 2009 06:16:09 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>All the Microsoft links point to info about the 64-bit versions of Windows. Is this feature restricted to this platform?</description><pubDate>Thu, 15 Oct 2009 06:00:52 GMT</pubDate><dc:creator>ta.bu.shi.da.yu</dc:creator></item><item><title>Poor Man's Enterprise Feature - Lock Pages in Memory</title><link>http://www.sqlservercentral.com/Forums/Topic803211-525-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Lock+Pages+in+Memory/67975/"&gt;Poor Man's Enterprise Feature - Lock Pages in Memory&lt;/A&gt;[/B]</description><pubDate>Wed, 14 Oct 2009 21:06:02 GMT</pubDate><dc:creator>Amit Singh</dc:creator></item></channel></rss>