Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

we have SQL Server installed on a Windows Server 2003 with 2GB of memory. Would it help if we enabled AWE? Or do we have to add more memory and then enable AWE?

Thanks

share|improve this question

3 Answers 3

AWE won't help you unless you have over 2 Gigs of RAM in the server.

share|improve this answer

As Concerned OfTunbridgeW says, SQL Server Standard won't use more than 2GB of memory even if you put in more memory and use the /3GB switch in boot.ini. Unless you have the (expensive!) Enterprise version there is no point in playing with AWE or the /3GB switch.

However note that if you have more than 2GB of physical memory SQL can use the max of 2GB and other apps still have access to the extra memory. That is, any one app (including SQL) can only use 2GB but all the apps combined can use up to 4GB or however much memory you have in the server. For example if you install a second copy of SQL as a named instance then both instances can use up to 2GB i.e. 4GB between them.

AWE only works on Windows 2003 Enterprise. Windows 2003 Server can only use 4GB of memory no matter how much is in your server.

I would agree that if you really need more than 2GB of memory then you should look at x64 Windows 2003 or 2008 and the x64 version of SQL Server.

John Rennie

share|improve this answer
    
SQL Server 2005 Standard edition allows to you use more than 2GB if either AWE or /3GB switch is used. See microsoft.com/Sqlserver/2005/en/us/compare-features.aspx –  Philip Fourie May 30 '09 at 13:43

To use more than 2GB of RAM on a SQL Server machine you have two options:

i. Rebuild the server with a 64 bit O/S and 64 bit SQL Server.

ii. Use AWE and configure the server to boot with the /3G switch. To do this you also need the enterprise edition of SQL Server. This will let you use up to 8GB of RAM on 2k3 Enterpise and possibly more on 2k3 Datacentre.

share|improve this answer
    
To use AWE for SQL server on a 32 bit OS you need to specify the /PAE switch in the boot.ini file. –  SuperCoolMoss May 31 '09 at 14:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.