Re: Locking pages in memory



I can't see the text you are talking about in your references. But some of the info you cite is not quite right.
Lock Pages in Memory is not a SQL Server option. It's a Windows option.
It is the AWE option that is a SQL Server setting, and you don't need AWE when running 64 bit SQL Server.
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.

"SMFX" <SMFX@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:66C8E23A-B67E-4F9D-9A77-A593BDF734E5@xxxxxxxxxxxxxxxx
Got a quick question about locking pages in memory and possible
configurations for a new server we have coming in.

We are setting up a small, general purpose database server as our old one is
failing hardware and its done a good 8 years of service; just not worth
keeping it up. With prices today, its actually cheaper for us to buy a
system with 8GB RAM than 4GB RAM (long story). Naturally to take advantage
of it, we'd like to use 64-bit on the base OS rather than 32-bit with the AWE
overhead.

As the databases grow, one option that could become useful is the "lock
pages in memory". One in particular stores descent amount of blob data in
the system that could see a fair improvement if data were not paged to disk.
This seems farily simple with:
__How to: Enable the Lock Pages in Memory Option (Windows)
__http://msdn.microsoft.com/en-us/library/ms190730.aspx

However, looking at the article:
__Memory Architecture
__http://msdn.microsoft.com/en-us/library/ms187499.aspx
Locking pages in memory is availabe on SQL Standard *32-bit* but not
*64-bit*. If we went with a 64-bit implementation, we'd have to go to SQL
Enterprise to gain this feature (which is, of course, a significant cost
increase).

Unfortunately, sometimes various documentation is misleading, so I just
wanted to see what the expert verdict was with these two questions:
__1. Is Locked pages in memory useful in 32-bit SQL Standard (if it is even
available)?
__2. Are there any plans for SQL Server 2008 Standard going to have Lock
pages in Memory available in the 64-bit edition?

Obviously, this could be what Microsoft considers an Enterprise class
feature and is therefore the insentive to move up to the higher system,
however it seems odd they would remove the coding from 64-bit Standard if it
were in 32-bit Standard if it were truely demend "Enterprise" class of
service.

Your input is greatly appreciated!
-SMFX

.



Relevant Pages

  • Re: Locking pages in memory
    ... I have confirmed that SQL Server Standard 64-bit does not use locked pages in memory, even if available in the OS. ... There are some complex reasons behind this, but basically, if you are running on 64-bit Windows, you probably don't need to lock pages in memory. ...
    (microsoft.public.sqlserver.setup)
  • Re: Benchmark for different edition SQL 2000
    ... Please read the links I posted about memory allocation algorithms in SQL Server. ... My concern is how to prevent the SQL server that increase the memory usage continuously? ... Enterprise edition has some distinct features that SE doesn't. ... the memory arrangement is the same between standard and enterprise? ...
    (microsoft.public.sqlserver.server)
  • Re: Locking pages in memory
    ... I've just checked the history of the Memory Architecture topic. ... So I think the 64-bit Standard does not support locked pages in memory. ... Rick Byham, SQL Server Books Online ... the account SQL runs under) the permission to lock pages in memory. ...
    (microsoft.public.sqlserver.setup)
  • Re: Locking pages in memory
    ... So I think the 64-bit Standard does not support locked pages in memory. ... Rick Byham, SQL Server Books Online ...
    (microsoft.public.sqlserver.setup)
  • Re: /3GB switch in 64-bit environment
    ... SQL Server 2005, Standard Edition allows 4 GB memory -if that's of any help. ... Most good judgment comes from experience. ...
    (microsoft.public.sqlserver.setup)