Build your professional network on facebook via our app Go to app
 
 
Posted in Community :

windows administration

 
Activity:  0 comments  169 views  last activity : 07 06 2010 20:18:04 +0000
Share
 
 
 

Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWEMicrosoft SQL Server is a data-intensive and disk I/O (read and write) intensive database management systems. For SQL Server which is running on a system with large amount or big size of physical RAM memory, such as system with 4GB, 8GB or even more gigabytes of physical memory, it can be configured to use the Address Windowing Extensions (AWE) API to provide access to physical memory in excess of the limits set on configured virtual memory, and force all paging to take place in memory for faster access.

With Address Windowing Extensions (AWE) API, Microsoft SQL Server can support and access very large amounts of physical memory, upwards of 64 gigabytes or more on Windows 2000 Server, Windows Server 2003 and Windows Server 2008. The specific amount of memory SQL Server can use depends on hardware configuration and operating system support.

Before enabling AWE, Lock Pages in Memory permission must be granted to the user account that run SQL Server, as AWE memory cannot be swapped out to the page files. Note that AWE is not required for 64-bit system, but Lock Pages in Memory privilege is recommended for 64-bit system though.

Step 1: Enable PAE support on Windows Server to allow large segment of physical memory to be used.

Step 2: Assign to enable Lock Pages in Memory permission to SQL Server account.

Step 3: Enable AWE Option

Note that in Windows 2000 (Windows Server 2003 and 2008 are dynamic allocation on demand), if a value for max server memory is not specified, SQL Server reserves almost all available memory during startup, leaving 128 megabytes (MB) or less physical memory for other applications. And, the awe enabled option is an advanced option. If you are using the sp_configure system stored procedure to change the setting, you can change awe enabled only when show advanced options is set to 1.

To enable AWE and configure the min server memory to 1 GB (so that AWE mapped memory can be released up until 1 GB) and the max server memory to 6 GB, use the following commands:

sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'awe enabled', 1
RECONFIGURE
GO

Restart SQL Server with the following commands:

net stop mssqlserver
net start mssqlserver

Then, configure memory:

sp_configure 'min server memory', 1024
RECONFIGURE
GO
sp_configure 'max server memory', 6144
RECONFIGURE
GO

Restart the SQL Server after all configuration to make the changes effective. To disable AWE, simply set the awe enabled to 0 and execute the RECONFIGURE statement again.

 
0 comments on "Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWE"
Add your comment on "Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWE"

Rate:
Submit
Leading recruitment Firm
  • Create a confidential Career Profile and Resume/C.V. online
  • Get advice for planning their career and for marketing of experience and skills
  • Maximize awareness of and access to the best career opportunities
Viewers also viewed
Dynamic Management Views   The dynamic management views (DMV’s) in SQL Server 2005 are designed...
 
11 referals 6 comments, 1828 views
Yes , as there are many people supporting him vs No, politicians will now allow him to do this !!!
 
0 referals 9 arguments, 246 views
Support anti-corruption crusader, Baba Ram Dev    Greetings for the day! Its high time, lets...
 
61 referals 6 comments, 61 views
more...  
Recent Knowledge (62)
INSPIRATIONAL STORY...BY AN INDIAN CEO...   of a US firm! From studying under the streetlights...
 
78 referals 11 comments, 630 views
OK, lets say that a crore pages are printed (physical digital) all over the world everyday....
 
288 referals 12 comments, 111 views
In today's news, I came across this article that scientists at Sandia National Labs who were...
0 referals 5 comments, 163 views
more...  
More From Author
While installing payment gateway on windows server with java. its useful.
Tips for avoid sleepiness During the Day at work
After deciding on a property,the next big thing one does is to look for a good home loan. While people think that there is no big deal in getting a home loan with Bank waiting in queue to offer home loans. getting home loan is very difficult.
more...