Settle discussion on AWE

  • Two DBA's are talking and one says that since SQL is running using a service account it is not necessary to enable AWE or Lock Pages in Memory on a 32 bit system. The other DBA says "What!! of course you do" who is correct?

  • 32 bit sql need Awe and lock pages in memory if it needs to address more than 2 GB of memory.

    So the second guy is right if you are not utilizing the existing memory.

    Jayanth Kurup[/url]

  • 4 Gig is the cut-off that 32-bit can address without help. AWE is necessary beyond that. Or go 64-bit and ignore the whole thing. The first DBA is wrong.

    Details here: http://technet.microsoft.com/en-us/library/ms175581.aspx

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • The first DBA is wrong - you cannot even enable AWE on a 32-bit machine without setting the lock pages in memory right for a service account. Unless you also are not following best practices and including the service account in the local Administrator's group.

    If you are doing that, then no - you do not have to set the lock pages is memory right to enable AWE. But, you still have to enable it to get access to anything over 4GB of memory.

    Jeffrey Williams
    “We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”

    ― Charles R. Swindoll

    How to post questions to get better answers faster
    Managing Transaction Logs

  • The actual limit is 2 GB. the 4 GB is split into parts with a 2GB shared kernel and the remaining 2 GB dedicated to the application.

    http://www.brianmadden.com/blogs/brianmadden/archive/2004/02/19/the-4gb-windows-memory-limit-what-does-it-really-mean.aspx

    By enabling the PAE switch in boot.ini file we can reduce the shared kernel to 1 GB and allocate up to 3Gb to the application.

    Jayanth Kurup[/url]

  • This has always been my ref concerning AWE ...

    AWE Memory by Brad McGehee[/url]

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • ALZDBA (7/19/2011)


    This has always been my ref concerning AWE ...

    AWE Memory by Brad McGehee[/url]

    That's a nice, concise page. I have several of these bookmarked but this one is quick to get to the meat.

    Mike Hinds Lead Database Administrator1st Source BankMCP, MCTS

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply