Sunday, February 26, 2012
Enabling AWE SQL Server 2005 64-bit
I'm trying to enable AWE to access more physical memory for SQL Server 2005
64-bit. I am not seeing the "Address Windowing Extensions enabled" message in
the SQL server logs when I restart services. I am following SQL documentation
to do this but am having no luck. I have done this with SQL 2000 32-bit no
worries. Are things different for 64-bit SQL 2005?
Please provide advice.
Thanks in advanced,
Cheers,
Phil
Hi Phil
AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
field cannot access any memory address higher than 4GB. With 64 bits for
addressing, you can directly address all the memory on your machine.
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"philt" <philt@.discussions.microsoft.com> wrote in message
news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
> Hi All,
> I'm trying to enable AWE to access more physical memory for SQL Server
> 2005
> 64-bit. I am not seeing the "Address Windowing Extensions enabled" message
> in
> the SQL server logs when I restart services. I am following SQL
> documentation
> to do this but am having no luck. I have done this with SQL 2000 32-bit no
> worries. Are things different for 64-bit SQL 2005?
> Please provide advice.
> Thanks in advanced,
> Cheers,
> Phil
|||Thanks Kalen, that's great.
So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
to boot.ini don't configure min and max server memory in SQL config?
Just let SQL 2005 64bit do it's own thing?
I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005 Standard
edition 64bit".
8GB of ram on server, was wanting to reserver 6 GB for SQL.
Thanks again.
Cheers,
Phil
"Kalen Delaney" wrote:
> Hi Phil
> AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
> field cannot access any memory address higher than 4GB. With 64 bits for
> addressing, you can directly address all the memory on your machine.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>
>
|||configuring min / max is good. I'm using it on all my servers.
AWE will not offer any performance advantage.
PAE mean nothing for an x64 server.
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...[vbcol=seagreen]
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
|||I saw a question like this: "If we do not need AWE in x64 then why it is
still exists?"
And I saw the answer for this question which was about AWE is not just for
address extention in x86 systems and it has other purposes too however that
was too technical and I didn't understand indeed. I hope I'll manage to find
a simplified answer for this one day =)
So what would your answer be to this question Kalen?
Ekrem nsoy
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
> Hi Phil
> AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
> field cannot access any memory address higher than 4GB. With 64 bits for
> addressing, you can directly address all the memory on your machine.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>
|||Correct - you need to do nothing but set max/min memory. I think it is best
practice to set at least some spread between max and min. Assuming there
isn't anything else running on the box, 2GB left for the OS should be
sufficient.
Kevin G. Boles
TheSQLGuru
Indicium Resources, Inc.
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...[vbcol=seagreen]
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
|||Ekrem
My answer to the question "Why does AWE exist in x64" would be that MS just
didn't remove it from the metadata and the GUI because it is still needed
for 32-bit. Are there other config options or GUI properties that are
different between 32 and 64 bit? I do not have a 64-bit system to test this
out on.
The only issue with AWE that might apply here, that I am aware of, is that
with AWE enabled SQL Server will commit your max (or target) memory
immediately on startup and not wait until the system needs to use that much.
Again, I do not have a 64 bit machine, so anything I say would just be based
on things I have read.
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"Ekrem nsoy" <ekrem@.btegitim.com> wrote in message
news:B2358AFA-38B1-48E3-B8FC-64FF72EA9834@.microsoft.com...
>I saw a question like this: "If we do not need AWE in x64 then why it is
>still exists?"
> And I saw the answer for this question which was about AWE is not just for
> address extention in x86 systems and it has other purposes too however
> that was too technical and I didn't understand indeed. I hope I'll manage
> to find a simplified answer for this one day =)
> So what would your answer be to this question Kalen?
> --
> Ekrem nsoy
>
> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
> news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
>
|||Hi all,
Although you can't enable AWE directly in the x64 version if you give
the service account the "lock pages in memory" advanced user right in
windows SQL Server will use AWE to access the memory. The only reason
for doing this is if you see a message like "a large portion of SQL
Server memory has been paged out" in the SQL Server error log.
Enabling this means that windows can't page out SQL Server's memory
(just like AWE on 32-bit) and is a fairly recent Microsoft best
practice but guidance has just changed over the last few days. The
best practice now is only to enable it to if you see the "paged out"
error message in the log.
Regards,
Christian Bolton - Database Architect
http://coeo.com - The SQL Server Experts
http://sqlblogcasts.com/blogs/christian
|||I found an answer to this question in the BOL. In a note, they say the
following:
- Note that the sp_configure awe enabled option is present on 64-bit SQL
Server, but it is ignored. It is subject to removal in future releases or
service packs of 64-bit SQL Server.
Link: http://msdn2.microsoft.com/en-us/library/ms187499.aspx
For reference.
Ekrem nsoy
"Ekrem nsoy" <ekrem@.btegitim.com> wrote in message
news:8AAA5BC9-3D05-406C-BBD7-59977F9E43E6@.microsoft.com...
> Hi Kalen,
> Thanks for sharing your thought with us.
> Well, the question "Why does AWE exist in x64" goes to the x64 version of
> SQL Server. As x64 version and x86 versions are different, this option
> could be removed from the x64 version' s SSMS. By the way I don't know if
> there is any difference between the x86 and x64' s SSMS' ? Or you might be
> right, SSMS is the same SSMS in all systems. If this is the situation,
> then the question is going to be kinda answered. However, if SSMSs are
> different in different architectures then I'd love to learn why AWE option
> is still there, in x64's SSMS.
> Unfortunately I don't have a x64 system either.
> --
> Ekrem nsoy
>
> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
> news:ugAL923MIHA.1204@.TK2MSFTNGP03.phx.gbl...
>
Enabling AWE SQL Server 2005 64-bit
I'm trying to enable AWE to access more physical memory for SQL Server 2005
64-bit. I am not seeing the "Address Windowing Extensions enabled" message i
n
the SQL server logs when I restart services. I am following SQL documentatio
n
to do this but am having no luck. I have done this with SQL 2000 32-bit no
worries. Are things different for 64-bit SQL 2005?
Please provide advice.
Thanks in advanced,
Cheers,
PhilHi Phil
AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
field cannot access any memory address higher than 4GB. With 64 bits for
addressing, you can directly address all the memory on your machine.
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"philt" <philt@.discussions.microsoft.com> wrote in message
news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
> Hi All,
> I'm trying to enable AWE to access more physical memory for SQL Server
> 2005
> 64-bit. I am not seeing the "Address Windowing Extensions enabled" message
> in
> the SQL server logs when I restart services. I am following SQL
> documentation
> to do this but am having no luck. I have done this with SQL 2000 32-bit no
> worries. Are things different for 64-bit SQL 2005?
> Please provide advice.
> Thanks in advanced,
> Cheers,
> Phil|||Thanks Kalen, that's great.
So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
to boot.ini don't configure min and max server memory in SQL config?
Just let SQL 2005 64bit do it's own thing?
I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005 Standard
edition 64bit".
8GB of ram on server, was wanting to reserver 6 GB for SQL.
Thanks again.
Cheers,
Phil
"Kalen Delaney" wrote:
> Hi Phil
> AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
> field cannot access any memory address higher than 4GB. With 64 bits for
> addressing, you can directly address all the memory on your machine.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>
>|||configuring min / max is good. I'm using it on all my servers.
AWE will not offer any performance advantage.
PAE mean nothing for an x64 server.
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...[vbcol=seagreen]
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
>|||Its a good idea to set lock pages in memory for the service account too. It
would be bad to page out that much memory.
Jason Massie
www: http://statisticsio.com
rss: http://statisticsio.com/Home/tabid/.../1/Default.aspx
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...[vbcol=seagreen]
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
>|||I saw a question like this: "If we do not need AWE in x64 then why it is
still exists?"
And I saw the answer for this question which was about AWE is not just for
address extention in x86 systems and it has other purposes too however that
was too technical and I didn't understand indeed. I hope I'll manage to find
a simplified answer for this one day =)
So what would your answer be to this question Kalen?
Ekrem nsoy
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
> Hi Phil
> AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
> field cannot access any memory address higher than 4GB. With 64 bits for
> addressing, you can directly address all the memory on your machine.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>|||No go on this one. Lock Pages in Memory on has effect for SQL Server
Enterprise Edition, IIRC.
Kevin G. Boles
TheSQLGuru
Indicium Resources, Inc.
"jason" <jason-r3move@.statisticsio.com> wrote in message
news:8003100B-724F-466B-8ABD-DD3CCEBCFAB9@.microsoft.com...
> Its a good idea to set lock pages in memory for the service account too.
> It would be bad to page out that much memory.
>
> --
> Jason Massie
> www: http://statisticsio.com
> rss: http://statisticsio.com/Home/tabid/.../1/Default.aspx
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...
>|||Correct - you need to do nothing but set max/min memory. I think it is best
practice to set at least some spread between max and min. Assuming there
isn't anything else running on the box, 2GB left for the OS should be
sufficient.
Kevin G. Boles
TheSQLGuru
Indicium Resources, Inc.
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...[vbcol=seagreen]
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
>|||Ekrem
My answer to the question "Why does AWE exist in x64" would be that MS just
didn't remove it from the metadata and the GUI because it is still needed
for 32-bit. Are there other config options or GUI properties that are
different between 32 and 64 bit? I do not have a 64-bit system to test this
out on.
The only issue with AWE that might apply here, that I am aware of, is that
with AWE enabled SQL Server will commit your max (or target) memory
immediately on startup and not wait until the system needs to use that much.
Again, I do not have a 64 bit machine, so anything I say would just be based
on things I have read.
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"Ekrem nsoy" <ekrem@.btegitim.com> wrote in message
news:B2358AFA-38B1-48E3-B8FC-64FF72EA9834@.microsoft.com...
>I saw a question like this: "If we do not need AWE in x64 then why it is
>still exists?"
> And I saw the answer for this question which was about AWE is not just for
> address extention in x86 systems and it has other purposes too however
> that was too technical and I didn't understand indeed. I hope I'll manage
> to find a simplified answer for this one day =)
> So what would your answer be to this question Kalen?
> --
> Ekrem nsoy
>
> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
> news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
>|||Hi Kalen,
Thanks for sharing your thought with us.
Well, the question "Why does AWE exist in x64" goes to the x64 version of
SQL Server. As x64 version and x86 versions are different, this option could
be removed from the x64 version' s SSMS. By the way I don't know if there is
any difference between the x86 and x64' s SSMS' ? Or you might be right,
SSMS is the same SSMS in all systems. If this is the situation, then the
question is going to be kinda answered. However, if SSMSs are different in
different architectures then I'd love to learn why AWE option is still
there, in x64's SSMS.
Unfortunately I don't have a x64 system either.
Ekrem nsoy
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:ugAL923MIHA.1204@.TK2MSFTNGP03.phx.gbl...
> Ekrem
> My answer to the question "Why does AWE exist in x64" would be that MS
> just didn't remove it from the metadata and the GUI because it is still
> needed for 32-bit. Are there other config options or GUI properties that
> are different between 32 and 64 bit? I do not have a 64-bit system to
> test this out on.
> The only issue with AWE that might apply here, that I am aware of, is that
> with AWE enabled SQL Server will commit your max (or target) memory
> immediately on startup and not wait until the system needs to use that
> much. Again, I do not have a 64 bit machine, so anything I say would just
> be based on things I have read.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "Ekrem nsoy" <ekrem@.btegitim.com> wrote in message
> news:B2358AFA-38B1-48E3-B8FC-64FF72EA9834@.microsoft.com...
>
Enabling AWE SQL Server 2005 64-bit
I'm trying to enable AWE to access more physical memory for SQL Server 2005
64-bit. I am not seeing the "Address Windowing Extensions enabled" message in
the SQL server logs when I restart services. I am following SQL documentation
to do this but am having no luck. I have done this with SQL 2000 32-bit no
worries. Are things different for 64-bit SQL 2005?
Please provide advice.
Thanks in advanced,
Cheers,
PhilHi Phil
AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
field cannot access any memory address higher than 4GB. With 64 bits for
addressing, you can directly address all the memory on your machine.
--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"philt" <philt@.discussions.microsoft.com> wrote in message
news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
> Hi All,
> I'm trying to enable AWE to access more physical memory for SQL Server
> 2005
> 64-bit. I am not seeing the "Address Windowing Extensions enabled" message
> in
> the SQL server logs when I restart services. I am following SQL
> documentation
> to do this but am having no luck. I have done this with SQL 2000 32-bit no
> worries. Are things different for 64-bit SQL 2005?
> Please provide advice.
> Thanks in advanced,
> Cheers,
> Phil|||Thanks Kalen, that's great.
So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
to boot.ini don't configure min and max server memory in SQL config?
Just let SQL 2005 64bit do it's own thing?
I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005 Standard
edition 64bit".
8GB of ram on server, was wanting to reserver 6 GB for SQL.
Thanks again.
Cheers,
Phil
"Kalen Delaney" wrote:
> Hi Phil
> AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
> field cannot access any memory address higher than 4GB. With 64 bits for
> addressing, you can directly address all the memory on your machine.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
> > Hi All,
> >
> > I'm trying to enable AWE to access more physical memory for SQL Server
> > 2005
> > 64-bit. I am not seeing the "Address Windowing Extensions enabled" message
> > in
> > the SQL server logs when I restart services. I am following SQL
> > documentation
> > to do this but am having no luck. I have done this with SQL 2000 32-bit no
> > worries. Are things different for 64-bit SQL 2005?
> >
> > Please provide advice.
> > Thanks in advanced,
> > Cheers,
> > Phil
>
>|||configuring min / max is good. I'm using it on all my servers.
AWE will not offer any performance advantage.
PAE mean nothing for an x64 server.
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address
>> field cannot access any memory address higher than 4GB. With 64 bits for
>> addressing, you can directly address all the memory on your machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> > Hi All,
>> >
>> > I'm trying to enable AWE to access more physical memory for SQL Server
>> > 2005
>> > 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> > message
>> > in
>> > the SQL server logs when I restart services. I am following SQL
>> > documentation
>> > to do this but am having no luck. I have done this with SQL 2000 32-bit
>> > no
>> > worries. Are things different for 64-bit SQL 2005?
>> >
>> > Please provide advice.
>> > Thanks in advanced,
>> > Cheers,
>> > Phil
>>|||Its a good idea to set lock pages in memory for the service account too. It
would be bad to page out that much memory.
Jason Massie
www: http://statisticsio.com
rss: http://statisticsio.com/Home/tabid/36/rssid/1/Default.aspx
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address
>> field cannot access any memory address higher than 4GB. With 64 bits for
>> addressing, you can directly address all the memory on your machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> > Hi All,
>> >
>> > I'm trying to enable AWE to access more physical memory for SQL Server
>> > 2005
>> > 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> > message
>> > in
>> > the SQL server logs when I restart services. I am following SQL
>> > documentation
>> > to do this but am having no luck. I have done this with SQL 2000 32-bit
>> > no
>> > worries. Are things different for 64-bit SQL 2005?
>> >
>> > Please provide advice.
>> > Thanks in advanced,
>> > Cheers,
>> > Phil
>>|||I saw a question like this: "If we do not need AWE in x64 then why it is
still exists?"
And I saw the answer for this question which was about AWE is not just for
address extention in x86 systems and it has other purposes too however that
was too technical and I didn't understand indeed. I hope I'll manage to find
a simplified answer for this one day =)
So what would your answer be to this question Kalen?
--
Ekrem Önsoy
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
> Hi Phil
> AWE is not needed with 64-bit. AWE is only needed because a 32-bit address
> field cannot access any memory address higher than 4GB. With 64 bits for
> addressing, you can directly address all the memory on your machine.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> Hi All,
>> I'm trying to enable AWE to access more physical memory for SQL Server
>> 2005
>> 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> message in
>> the SQL server logs when I restart services. I am following SQL
>> documentation
>> to do this but am having no luck. I have done this with SQL 2000 32-bit
>> no
>> worries. Are things different for 64-bit SQL 2005?
>> Please provide advice.
>> Thanks in advanced,
>> Cheers,
>> Phil
>|||No go on this one. Lock Pages in Memory on has effect for SQL Server
Enterprise Edition, IIRC.
--
Kevin G. Boles
TheSQLGuru
Indicium Resources, Inc.
"jason" <jason-r3move@.statisticsio.com> wrote in message
news:8003100B-724F-466B-8ABD-DD3CCEBCFAB9@.microsoft.com...
> Its a good idea to set lock pages in memory for the service account too.
> It would be bad to page out that much memory.
>
> --
> Jason Massie
> www: http://statisticsio.com
> rss: http://statisticsio.com/Home/tabid/36/rssid/1/Default.aspx
>
> "philt" <philt@.discussions.microsoft.com> wrote in message
> news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...
>> Thanks Kalen, that's great.
>> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add
>> PAE
>> to boot.ini don't configure min and max server memory in SQL config?
>> Just let SQL 2005 64bit do it's own thing?
>> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
>> Standard
>> edition 64bit".
>> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
>> Thanks again.
>> Cheers,
>> Phil
>> "Kalen Delaney" wrote:
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address
>> field cannot access any memory address higher than 4GB. With 64 bits for
>> addressing, you can directly address all the memory on your machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> > Hi All,
>> >
>> > I'm trying to enable AWE to access more physical memory for SQL Server
>> > 2005
>> > 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> > message
>> > in
>> > the SQL server logs when I restart services. I am following SQL
>> > documentation
>> > to do this but am having no luck. I have done this with SQL 2000
>> > 32-bit no
>> > worries. Are things different for 64-bit SQL 2005?
>> >
>> > Please provide advice.
>> > Thanks in advanced,
>> > Cheers,
>> > Phil
>>
>|||Correct - you need to do nothing but set max/min memory. I think it is best
practice to set at least some spread between max and min. Assuming there
isn't anything else running on the box, 2GB left for the OS should be
sufficient.
--
Kevin G. Boles
TheSQLGuru
Indicium Resources, Inc.
"philt" <philt@.discussions.microsoft.com> wrote in message
news:0DA946FF-AF53-4D7A-910A-99C088997C49@.microsoft.com...
> Thanks Kalen, that's great.
> So are you saying I do nothing? eg don't enable AWE in SQL?, don't add PAE
> to boot.ini don't configure min and max server memory in SQL config?
> Just let SQL 2005 64bit do it's own thing?
> I'm using "Windows Server 2003 standard 64bit" and "SQL Server 2005
> Standard
> edition 64bit".
> 8GB of ram on server, was wanting to reserver 6 GB for SQL.
> Thanks again.
> Cheers,
> Phil
> "Kalen Delaney" wrote:
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address
>> field cannot access any memory address higher than 4GB. With 64 bits for
>> addressing, you can directly address all the memory on your machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> > Hi All,
>> >
>> > I'm trying to enable AWE to access more physical memory for SQL Server
>> > 2005
>> > 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> > message
>> > in
>> > the SQL server logs when I restart services. I am following SQL
>> > documentation
>> > to do this but am having no luck. I have done this with SQL 2000 32-bit
>> > no
>> > worries. Are things different for 64-bit SQL 2005?
>> >
>> > Please provide advice.
>> > Thanks in advanced,
>> > Cheers,
>> > Phil
>>|||Ekrem
My answer to the question "Why does AWE exist in x64" would be that MS just
didn't remove it from the metadata and the GUI because it is still needed
for 32-bit. Are there other config options or GUI properties that are
different between 32 and 64 bit? I do not have a 64-bit system to test this
out on.
The only issue with AWE that might apply here, that I am aware of, is that
with AWE enabled SQL Server will commit your max (or target) memory
immediately on startup and not wait until the system needs to use that much.
Again, I do not have a 64 bit machine, so anything I say would just be based
on things I have read.
--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
http://sqlblog.com
"Ekrem Önsoy" <ekrem@.btegitim.com> wrote in message
news:B2358AFA-38B1-48E3-B8FC-64FF72EA9834@.microsoft.com...
>I saw a question like this: "If we do not need AWE in x64 then why it is
>still exists?"
> And I saw the answer for this question which was about AWE is not just for
> address extention in x86 systems and it has other purposes too however
> that was too technical and I didn't understand indeed. I hope I'll manage
> to find a simplified answer for this one day =)
> So what would your answer be to this question Kalen?
> --
> Ekrem Önsoy
>
> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
> news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address field cannot access any memory address higher than 4GB. With 64
>> bits for addressing, you can directly address all the memory on your
>> machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> Hi All,
>> I'm trying to enable AWE to access more physical memory for SQL Server
>> 2005
>> 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> message in
>> the SQL server logs when I restart services. I am following SQL
>> documentation
>> to do this but am having no luck. I have done this with SQL 2000 32-bit
>> no
>> worries. Are things different for 64-bit SQL 2005?
>> Please provide advice.
>> Thanks in advanced,
>> Cheers,
>> Phil
>>
>|||Hi Kalen,
Thanks for sharing your thought with us.
Well, the question "Why does AWE exist in x64" goes to the x64 version of
SQL Server. As x64 version and x86 versions are different, this option could
be removed from the x64 version' s SSMS. By the way I don't know if there is
any difference between the x86 and x64' s SSMS' ? Or you might be right,
SSMS is the same SSMS in all systems. If this is the situation, then the
question is going to be kinda answered. However, if SSMSs are different in
different architectures then I'd love to learn why AWE option is still
there, in x64's SSMS.
Unfortunately I don't have a x64 system either.
--
Ekrem Önsoy
"Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
news:ugAL923MIHA.1204@.TK2MSFTNGP03.phx.gbl...
> Ekrem
> My answer to the question "Why does AWE exist in x64" would be that MS
> just didn't remove it from the metadata and the GUI because it is still
> needed for 32-bit. Are there other config options or GUI properties that
> are different between 32 and 64 bit? I do not have a 64-bit system to
> test this out on.
> The only issue with AWE that might apply here, that I am aware of, is that
> with AWE enabled SQL Server will commit your max (or target) memory
> immediately on startup and not wait until the system needs to use that
> much. Again, I do not have a 64 bit machine, so anything I say would just
> be based on things I have read.
> --
> HTH
> Kalen Delaney, SQL Server MVP
> www.InsideSQLServer.com
> http://sqlblog.com
>
> "Ekrem Önsoy" <ekrem@.btegitim.com> wrote in message
> news:B2358AFA-38B1-48E3-B8FC-64FF72EA9834@.microsoft.com...
>>I saw a question like this: "If we do not need AWE in x64 then why it is
>>still exists?"
>> And I saw the answer for this question which was about AWE is not just
>> for address extention in x86 systems and it has other purposes too
>> however that was too technical and I didn't understand indeed. I hope
>> I'll manage to find a simplified answer for this one day =)
>> So what would your answer be to this question Kalen?
>> --
>> Ekrem Önsoy
>>
>> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
>> news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address field cannot access any memory address higher than 4GB. With 64
>> bits for addressing, you can directly address all the memory on your
>> machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> Hi All,
>> I'm trying to enable AWE to access more physical memory for SQL Server
>> 2005
>> 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> message in
>> the SQL server logs when I restart services. I am following SQL
>> documentation
>> to do this but am having no luck. I have done this with SQL 2000 32-bit
>> no
>> worries. Are things different for 64-bit SQL 2005?
>> Please provide advice.
>> Thanks in advanced,
>> Cheers,
>> Phil
>>
>|||Hi all,
Although you can't enable AWE directly in the x64 version if you give
the service account the "lock pages in memory" advanced user right in
windows SQL Server will use AWE to access the memory. The only reason
for doing this is if you see a message like "a large portion of SQL
Server memory has been paged out" in the SQL Server error log.
Enabling this means that windows can't page out SQL Server's memory
(just like AWE on 32-bit) and is a fairly recent Microsoft best
practice but guidance has just changed over the last few days. The
best practice now is only to enable it to if you see the "paged out"
error message in the log.
Regards,
Christian Bolton - Database Architect
http://coeo.com - The SQL Server Experts
http://sqlblogcasts.com/blogs/christian|||I found an answer to this question in the BOL. In a note, they say the
following:
- Note that the sp_configure awe enabled option is present on 64-bit SQL
Server, but it is ignored. It is subject to removal in future releases or
service packs of 64-bit SQL Server.
Link: http://msdn2.microsoft.com/en-us/library/ms187499.aspx
For reference.
--
Ekrem Önsoy
"Ekrem Önsoy" <ekrem@.btegitim.com> wrote in message
news:8AAA5BC9-3D05-406C-BBD7-59977F9E43E6@.microsoft.com...
> Hi Kalen,
> Thanks for sharing your thought with us.
> Well, the question "Why does AWE exist in x64" goes to the x64 version of
> SQL Server. As x64 version and x86 versions are different, this option
> could be removed from the x64 version' s SSMS. By the way I don't know if
> there is any difference between the x86 and x64' s SSMS' ? Or you might be
> right, SSMS is the same SSMS in all systems. If this is the situation,
> then the question is going to be kinda answered. However, if SSMSs are
> different in different architectures then I'd love to learn why AWE option
> is still there, in x64's SSMS.
> Unfortunately I don't have a x64 system either.
> --
> Ekrem Önsoy
>
> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
> news:ugAL923MIHA.1204@.TK2MSFTNGP03.phx.gbl...
>> Ekrem
>> My answer to the question "Why does AWE exist in x64" would be that MS
>> just didn't remove it from the metadata and the GUI because it is still
>> needed for 32-bit. Are there other config options or GUI properties that
>> are different between 32 and 64 bit? I do not have a 64-bit system to
>> test this out on.
>> The only issue with AWE that might apply here, that I am aware of, is
>> that with AWE enabled SQL Server will commit your max (or target) memory
>> immediately on startup and not wait until the system needs to use that
>> much. Again, I do not have a 64 bit machine, so anything I say would just
>> be based on things I have read.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "Ekrem Önsoy" <ekrem@.btegitim.com> wrote in message
>> news:B2358AFA-38B1-48E3-B8FC-64FF72EA9834@.microsoft.com...
>>I saw a question like this: "If we do not need AWE in x64 then why it is
>>still exists?"
>> And I saw the answer for this question which was about AWE is not just
>> for address extention in x86 systems and it has other purposes too
>> however that was too technical and I didn't understand indeed. I hope
>> I'll manage to find a simplified answer for this one day =)
>> So what would your answer be to this question Kalen?
>> --
>> Ekrem Önsoy
>>
>> "Kalen Delaney" <replies@.public_newsgroups.com> wrote in message
>> news:elNSnmuMIHA.4740@.TK2MSFTNGP02.phx.gbl...
>> Hi Phil
>> AWE is not needed with 64-bit. AWE is only needed because a 32-bit
>> address field cannot access any memory address higher than 4GB. With 64
>> bits for addressing, you can directly address all the memory on your
>> machine.
>> --
>> HTH
>> Kalen Delaney, SQL Server MVP
>> www.InsideSQLServer.com
>> http://sqlblog.com
>>
>> "philt" <philt@.discussions.microsoft.com> wrote in message
>> news:C97C67C8-C6EE-455E-BF13-EE139812B7E5@.microsoft.com...
>> Hi All,
>> I'm trying to enable AWE to access more physical memory for SQL Server
>> 2005
>> 64-bit. I am not seeing the "Address Windowing Extensions enabled"
>> message in
>> the SQL server logs when I restart services. I am following SQL
>> documentation
>> to do this but am having no luck. I have done this with SQL 2000
>> 32-bit no
>> worries. Are things different for 64-bit SQL 2005?
>> Please provide advice.
>> Thanks in advanced,
>> Cheers,
>> Phil
>>
>>
>
enabling AWE
Task Manager, Process for sqlserver.exe shows 90MB - is
this normal? I have configured sql server to use 6GB!!!!
How can I be sure the memory is set up correctly?
CBUse perfmon and view the sql server memory counters instead of task manager.
Specifically the target and total memory should show approx 6GB. Did you
set the /PAE switch in the boot.ini as well? How about the /3GB?
87 Shrinking TempDB
http://www.sql-server-performance.com/awe_memory.asp Using AWE Memory
http://www.support.microsoft.com/?id=321363 SQL Server 7 & 2000 memory
usage
http://www.support.microsoft.com/?id=274750 Memory config
http://www.support.microsoft.com/?id=283037 Large Memory Support Is
Available in Windows 2000 (AWE)
http://www.support.microsoft.com/?id=811891 Can not use more than 2GB of
memory
--
Andrew J. Kelly SQL MVP
"CB" <anonymous@.discussions.microsoft.com> wrote in message
news:64e201c4cb40$8dab3650$a601280a@.phx.gbl...
> After enabling awe and setting the max server memory, the
> Task Manager, Process for sqlserver.exe shows 90MB - is
> this normal? I have configured sql server to use 6GB!!!!
> How can I be sure the memory is set up correctly?
> CB
Enabling AWE
Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
Server 2005 EE to be able to use whole of memory if required.
I have already used "awe enabled" option with sp_configure to change the run
value to 1, but it seems other parameters must be configured on OS.
What's the easiest way to do it?
Many thanks in advance,
LeilaAt the OS level, you have to set the /PAE switch in BOOT.INI. That said,
your machine doesn't really have enough RAM. You don't want to give 100% of
the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
some before you turn on AWE.
--
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
.
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
Hi,
Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
Server 2005 EE to be able to use whole of memory if required.
I have already used "awe enabled" option with sp_configure to change the run
value to 1, but it seems other parameters must be configured on OS.
What's the easiest way to do it?
Many thanks in advance,
Leila|||That is NOT correct. AWE can be enabled without PAE. Using PAE allows the OS
to address more than 4 GB of memory. AWE is an API set that applications
(like SQL) can leverage to reserve chunks of memory for manipulation.
Since he only has 3.5 GB of memory, PAE would get him nothing. Also, SQL
will never be able to reserve all of the memory. The OS needs some, other
services, etc., will also use some memory.
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100% of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the run
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>|||Does your boot.ini have the /3GB switch? If not, the operating system will
not be able to allocate all of your memory.
Also, I highly recommend NOT allowing SQL Server to consume *all* of the
memory. The OS needs some, too.
A
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>|||You would be best served, UNTIL you get more memory, to use the /3GB switch.
The /3GB switch gives SQL Server up to 3 GB of memory. The OS requires
memory, so leaving the remaining 512 MB for the OS seems about right.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>|||You would be best served, UNTIL you get more memory, to use the /3GB switch.
The /3GB switch gives SQL Server up to 3 GB of memory. The OS requires
memory, so leaving the remaining 512 MB for the OS seems about right.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>|||Thanks every body!
What's the exact parameter that I must add to boot.ini?
"Aaron Bertrand [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in message
news:OAryIzzBHHA.4892@.TK2MSFTNGP04.phx.gbl...
> Does your boot.ini have the /3GB switch? If not, the operating system
> will not be able to allocate all of your memory.
> Also, I highly recommend NOT allowing SQL Server to consume *all* of the
> memory. The OS needs some, too.
> A
>
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
>> Hi,
>> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
>> Server 2005 EE to be able to use whole of memory if required.
>> I have already used "awe enabled" option with sp_configure to change the
>> run value to 1, but it seems other parameters must be configured on OS.
>> What's the easiest way to do it?
>> Many thanks in advance,
>> Leila
>|||/3GB
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:eH4iWF1BHHA.4992@.TK2MSFTNGP03.phx.gbl...
> Thanks every body!
> What's the exact parameter that I must add to boot.ini?
>
> "Aaron Bertrand [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in
> message news:OAryIzzBHHA.4892@.TK2MSFTNGP04.phx.gbl...
>> Does your boot.ini have the /3GB switch? If not, the operating system
>> will not be able to allocate all of your memory.
>> Also, I highly recommend NOT allowing SQL Server to consume *all* of the
>> memory. The OS needs some, too.
>> A
>>
>>
>> "Leila" <Leilas@.hotpop.com> wrote in message
>> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
>> Hi,
>> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
>> Server 2005 EE to be able to use whole of memory if required.
>> I have already used "awe enabled" option with sp_configure to change the
>> run value to 1, but it seems other parameters must be configured on OS.
>> What's the easiest way to do it?
>> Many thanks in advance,
>> Leila
>>
>|||Run sp_configure to enable AWE, and set the max server memory. be sure to
leave some memory for the OS. Also, set the /PAE switch in BOOT.INI and
reboot.
--
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
.
"Kamal Hassan" <KamalHassan@.discussions.microsoft.com> wrote in message
news:92951B59-BB92-47B3-A72F-C544D8DF01C1@.microsoft.com...
Hi All,
I need some help here:
We have Windows 2000 Advanced Server sp4
SQL Server 2000 EE sp4 plus HOT Fix (KB899761)
Boot.ini filoe has /3GB switch
Total Memory Available = 8.0 GB
SQL Server configuration as follow:
min memory per query (KB) = 2048
max server memory (MB) = 5097
The SQL Server service account seems to have all appropriate permisison
(lock memory etc.)
But it seems that SQL Server can only allocate approx 2.4 GB of memory
Any help would be greatly appreciated!
Kamal
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100%
> of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>
Enabling AWE
Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
Server 2005 EE to be able to use whole of memory if required.
I have already used "awe enabled" option with sp_configure to change the run
value to 1, but it seems other parameters must be configured on OS.
What's the easiest way to do it?
Many thanks in advance,
LeilaAt the OS level, you have to set the /PAE switch in BOOT.INI. That said,
your machine doesn't really have enough RAM. You don't want to give 100% of
the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
some before you turn on AWE.
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
.
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
Hi,
Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
Server 2005 EE to be able to use whole of memory if required.
I have already used "awe enabled" option with sp_configure to change the run
value to 1, but it seems other parameters must be configured on OS.
What's the easiest way to do it?
Many thanks in advance,
Leila|||That is NOT correct. AWE can be enabled without PAE. Using PAE allows the OS
to address more than 4 GB of memory. AWE is an API set that applications
(like SQL) can leverage to reserve chunks of memory for manipulation.
Since he only has 3.5 GB of memory, PAE would get him nothing. Also, SQL
will never be able to reserve all of the memory. The OS needs some, other
services, etc., will also use some memory.
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100%
of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the r
un
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>|||Does your boot.ini have the /3GB switch? If not, the operating system will
not be able to allocate all of your memory.
Also, I highly recommend NOT allowing SQL Server to consume *all* of the
memory. The OS needs some, too.
A
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>|||You would be best served, UNTIL you get more memory, to use the /3GB switch.
The /3GB switch gives SQL Server up to 3 GB of memory. The OS requires
memory, so leaving the remaining 512 MB for the OS seems about right.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>|||You would be best served, UNTIL you get more memory, to use the /3GB switch.
The /3GB switch gives SQL Server up to 3 GB of memory. The OS requires
memory, so leaving the remaining 512 MB for the OS seems about right.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>|||Thanks every body!
What's the exact parameter that I must add to boot.ini?
"Aaron Bertrand [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in mess
age
news:OAryIzzBHHA.4892@.TK2MSFTNGP04.phx.gbl...
> Does your boot.ini have the /3GB switch? If not, the operating system
> will not be able to allocate all of your memory.
> Also, I highly recommend NOT allowing SQL Server to consume *all* of the
> memory. The OS needs some, too.
> A
>
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
>|||/3GB
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:eH4iWF1BHHA.4992@.TK2MSFTNGP03.phx.gbl...
> Thanks every body!
> What's the exact parameter that I must add to boot.ini?
>
> "Aaron Bertrand [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in
> message news:OAryIzzBHHA.4892@.TK2MSFTNGP04.phx.gbl...
>|||Hi All,
I need some help here:
We have Windows 2000 Advanced Server sp4
SQL Server 2000 EE sp4 plus HOT Fix (KB899761)
Boot.ini filoe has /3GB switch
Total Memory Available = 8.0 GB
SQL Server configuration as follow:
min memory per query (KB) = 2048
max server memory (MB) = 5097
The SQL Server service account seems to have all appropriate permisison
(lock memory etc.)
But it seems that SQL Server can only allocate approx 2.4 GB of memory
Any help would be greatly appreciated!
Kamal
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100%
of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the r
un
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>|||Run sp_configure to enable AWE, and set the max server memory. be sure to
leave some memory for the OS. Also, set the /PAE switch in BOOT.INI and
reboot.
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
.
"Kamal Hassan" <KamalHassan@.discussions.microsoft.com> wrote in message
news:92951B59-BB92-47B3-A72F-C544D8DF01C1@.microsoft.com...
Hi All,
I need some help here:
We have Windows 2000 Advanced Server sp4
SQL Server 2000 EE sp4 plus HOT Fix (KB899761)
Boot.ini filoe has /3GB switch
Total Memory Available = 8.0 GB
SQL Server configuration as follow:
min memory per query (KB) = 2048
max server memory (MB) = 5097
The SQL Server service account seems to have all appropriate permisison
(lock memory etc.)
But it seems that SQL Server can only allocate approx 2.4 GB of memory
Any help would be greatly appreciated!
Kamal
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100%
> of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>
enabling AWE
Task Manager, Process for sqlserver.exe shows 90MB - is
this normal? I have configured sql server to use 6GB!!!!
How can I be sure the memory is set up correctly?
CBUse perfmon and view the sql server memory counters instead of task manager.
Specifically the target and total memory should show approx 6GB. Did you
set the /PAE switch in the boot.ini as well? How about the /3GB?
87 Shrinking TempDB
http://www.sql-server-performance.com/awe_memory.asp Using AWE Memory
http://www.support.microsoft.com/?id=321363 SQL Server 7 & 2000 memory
usage
http://www.support.microsoft.com/?id=274750 Memory config
http://www.support.microsoft.com/?id=283037 Large Memory Support Is
Available in Windows 2000 (AWE)
http://www.support.microsoft.com/?id=811891 Can not use more than 2GB of
memory
Andrew J. Kelly SQL MVP
"CB" <anonymous@.discussions.microsoft.com> wrote in message
news:64e201c4cb40$8dab3650$a601280a@.phx.gbl...
> After enabling awe and setting the max server memory, the
> Task Manager, Process for sqlserver.exe shows 90MB - is
> this normal? I have configured sql server to use 6GB!!!!
> How can I be sure the memory is set up correctly?
> CB
Enabling AWE
Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
Server 2005 EE to be able to use whole of memory if required.
I have already used "awe enabled" option with sp_configure to change the run
value to 1, but it seems other parameters must be configured on OS.
What's the easiest way to do it?
Many thanks in advance,
Leila
At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
your machine doesn't really have enough RAM. You don't want to give 100% of
the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
some before you turn on AWE.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
..
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
Hi,
Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
Server 2005 EE to be able to use whole of memory if required.
I have already used "awe enabled" option with sp_configure to change the run
value to 1, but it seems other parameters must be configured on OS.
What's the easiest way to do it?
Many thanks in advance,
Leila
|||That is NOT correct. AWE can be enabled without PAE. Using PAE allows the OS
to address more than 4 GB of memory. AWE is an API set that applications
(like SQL) can leverage to reserve chunks of memory for manipulation.
Since he only has 3.5 GB of memory, PAE would get him nothing. Also, SQL
will never be able to reserve all of the memory. The OS needs some, other
services, etc., will also use some memory.
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100% of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the run
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>
|||Does your boot.ini have the /3GB switch? If not, the operating system will
not be able to allocate all of your memory.
Also, I highly recommend NOT allowing SQL Server to consume *all* of the
memory. The OS needs some, too.
A
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
|||You would be best served, UNTIL you get more memory, to use the /3GB switch.
The /3GB switch gives SQL Server up to 3 GB of memory. The OS requires
memory, so leaving the remaining 512 MB for the OS seems about right.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
|||You would be best served, UNTIL you get more memory, to use the /3GB switch.
The /3GB switch gives SQL Server up to 3 GB of memory. The OS requires
memory, so leaving the remaining 512 MB for the OS seems about right.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
|||Thanks every body!
What's the exact parameter that I must add to boot.ini?
"Aaron Bertrand [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in message
news:OAryIzzBHHA.4892@.TK2MSFTNGP04.phx.gbl...
> Does your boot.ini have the /3GB switch? If not, the operating system
> will not be able to allocate all of your memory.
> Also, I highly recommend NOT allowing SQL Server to consume *all* of the
> memory. The OS needs some, too.
> A
>
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
>
|||/3GB
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Leila" <Leilas@.hotpop.com> wrote in message
news:eH4iWF1BHHA.4992@.TK2MSFTNGP03.phx.gbl...
> Thanks every body!
> What's the exact parameter that I must add to boot.ini?
>
> "Aaron Bertrand [SQL Server MVP]" <ten.xoc@.dnartreb.noraa> wrote in
> message news:OAryIzzBHHA.4892@.TK2MSFTNGP04.phx.gbl...
>
|||Hi All,
I need some help here:
We have Windows 2000 Advanced Server sp4
SQL Server 2000 EE sp4 plus HOT Fix (KB899761)
Boot.ini filoe has /3GB switch
Total Memory Available = 8.0 GB
SQL Server configuration as follow:
min memory per query (KB) = 2048
max server memory (MB) = 5097
The SQL Server service account seems to have all appropriate permisison
(lock memory etc.)
But it seems that SQL Server can only allocate approx 2.4 GB of memory
Any help would be greatly appreciated!
Kamal
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100% of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the run
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>
|||Run sp_configure to enable AWE, and set the max server memory. be sure to
leave some memory for the OS. Also, set the /PAE switch in BOOT.INI and
reboot.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
..
"Kamal Hassan" <KamalHassan@.discussions.microsoft.com> wrote in message
news:92951B59-BB92-47B3-A72F-C544D8DF01C1@.microsoft.com...
Hi All,
I need some help here:
We have Windows 2000 Advanced Server sp4
SQL Server 2000 EE sp4 plus HOT Fix (KB899761)
Boot.ini filoe has /3GB switch
Total Memory Available = 8.0 GB
SQL Server configuration as follow:
min memory per query (KB) = 2048
max server memory (MB) = 5097
The SQL Server service account seems to have all appropriate permisison
(lock memory etc.)
But it seems that SQL Server can only allocate approx 2.4 GB of memory
Any help would be greatly appreciated!
Kamal
"Tom Moreau" wrote:
> At the OS level, you have to set the /PAE switch in BOOT.INI. That said,
> your machine doesn't really have enough RAM. You don't want to give 100%
> of
> the RAM to SQL Server, since the OS needs memory, too. RAM is cheap. Buy
> some before you turn on AWE.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
> SQL Server MVP
> Toronto, ON Canada
> ..
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:O%23xDOXzBHHA.4348@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Our server has Windows 2003 EE with 3.5 GB RAM. I want to configure SQL
> Server 2005 EE to be able to use whole of memory if required.
> I have already used "awe enabled" option with sp_configure to change the
> run
> value to 1, but it seems other parameters must be configured on OS.
> What's the easiest way to do it?
> Many thanks in advance,
> Leila
>
>
enabling AWE
Task Manager, Process for sqlserver.exe shows 90MB - is
this normal? I have configured sql server to use 6GB!!!!
How can I be sure the memory is set up correctly?
CB
Use perfmon and view the sql server memory counters instead of task manager.
Specifically the target and total memory should show approx 6GB. Did you
set the /PAE switch in the boot.ini as well? How about the /3GB?
87 Shrinking TempDB
http://www.sql-server-performance.com/awe_memory.asp Using AWE Memory
http://www.support.microsoft.com/?id=321363 SQL Server 7 & 2000 memory
usage
http://www.support.microsoft.com/?id=274750 Memory config
http://www.support.microsoft.com/?id=283037 Large Memory Support Is
Available in Windows 2000 (AWE)
http://www.support.microsoft.com/?id=811891 Can not use more than 2GB of
memory
Andrew J. Kelly SQL MVP
"CB" <anonymous@.discussions.microsoft.com> wrote in message
news:64e201c4cb40$8dab3650$a601280a@.phx.gbl...
> After enabling awe and setting the max server memory, the
> Task Manager, Process for sqlserver.exe shows 90MB - is
> this normal? I have configured sql server to use 6GB!!!!
> How can I be sure the memory is set up correctly?
> CB
Sunday, February 19, 2012
Enable AWE under SQL2005 EE -
Hello,
I understand that SQL2005x64 bits ignore AWE enable in SQL because it can address all the memory without having to use AWE. How about 32 bits SQL2005, does it support AWE enabled?
I emailed the guy who presented on the topic at PASS a few weeks ago and here's his response. It may be a bit overkill, but hopefully answers your question. :)
This is a bit complicated.
Yes, SQL 2005 supports AWE and the behavior is different from 2000 in it is dynacmically adjustable with no server restart.
On x64 and I64 regardless of the AWE setting we use the underlying windows AWE mechanism to allocate the memory. This is a performance optimization because using this AWE mechanism in the kernel requires one less lock. However there is no mapping/unmapping from lower to upper memory as you would in the 32-bit world – just flat addressing. Customers can get confused when they look at DBCC MEMORYSTATUS on 64-bit and see AWE pages allocated.
Also, on 64-bit make sure that the SQL service account needs to be granted “lock pages in memory”.
Also, take a look at Slava’s BLOG – it explains many of the memory behaviors of the engine in great depth.
?http://blogs.msdn.com/slavao
Thanks,
Sam Lester (MSFT)
Enabel AWE under SQL2005 EE -
Hello,
I understand that SQL2005x64 bits ignore AWE enable in SQL because it can address all the memory without having to use AWE. How about 32 bits SQL2005, does it support AWE enabled?
I emailed the guy who presented on the topic at PASS a few weeks ago and here's his response. It may be a bit overkill, but hopefully answers your question. :)
This is a bit complicated.
Yes, SQL 2005 supports AWE and the behavior is different from 2000 in it is dynacmically adjustable with no server restart.
On x64 and I64 regardless of the AWE setting we use the underlying windows AWE mechanism to allocate the memory. This is a performance optimization because using this AWE mechanism in the kernel requires one less lock. However there is no mapping/unmapping from lower to upper memory as you would in the 32-bit world – just flat addressing. Customers can get confused when they look at DBCC MEMORYSTATUS on 64-bit and see AWE pages allocated.
Also, on 64-bit make sure that the SQL service account needs to be granted “lock pages in memory”.
Also, take a look at Slava’s BLOG – it explains many of the memory behaviors of the engine in great depth.
?http://blogs.msdn.com/slavao
Thanks,
Sam Lester (MSFT)