Tuesday, March 20, 2012
back up without ent manager.
ale to re-install it. I want to make full back ups of the database but have
never done this without ent manager.
Can I just copy the files in the data folder? or is there a better way.
JohnYou can easily use a batch file and OSQL
osql -S. -E -Q"BACKUP DATABASE Pubs TO DISK= 'd:\PubDeleteMePlease.bak'"
You could write something in VB and use the DMO library.
I would first though, and I haven't read you previous posts that you refer
to, I don't think, investigate why my EM is not working.
--
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
"John Pether" <john@.john.com> wrote in message
news:#onkIILXDHA.384@.TK2MSFTNGP12.phx.gbl...
> As per earlier post my ent manager has stopped working and I have not been
> ale to re-install it. I want to make full back ups of the database but
have
> never done this without ent manager.
> Can I just copy the files in the data folder? or is there a better way.
> John
>|||Thanks for the help guys:) I have been trying to find out the reason ent
manager stopped working lal day...but its holding me up and I may be better
off just re-installing the whole thing(is on my dev machine)
The problem is the mmc snap in will not open, i get the following error:
MMC cannot open the file c:\program Files\Microsoft SQL
Server\80\Tools\BINN\SQL Server Enterprise Manager.MSC
This may be because the file does not exist, is not an MMC console, or was
created by a later version of MMC. This may also be because you do not have
sufficient access rights to the file.
I tried as local administrator and get the following error:
c:\program Files\Microsoft SQL Server\80\Tools\BINN\SQL Server Enterprise
Manager.MSC
The service cannot be started, either because it is disabled or because it
has no enabled devices associated with it.
If anyone has any suggestions I would appreciate the help other wise i'm
just gonna re-install the whole thing, I have already re-installed client
tools without success..
John
"Allan Mitchell" <allan@.no-spam.sqldts.com> wrote in message
news:eQ9wXtLXDHA.1900@.TK2MSFTNGP10.phx.gbl...
> You can easily use a batch file and OSQL
> osql -S. -E -Q"BACKUP DATABASE Pubs TO DISK= 'd:\PubDeleteMePlease.bak'"
> You could write something in VB and use the DMO library.
> I would first though, and I haven't read you previous posts that you refer
> to, I don't think, investigate why my EM is not working.
>
>
> --
> --
> Allan Mitchell (Microsoft SQL Server MVP)
> MCSE,MCDBA
> www.SQLDTS.com
> I support PASS - the definitive, global community
> for SQL Server professionals - http://www.sqlpass.org
>
> "John Pether" <john@.john.com> wrote in message
> news:#onkIILXDHA.384@.TK2MSFTNGP12.phx.gbl...
> > As per earlier post my ent manager has stopped working and I have not
been
> > ale to re-install it. I want to make full back ups of the database but
> have
> > never done this without ent manager.
> >
> > Can I just copy the files in the data folder? or is there a better way.
> >
> > John
> >
> >
>|||In addition to what the others have said, you might want to look at =using WITH INIT
as in BACKUP DATABASE pubs TO DISK=3D'c:\pubs_fullbackup.bak' WITH INIT
This initializes (clears) the backup file each time.
If you don't do this...
Lets say that pubs is 15MB.
The first time that you issue a backup your backup file will be 15MB. =The second time that you issue your statement the backup file will =contain both backups -- 30MB. The third time that you issue your backup =statement it will be 45MB, the fourth time, 60MB....(plus any increase =in the size of the database along the way).
If you use WITH INIT your backup file will only contain one database =backup.
-- Keith, SQL Server MVP
"John Pether" <john@.john.com> wrote in message =news:%23onkIILXDHA.384@.TK2MSFTNGP12.phx.gbl...
> As per earlier post my ent manager has stopped working and I have not =been
> ale to re-install it. I want to make full back ups of the database but =have
> never done this without ent manager.
> > Can I just copy the files in the data folder? or is there a better =way.
> > John
> >sql
Sunday, March 11, 2012
AWE working?
Hi all,
This is a question related to AWE settings. I am on windows 2003 ent version with SQL Server 2005 std version. I have configured SQL Server to use AWE and min memery as 22G and max as 26G (I have 32G in total as physical memory). I do see the message in log as "Windows Address ... Enabled", but when I am using performance monitor to view total memory in kb for SQL Server, it never starts at 22G (usually at 1G). And I doubt why? The account I am running SQL Server is an admin account, so it can definitely locked down the pages in memory. Also, I do think AWE is working somehow, after several hours in running, the total memory will up to 8, 9 or 11G. So, apparently, it is over 2G per process limitation. I still want to know.
1. Is my AWE setting working?
2. If not, how to fix that?
3. How to confirm how many memory is actaully using by SQL Server?
Thanks,
NIng
(The comment below assumes 32 bit OS and 32 bit SQL Server.)
1. Since you see that SQL Server's memory usage grows up to 11GB, it is obvious that AWE is working. SQL Server only requests memory from the OS as it is needed -once allocated, it usually keeps it.
2. Nothing to do
3. Performance Monitor, as you are using, indicates SQL Server's memory usage. For more detailed memory usage analysis, you can look at the various SQL Server Memory counters in Performance Monitor, and you can use some the the system functions that will give you memory data. Look at the System Views. (Click on Database, Views, System Views.) Try:
SELECT * FROM sys.dm_os_performance_counter
Looking specifically at the SQL Server Memory Manager objects.
|||Are you sure this is by design?My performance is awful after I have upgraded. SQL Server 2000 used to locked the memory as it starts, so the production server (4 cpus and 32 G memory) was doing a lot better than my development server with (1cpu and 2G memory). However, after upgrade, the performance level of the production server is awful. For example, a query need 9 seconds on test server used to run only 2 seconds on live server. Now it needs 8 seconds ...
|||
After upgrading, it is NECESSARY to rebuild ALL the indexes, and update the statistics. If you have not done that, your performace will often be signicantly worse.
And even then, some queries will run faster on SQL 2005, and some (albeit few) will run slower. It may be necessary to 'revise' queries that are signicantly slower in order to use the new ways that SQL 2005 produces execution plans.
Thursday, March 8, 2012
awe settings.
I've recently enabled awe memory on 2 of our servers.
Everything seems to be going OK, AWE memory counters
are active in performance monitor and the sql serror log
shows awe memory enabled on startup.
My question is, is the above information enough to know that
awe is working correctly? If not, what other things can be looked
at?
TIA.see
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q274750#6
--
BR,
Mark Broadbent mcdba,mcse+i
_________________________
"Stressed" <k@.c.co.uk> wrote in message
news:%23oI0KZzVDHA.2164@.TK2MSFTNGP09.phx.gbl...
> SQL2K Ent SP3a Win2k SP3
> I've recently enabled awe memory on 2 of our servers.
> Everything seems to be going OK, AWE memory counters
> are active in performance monitor and the sql serror log
> shows awe memory enabled on startup.
> My question is, is the above information enough to know that
> awe is working correctly? If not, what other things can be looked
> at?
> TIA.
>
>|||Also, when SQL Server starts you should see a line time in
the event log that says:
"Address Windowing Extensions enabled."
Ron
>--Original Message--
>see
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;Q274750#6
>--
>BR,
>Mark Broadbent mcdba,mcse+i
>_________________________
>"Stressed" <k@.c.co.uk> wrote in message
>news:%23oI0KZzVDHA.2164@.TK2MSFTNGP09.phx.gbl...
>> SQL2K Ent SP3a Win2k SP3
>> I've recently enabled awe memory on 2 of our servers.
>> Everything seems to be going OK, AWE memory counters
>> are active in performance monitor and the sql serror log
>> shows awe memory enabled on startup.
>> My question is, is the above information enough to know
that
>> awe is working correctly? If not, what other things can
be looked
>> at?
>> TIA.
>>
>>
>
>.
>
AWE Memory?
I've tried reading about how AWE memory works but I really can't figure it
out...
I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to use
as much as possible of the RAM for SQL Server.
I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still 1
Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
space is in my interest to use for SQL Server.
If I enable AWE memory and set the max server memory to 3,5 Gbyte will I be
able to use that extra 512 Mbytes as well? Or is AWE only for boxes with more
than 4 Gbytes RAM?
regards
fredrik
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
I don't think you need to enable AWE memory in that case
AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
http://support.microsoft.com/kb/274750
http://www.sql-server-performance.com/awe_memory.asp
"Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> Hi all?
> I've tried reading about how AWE memory works but I really can't figure it
> out...
> I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> use
> as much as possible of the RAM for SQL Server.
> I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> 1
> Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> space is in my interest to use for SQL Server.
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
> regards
> fredrik
|||If we are talking about the memory usage as measured by the SQL counter Total
Server Memory, you need to enable AWE to use more than 3GB. It is not correct
that AWE is used only for RAM that exceeds 4GB.
Linchi
"Uri Dimant" wrote:
> I don't think you need to enable AWE memory in that case
> AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
> http://support.microsoft.com/kb/274750
> http://www.sql-server-performance.com/awe_memory.asp
>
> "Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
> news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
>
>
|||Could you give us some support on that assertion? (It is not correct that AWE is used only for RAM that exceeds 4GB." If my information is incorrect, I would like to update it to reflect that which is indeed correct...
I've been going by the following:
"AWE is a set of memory management extensions to the Microsoft Win32? API that allows applications to address memory beyond 4 GB."
From: http://download.microsoft.com/downlo...dv64BitEnv.doc
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...[vbcol=seagreen]
> If we are talking about the memory usage as measured by the SQL counter Total
> Server Memory, you need to enable AWE to use more than 3GB. It is not correct
> that AWE is used only for RAM that exceeds 4GB.
> Linchi
> "Uri Dimant" wrote:
|||Could you give us some support on that assertion? (It is not correct that AWE is used only for RAM that exceeds 4GB." If my information is incorrect, I would like to update it to reflect that which is indeed correct...
I've been going by the following:
"AWE is a set of memory management extensions to the Microsoft Win32? API that allows applications to address memory beyond 4 GB."
From: http://download.microsoft.com/downlo...dv64BitEnv.doc
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...[vbcol=seagreen]
> If we are talking about the memory usage as measured by the SQL counter Total
> Server Memory, you need to enable AWE to use more than 3GB. It is not correct
> that AWE is used only for RAM that exceeds 4GB.
> Linchi
> "Uri Dimant" wrote:
|||What you need instead of all these buggy flags is to move to x64 where the
memory issue doesn't exist at all. Of course you also need to make sure you
run SQL Server 64 bit as well, not the 32 bit version on a 64 bit system.
Unfortunately very few dedicated hosts offer Windows 2003 x64.
KL
"Fredrik" <Fredrik@.discussions.microsoft.com> skrev i meddelandet
news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> Hi all?
> I've tried reading about how AWE memory works but I really can't figure it
> out...
> I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> use
> as much as possible of the RAM for SQL Server.
> I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> 1
> Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> space is in my interest to use for SQL Server.
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
> regards
> fredrik
|||Here's some empirical evidence from the test scenarios in which severe memory
pressure was put on the instance with 4GB of RAM. If the following comes out
unreadable format-wise, drop me an email and I send you the charts.
Linchi
linchi_shea@.take-this-out-FIRSTml.com
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 N N 500 560
1000 N N 1000 1060
1500 N N 1206 1266
2000 N N 1206 1266
2500 N N 1206 1266
3000 N N 1206 1266
3500 N N 1206 1266
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 Y N 500 61
1000 Y N 1000 67
1500 Y N 1500 71
2000 Y N 2000 76
2500 Y N 2500 81
3000 Y N 3000 86
3500 Y N 3500 90
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 Y Y 500 65
1000 Y Y 1000 70
1500 Y Y 1500 75
2000 Y Y 2000 80
2500 Y Y 2500 84
3000 Y Y 3000 89
3500 Y Y 3500 94
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 N Y 500 550
1000 N Y 1000 1055
1500 N Y 1500 1561
2000 N Y 2000 2067
2500 N Y 2219 2290
3000 N Y 2219 2290
3500 N Y 2219 2290
"Arnie Rowland" wrote:
[vbcol=seagreen]
> Could you give us some support on that assertion? (It is not correct that AWE is used only for RAM that exceeds 4GB." If my information is incorrect, I would like to update it to reflect that which is indeed correct...
> I've been going by the following:
> "AWE is a set of memory management extensions to the Microsoft Win32? API that allows applications to address memory beyond 4 GB."
> From: http://download.microsoft.com/downlo...dv64BitEnv.doc
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
>
> "Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...
|||Hi Fredrick,
If your server is running 4 GB of memory, then you don't want to have
SQL Server running more than 3 GB. Part of the reason for that is that
you have to leave sufficient space for the OS to operate and 1 GB of
RAN for the OS is a good amount (yeah, I know it'll run on less). The
other reason is that AWE requires 1 GB of RAM just to manage the
memory swaps that are going on. So running AWE on a 4 GB server is
likely to make things worse, not better.
So if you really think you need to be running AWE:
(1) Have at least 6 GB of memory on the server and that this is the
only instance of SQL Server running on the server.
(2) After enabling AWE and setting the /3GB and /PAE switches in the
boot.ini file, configure your max memory setting to equal your total
memory minus 1 GB (for the OS). If you don't configure the max memory
setting you leave open the possibility that SQL Server will grab all
but 128 MB of RAM to operate, leaving you a memory-starved OS that
will perform poorly (if at all) due to heavy paging of the OS to the
swap file.
Before enabling AWE you need to do your homework on whether the extra
memory will actually do you any good. Our team manages 500+ instances
of SQL 2000 & 2005 and in all the 15+ years I've worked as a SQL DBA
the vast majority of performance issues I've seen are due to
application and/or database design. You'll be amazed at how well SQL
will run on 3 GB of RAM, especially with a well-designed system. Good
luck to you!
On Fri, 13 Oct 2006 00:03:01 -0700, Fredrik
<Fredrik@.discussions.microsoft.com> wrote:
>Hi all?
>I've tried reading about how AWE memory works but I really can't figure it
>out...
>I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
>2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to use
>as much as possible of the RAM for SQL Server.
>I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
>use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still 1
>Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
>space is in my interest to use for SQL Server.
>If I enable AWE memory and set the max server memory to 3,5 Gbyte will I be
>able to use that extra 512 Mbytes as well? Or is AWE only for boxes with more
>than 4 Gbytes RAM?
>regards
>fredrik
AWE Memory?
I've tried reading about how AWE memory works but I really can't figure it
out...
I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to use
as much as possible of the RAM for SQL Server.
I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still 1
Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
space is in my interest to use for SQL Server.
If I enable AWE memory and set the max server memory to 3,5 Gbyte will I be
able to use that extra 512 Mbytes as well? Or is AWE only for boxes with more
than 4 Gbytes RAM?
regards
fredrik> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
I don't think you need to enable AWE memory in that case
AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
http://support.microsoft.com/kb/274750
http://www.sql-server-performance.com/awe_memory.asp
"Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> Hi all?
> I've tried reading about how AWE memory works but I really can't figure it
> out...
> I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> use
> as much as possible of the RAM for SQL Server.
> I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> 1
> Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> space is in my interest to use for SQL Server.
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
> regards
> fredrik|||If we are talking about the memory usage as measured by the SQL counter Total
Server Memory, you need to enable AWE to use more than 3GB. It is not correct
that AWE is used only for RAM that exceeds 4GB.
Linchi
"Uri Dimant" wrote:
> > If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> > be
> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> > more
> > than 4 Gbytes RAM?
> I don't think you need to enable AWE memory in that case
> AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
> http://support.microsoft.com/kb/274750
> http://www.sql-server-performance.com/awe_memory.asp
>
> "Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
> news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> > Hi all?
> >
> > I've tried reading about how AWE memory works but I really can't figure it
> > out...
> >
> > I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> > 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> > use
> > as much as possible of the RAM for SQL Server.
> >
> > I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> > use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> > 1
> > Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> > space is in my interest to use for SQL Server.
> >
> > If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> > be
> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> > more
> > than 4 Gbytes RAM?
> >
> > regards
> > fredrik
>
>|||This is a multi-part message in MIME format.
--=_NextPart_000_0518_01C6EEA8.1744A950
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: quoted-printable
Could you give us some support on that assertion? (It is not correct =that AWE is used only for RAM that exceeds 4GB." If my information is =incorrect, I would like to update it to reflect that which is indeed =correct...
I've been going by the following:
"AWE is a set of memory management extensions to the Microsoft =Win32=EF=83=A2 API that allows applications to address memory beyond 4 =GB."
From: =http://download.microsoft.com/download/9/c/c/9cc42e30-538b-4451-8fdb-7134=
a004f94c/Adv64BitEnv.doc
-- Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience. Most experience comes from bad judgment. - Anonymous
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message =news:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...
> If we are talking about the memory usage as measured by the SQL =counter Total > Server Memory, you need to enable AWE to use more than 3GB. It is not =correct > that AWE is used only for RAM that exceeds 4GB.
> > Linchi
> > "Uri Dimant" wrote:
> >> > If I enable AWE memory and set the max server memory to 3,5 Gbyte =will I >> > be
>> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes =with >> > more
>> > than 4 Gbytes RAM?
>> >> I don't think you need to enable AWE memory in that case
>> AWE memory is used only for the RAM that exceeds the base 4GB of =RAM.
>> >> http://support.microsoft.com/kb/274750
>> http://www.sql-server-performance.com/awe_memory.asp
>> >> >> >> "Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message >> news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
>> > Hi all?
>> >
>> > I've tried reading about how AWE memory works but I really can't =figure it
>> > out...
>> >
>> > I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a =Windows
>> > 2003 Advanced server. The box has 4 Gbytes RAM and I want to be =able to >> > use
>> > as much as possible of the RAM for SQL Server.
>> >
>> > I have entered the Boot.ini with the /3GB parameter to allow SQL =Server to
>> > use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is =still >> > 1
>> > Gbyte "left" in the box to be used by OS. At least 512Mbytes of =that free
>> > space is in my interest to use for SQL Server.
>> >
>> > If I enable AWE memory and set the max server memory to 3,5 Gbyte =will I >> > be
>> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes =with >> > more
>> > than 4 Gbytes RAM?
>> >
>> > regards
>> > fredrik >> >> --=_NextPart_000_0518_01C6EEA8.1744A950
Content-Type: text/html;
charset="Utf-8"
Content-Transfer-Encoding: quoted-printable
=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&
Could you give us some support on that =assertion? (It is not correct that AWE is used only for RAM that exceeds 4GB." =If my information is incorrect, I would like to update it to reflect that =which is indeed correct...
I've been going by the following: ="AWE is a set of memory management extensions to the Microsoft =Win32=EF=83=A2 API that allows applications to address memory beyond 4 GB."
From: http://download.microsoft.com/download/9/c/c/9cc42e30-538b-4=451-8fdb-7134a004f94c/Adv64BitEnv.doc
-- Arnie Rowland, =Ph.D.Westwood Consulting, Inc
Most good judgment comes from =experience. Most experience comes from bad judgment. - Anonymous
"Linchi Shea"
--=_NextPart_000_0518_01C6EEA8.1744A950--|||This is a multi-part message in MIME format.
--=_NextPart_000_0518_01C6EEA8.1744A950
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: quoted-printable
Could you give us some support on that assertion? (It is not correct =that AWE is used only for RAM that exceeds 4GB." If my information is =incorrect, I would like to update it to reflect that which is indeed =correct...
I've been going by the following:
"AWE is a set of memory management extensions to the Microsoft =Win32=EF=83=A2 API that allows applications to address memory beyond 4 =GB."
From: =http://download.microsoft.com/download/9/c/c/9cc42e30-538b-4451-8fdb-7134=
a004f94c/Adv64BitEnv.doc
-- Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience. Most experience comes from bad judgment. - Anonymous
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message =news:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...
> If we are talking about the memory usage as measured by the SQL =counter Total > Server Memory, you need to enable AWE to use more than 3GB. It is not =correct > that AWE is used only for RAM that exceeds 4GB.
> > Linchi
> > "Uri Dimant" wrote:
> >> > If I enable AWE memory and set the max server memory to 3,5 Gbyte =will I >> > be
>> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes =with >> > more
>> > than 4 Gbytes RAM?
>> >> I don't think you need to enable AWE memory in that case
>> AWE memory is used only for the RAM that exceeds the base 4GB of =RAM.
>> >> http://support.microsoft.com/kb/274750
>> http://www.sql-server-performance.com/awe_memory.asp
>> >> >> >> "Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message >> news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
>> > Hi all?
>> >
>> > I've tried reading about how AWE memory works but I really can't =figure it
>> > out...
>> >
>> > I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a =Windows
>> > 2003 Advanced server. The box has 4 Gbytes RAM and I want to be =able to >> > use
>> > as much as possible of the RAM for SQL Server.
>> >
>> > I have entered the Boot.ini with the /3GB parameter to allow SQL =Server to
>> > use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is =still >> > 1
>> > Gbyte "left" in the box to be used by OS. At least 512Mbytes of =that free
>> > space is in my interest to use for SQL Server.
>> >
>> > If I enable AWE memory and set the max server memory to 3,5 Gbyte =will I >> > be
>> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes =with >> > more
>> > than 4 Gbytes RAM?
>> >
>> > regards
>> > fredrik >> >> --=_NextPart_000_0518_01C6EEA8.1744A950
Content-Type: text/html;
charset="Utf-8"
Content-Transfer-Encoding: quoted-printable
=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&
Could you give us some support on that =assertion? (It is not correct that AWE is used only for RAM that exceeds 4GB." =If my information is incorrect, I would like to update it to reflect that =which is indeed correct...
I've been going by the following: ="AWE is a set of memory management extensions to the Microsoft =Win32=EF=83=A2 API that allows applications to address memory beyond 4 GB."
From: http://download.microsoft.com/download/9/c/c/9cc42e30-538b-4=451-8fdb-7134a004f94c/Adv64BitEnv.doc
-- Arnie Rowland, =Ph.D.Westwood Consulting, Inc
Most good judgment comes from =experience. Most experience comes from bad judgment. - Anonymous
"Linchi Shea"
--=_NextPart_000_0518_01C6EEA8.1744A950--|||What you need instead of all these buggy flags is to move to x64 where the
memory issue doesn't exist at all. Of course you also need to make sure you
run SQL Server 64 bit as well, not the 32 bit version on a 64 bit system.
Unfortunately very few dedicated hosts offer Windows 2003 x64.
KL
"Fredrik" <Fredrik@.discussions.microsoft.com> skrev i meddelandet
news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> Hi all?
> I've tried reading about how AWE memory works but I really can't figure it
> out...
> I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> use
> as much as possible of the RAM for SQL Server.
> I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> 1
> Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> space is in my interest to use for SQL Server.
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
> regards
> fredrik|||Here's some empirical evidence from the test scenarios in which severe memory
pressure was put on the instance with 4GB of RAM. If the following comes out
unreadable format-wise, drop me an email and I send you the charts.
Linchi
linchi_shea@.take-this-out-FIRSTml.com
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 N N 500 560
1000 N N 1000 1060
1500 N N 1206 1266
2000 N N 1206 1266
2500 N N 1206 1266
3000 N N 1206 1266
3500 N N 1206 1266
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 Y N 500 61
1000 Y N 1000 67
1500 Y N 1500 71
2000 Y N 2000 76
2500 Y N 2500 81
3000 Y N 3000 86
3500 Y N 3500 90
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 Y Y 500 65
1000 Y Y 1000 70
1500 Y Y 1500 75
2000 Y Y 2000 80
2500 Y Y 2500 84
3000 Y Y 3000 89
3500 Y Y 3500 94
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 N Y 500 550
1000 N Y 1000 1055
1500 N Y 1500 1561
2000 N Y 2000 2067
2500 N Y 2219 2290
3000 N Y 2219 2290
3500 N Y 2219 2290
"Arnie Rowland" wrote:
> Could you give us some support on that assertion? (It is not correct that AWE is used only for RAM that exceeds 4GB." If my information is incorrect, I would like to update it to reflect that which is indeed correct...
> I've been going by the following:
> "AWE is a set of memory management extensions to the Microsoft Win32ï?¢ API that allows applications to address memory beyond 4 GB."
> From: http://download.microsoft.com/download/9/c/c/9cc42e30-538b-4451-8fdb-7134a004f94c/Adv64BitEnv.doc
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
>
> "Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...
> > If we are talking about the memory usage as measured by the SQL counter Total
> > Server Memory, you need to enable AWE to use more than 3GB. It is not correct
> > that AWE is used only for RAM that exceeds 4GB.
> >
> > Linchi
> >
> > "Uri Dimant" wrote:
> >
> >> > If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> >> > be
> >> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> >> > more
> >> > than 4 Gbytes RAM?
> >>
> >> I don't think you need to enable AWE memory in that case
> >> AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
> >>
> >> http://support.microsoft.com/kb/274750
> >> http://www.sql-server-performance.com/awe_memory.asp
> >>
> >>
> >>
> >> "Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
> >> news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> >> > Hi all?
> >> >
> >> > I've tried reading about how AWE memory works but I really can't figure it
> >> > out...
> >> >
> >> > I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> >> > 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> >> > use
> >> > as much as possible of the RAM for SQL Server.
> >> >
> >> > I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> >> > use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> >> > 1
> >> > Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> >> > space is in my interest to use for SQL Server.
> >> >
> >> > If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> >> > be
> >> > able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> >> > more
> >> > than 4 Gbytes RAM?
> >> >
> >> > regards
> >> > fredrik
> >>
> >>
> >>|||Hi Fredrick,
If your server is running 4 GB of memory, then you don't want to have
SQL Server running more than 3 GB. Part of the reason for that is that
you have to leave sufficient space for the OS to operate and 1 GB of
RAN for the OS is a good amount (yeah, I know it'll run on less). The
other reason is that AWE requires 1 GB of RAM just to manage the
memory swaps that are going on. So running AWE on a 4 GB server is
likely to make things worse, not better.
So if you really think you need to be running AWE:
(1) Have at least 6 GB of memory on the server and that this is the
only instance of SQL Server running on the server.
(2) After enabling AWE and setting the /3GB and /PAE switches in the
boot.ini file, configure your max memory setting to equal your total
memory minus 1 GB (for the OS). If you don't configure the max memory
setting you leave open the possibility that SQL Server will grab all
but 128 MB of RAM to operate, leaving you a memory-starved OS that
will perform poorly (if at all) due to heavy paging of the OS to the
swap file.
Before enabling AWE you need to do your homework on whether the extra
memory will actually do you any good. Our team manages 500+ instances
of SQL 2000 & 2005 and in all the 15+ years I've worked as a SQL DBA
the vast majority of performance issues I've seen are due to
application and/or database design. You'll be amazed at how well SQL
will run on 3 GB of RAM, especially with a well-designed system. Good
luck to you!
On Fri, 13 Oct 2006 00:03:01 -0700, Fredrik
<Fredrik@.discussions.microsoft.com> wrote:
>Hi all?
>I've tried reading about how AWE memory works but I really can't figure it
>out...
>I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
>2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to use
>as much as possible of the RAM for SQL Server.
>I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
>use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still 1
>Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
>space is in my interest to use for SQL Server.
>If I enable AWE memory and set the max server memory to 3,5 Gbyte will I be
>able to use that extra 512 Mbytes as well? Or is AWE only for boxes with more
>than 4 Gbytes RAM?
>regards
>fredrik
AWE Memory?
I've tried reading about how AWE memory works but I really can't figure it
out...
I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to use
as much as possible of the RAM for SQL Server.
I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still 1
Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
space is in my interest to use for SQL Server.
If I enable AWE memory and set the max server memory to 3,5 Gbyte will I be
able to use that extra 512 Mbytes as well? Or is AWE only for boxes with mor
e
than 4 Gbytes RAM?
regards
fredrik> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
I don't think you need to enable AWE memory in that case
AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
http://support.microsoft.com/kb/274750
http://www.sql-server-performance.com/awe_memory.asp
"Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> Hi all?
> I've tried reading about how AWE memory works but I really can't figure it
> out...
> I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> use
> as much as possible of the RAM for SQL Server.
> I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> 1
> Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> space is in my interest to use for SQL Server.
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
> regards
> fredrik|||If we are talking about the memory usage as measured by the SQL counter Tota
l
Server Memory, you need to enable AWE to use more than 3GB. It is not correc
t
that AWE is used only for RAM that exceeds 4GB.
Linchi
"Uri Dimant" wrote:
> I don't think you need to enable AWE memory in that case
> AWE memory is used only for the RAM that exceeds the base 4GB of RAM.
> http://support.microsoft.com/kb/274750
> http://www.sql-server-performance.com/awe_memory.asp
>
> "Fredrik" <Fredrik@.discussions.microsoft.com> wrote in message
> news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
>
>|||Could you give us some support on that assertion? (It is not correct that AW
E is used only for RAM that exceeds 4GB." If my information is incorrect, I
would like to update it to reflect that which is indeed correct...
I've been going by the following:
"AWE is a set of memory management extensions to the Microsoft Win32? API
that allows applications to address memory beyond 4 GB."
From: http://download.microsoft.com/downl...Adv64BitEnv.doc
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news:1C1B6C5F-B795-420
9-B6C9-06495AE71796@.microsoft.com...[vbcol=seagreen]
> If we are talking about the memory usage as measured by the SQL counter To
tal
> Server Memory, you need to enable AWE to use more than 3GB. It is not corr
ect
> that AWE is used only for RAM that exceeds 4GB.
>
> Linchi
>
> "Uri Dimant" wrote:
>|||Could you give us some support on that assertion? (It is not correct that AW
E is used only for RAM that exceeds 4GB." If my information is incorrect, I
would like to update it to reflect that which is indeed correct...
I've been going by the following:
"AWE is a set of memory management extensions to the Microsoft Win32? API
that allows applications to address memory beyond 4 GB."
From: http://download.microsoft.com/downl...Adv64BitEnv.doc
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news:1C1B6C5F-B795-420
9-B6C9-06495AE71796@.microsoft.com...[vbcol=seagreen]
> If we are talking about the memory usage as measured by the SQL counter To
tal
> Server Memory, you need to enable AWE to use more than 3GB. It is not corr
ect
> that AWE is used only for RAM that exceeds 4GB.
>
> Linchi
>
> "Uri Dimant" wrote:
>|||What you need instead of all these buggy flags is to move to x64 where the
memory issue doesn't exist at all. Of course you also need to make sure you
run SQL Server 64 bit as well, not the 32 bit version on a 64 bit system.
Unfortunately very few dedicated hosts offer Windows 2003 x64.
KL
"Fredrik" <Fredrik@.discussions.microsoft.com> skrev i meddelandet
news:14470AFA-E4E7-4D2E-A605-B3651A618913@.microsoft.com...
> Hi all?
> I've tried reading about how AWE memory works but I really can't figure it
> out...
> I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
> 2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to
> use
> as much as possible of the RAM for SQL Server.
> I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
> use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still
> 1
> Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
> space is in my interest to use for SQL Server.
> If I enable AWE memory and set the max server memory to 3,5 Gbyte will I
> be
> able to use that extra 512 Mbytes as well? Or is AWE only for boxes with
> more
> than 4 Gbytes RAM?
> regards
> fredrik|||Here's some empirical evidence from the test scenarios in which severe memor
y
pressure was put on the instance with 4GB of RAM. If the following comes out
unreadable format-wise, drop me an email and I send you the charts.
Linchi
linchi_shea@.take-this-out-FIRSTml.com
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 N N 500 560
1000 N N 1000 1060
1500 N N 1206 1266
2000 N N 1206 1266
2500 N N 1206 1266
3000 N N 1206 1266
3500 N N 1206 1266
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 Y N 500 61
1000 Y N 1000 67
1500 Y N 1500 71
2000 Y N 2000 76
2500 Y N 2500 81
3000 Y N 3000 86
3500 Y N 3500 90
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 Y Y 500 65
1000 Y Y 1000 70
1500 Y Y 1500 75
2000 Y Y 2000 80
2500 Y Y 2500 84
3000 Y Y 3000 89
3500 Y Y 3500 94
Observed Target Sqlservr.exe
Max server AWE 3GB /Total server memory observed
memory (MB) enabled enabled memory (MB) on TaskMan (MB)
500 N Y 500 550
1000 N Y 1000 1055
1500 N Y 1500 1561
2000 N Y 2000 2067
2500 N Y 2219 2290
3000 N Y 2219 2290
3500 N Y 2219 2290
"Arnie Rowland" wrote:
[vbcol=seagreen]
> Could you give us some support on that assertion? (It is not correct that
AWE is used only for RAM that exceeds 4GB." If my information is incorrect,
I would like to update it to reflect that which is indeed correct...
> I've been going by the following:
> "AWE is a set of memory management extensions to the Microsoft Win32? AP
I that allows applications to address memory beyond 4 GB."
> From: http://download.microsoft.com/downl...Adv64BitEnv.doc
> --
> Arnie Rowland, Ph.D.
> Westwood Consulting, Inc
> Most good judgment comes from experience.
> Most experience comes from bad judgment.
> - Anonymous
>
> "Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message news
:1C1B6C5F-B795-4209-B6C9-06495AE71796@.microsoft.com...|||Hi Fredrick,
If your server is running 4 GB of memory, then you don't want to have
SQL Server running more than 3 GB. Part of the reason for that is that
you have to leave sufficient space for the OS to operate and 1 GB of
RAN for the OS is a good amount (yeah, I know it'll run on less). The
other reason is that AWE requires 1 GB of RAM just to manage the
memory swaps that are going on. So running AWE on a 4 GB server is
likely to make things worse, not better.
So if you really think you need to be running AWE:
(1) Have at least 6 GB of memory on the server and that this is the
only instance of SQL Server running on the server.
(2) After enabling AWE and setting the /3GB and /PAE switches in the
boot.ini file, configure your max memory setting to equal your total
memory minus 1 GB (for the OS). If you don't configure the max memory
setting you leave open the possibility that SQL Server will grab all
but 128 MB of RAM to operate, leaving you a memory-starved OS that
will perform poorly (if at all) due to heavy paging of the OS to the
swap file.
Before enabling AWE you need to do your homework on whether the extra
memory will actually do you any good. Our team manages 500+ instances
of SQL 2000 & 2005 and in all the 15+ years I've worked as a SQL DBA
the vast majority of performance issues I've seen are due to
application and/or database design. You'll be amazed at how well SQL
will run on 3 GB of RAM, especially with a well-designed system. Good
luck to you!
On Fri, 13 Oct 2006 00:03:01 -0700, Fredrik
<Fredrik@.discussions.microsoft.com> wrote:
>Hi all?
>I've tried reading about how AWE memory works but I really can't figure it
>out...
>I have a dedicated SQL Server 2000 SP4, Ent Edition that runs on a Windows
>2003 Advanced server. The box has 4 Gbytes RAM and I want to be able to use
>as much as possible of the RAM for SQL Server.
>I have entered the Boot.ini with the /3GB parameter to allow SQL Server to
>use 3 Gbytes of RAM instead of the default of 2 Gbyte. But there is still 1
>Gbyte "left" in the box to be used by OS. At least 512Mbytes of that free
>space is in my interest to use for SQL Server.
>If I enable AWE memory and set the max server memory to 3,5 Gbyte will I be
>able to use that extra 512 Mbytes as well? Or is AWE only for boxes with mo
re
>than 4 Gbytes RAM?
>regards
>fredrik
Wednesday, March 7, 2012
AWE and Perfmon Counters
problems seeing true memory utilization by SQL Server. For example, Task
Manager shows SQL only using 174,712 k when it has been configured to 13gb.
Not to mention perfmon memory object is not reporting accurately either.
With that said, is this a known issue and what is the work around? I want
to be able to guage if we need more than 16gb on this box.
Thanks!
MichaelTask manager cannot count higher than 2GB of memory. The performance
monitor counters will give accurate memory usage. Another quick and dirty
way is to look at Page File usage. AWE usage shows up as page file
committment.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
news:48B6C39B-8DB3-4B20-B487-935ADF37D952@.microsoft.com...
> We have enabled AWE on our SQL 2000/Win 2003 Ent servers and are now
> having
> problems seeing true memory utilization by SQL Server. For example, Task
> Manager shows SQL only using 174,712 k when it has been configured to
> 13gb.
> Not to mention perfmon memory object is not reporting accurately either.
> With that said, is this a known issue and what is the work around? I want
> to be able to guage if we need more than 16gb on this box.
> Thanks!
> Michael
>
AWE and Perfmon Counters
problems seeing true memory utilization by SQL Server. For example, Task
Manager shows SQL only using 174,712 k when it has been configured to 13gb.
Not to mention perfmon memory object is not reporting accurately either.
With that said, is this a known issue and what is the work around? I want
to be able to guage if we need more than 16gb on this box.
Thanks!
Michael
Task manager cannot count higher than 2GB of memory. The performance
monitor counters will give accurate memory usage. Another quick and dirty
way is to look at Page File usage. AWE usage shows up as page file
committment.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"BATMAN" <BATMAN@.discussions.microsoft.com> wrote in message
news:48B6C39B-8DB3-4B20-B487-935ADF37D952@.microsoft.com...
> We have enabled AWE on our SQL 2000/Win 2003 Ent servers and are now
> having
> problems seeing true memory utilization by SQL Server. For example, Task
> Manager shows SQL only using 174,712 k when it has been configured to
> 13gb.
> Not to mention perfmon memory object is not reporting accurately either.
> With that said, is this a known issue and what is the work around? I want
> to be able to guage if we need more than 16gb on this box.
> Thanks!
> Michael
>
Saturday, February 25, 2012
AWE + PAE + 3GB cause system to freeze?
I have a server with 8Gb of memory
so the /3Gb and /PAE switches are in the boot.ini.
I'm using Win 2003 Ent. & SQL 2000 ent.
at regular basis, my system freeze for some seconds if the AWE option is on.
any idea of what's appends?
My server also host Analysis Services + IIS + Sharepoint + Reporting
Services.
thanks.
Jerome."Jéjé" <willgart@.BBBhotmailAAA.com> wrote in message
news:ecI4P2S0FHA.3000@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I have a server with 8Gb of memory
> so the /3Gb and /PAE switches are in the boot.ini.
> I'm using Win 2003 Ent. & SQL 2000 ent.
> at regular basis, my system freeze for some seconds if the AWE option is
> on.
> any idea of what's appends?
> My server also host Analysis Services + IIS + Sharepoint + Reporting
> Services.
>
It's not generally recommended to use AWE if the server is not dedicated to
SQL Server. Leave the /3GB switch, but get rid of /PAE and AWE. Give 3GB
to SQL Server and leave 2G for Analysis Services, and 2G for IIS, Sharepoint
and Reporting.
David|||in this configuration, only 4Gb is used by the applications
AS consumme 200mb, 200mb for sharepoint & RS
SQL use 2.7 Gb
So I have a lot of free memory.
But also... for the moment I'm in dev mode, and only SQL Server is used, so
the other applications don't use any ressources and are in standby.
I'm just using DTS to load data in my databases.
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:uFjaGMT0FHA.1028@.TK2MSFTNGP12.phx.gbl...
> "Jéjé" <willgart@.BBBhotmailAAA.com> wrote in message
> news:ecI4P2S0FHA.3000@.TK2MSFTNGP12.phx.gbl...
>> Hi,
>> I have a server with 8Gb of memory
>> so the /3Gb and /PAE switches are in the boot.ini.
>> I'm using Win 2003 Ent. & SQL 2000 ent.
>> at regular basis, my system freeze for some seconds if the AWE option is
>> on.
>> any idea of what's appends?
>> My server also host Analysis Services + IIS + Sharepoint + Reporting
>> Services.
> It's not generally recommended to use AWE if the server is not dedicated
> to SQL Server. Leave the /3GB switch, but get rid of /PAE and AWE. Give
> 3GB to SQL Server and leave 2G for Analysis Services, and 2G for IIS,
> Sharepoint and Reporting.
> David
>
AWE /3GB performance
concern when using the 3gb option is that I force the OS into 1gb of memory
and causing the OS to be memory starved. Is it possible to create this
condition and what would be the minimum set of services that should be
running on the SQL Server box. For example, print spooler, application layer
gateway, etc.
"Uri Dimant" wrote:
> John
> If you have Windows 2000(Advanced or Datacenter) and 4GB RAM use /3GB (AWE
> support isn't used)
> You can provide more info to get more accurate advice
> "John Grant" <JohnGrant@.discussions.microsoft.com> wrote in message
> news:617A3083-DBEA-46C4-AFBE-C501839D12C7@.microsoft.com...
>
>
John
>The /3GB switch is used to tell SQL Server to take advantage of 3GB out of
>the base 4GB of RAM that Windows 2000/3 supports natively. If you don't
>specify >this option, then SQL Server will only take advantage of 2GB of
>the first 4GB of RAM in the server, essentially wasting 1GB of RAM.
http://www.sql-server-performance.com/awe_memory.asp
"John Grant" <JohnGrant@.discussions.microsoft.com> wrote in message
news:A6CF4DB6-FFEE-4AA0-82B8-DD3BB04E6D74@.microsoft.com...[vbcol=seagreen]
>I have 8gb of memory, win2003 server advanced, sql server 2000 ent. The
> concern when using the 3gb option is that I force the OS into 1gb of
> memory
> and causing the OS to be memory starved. Is it possible to create this
> condition and what would be the minimum set of services that should be
> running on the SQL Server box. For example, print spooler, application
> layer
> gateway, etc.
>
> "Uri Dimant" wrote:
|||Uri, thanks for the info. I have read the doc and understand AWE and the 3gb
option. Also I noticed some more advanced boot.ini options to control the
use of the memory above 1g.
I have a sql server that is running slow. I have not been able to profile
the server. What I want to understand is "Is it possible to cause the OS to
be memory starved using the 3gb option causing sql server to appear slow?"
For example if the OS is forced to swap to disk for normal OS activities.
If it is possible what would be the telling signs?
thanks
"Uri Dimant" wrote:
> John
> http://www.sql-server-performance.com/awe_memory.asp
>
>
> "John Grant" <JohnGrant@.discussions.microsoft.com> wrote in message
> news:A6CF4DB6-FFEE-4AA0-82B8-DD3BB04E6D74@.microsoft.com...
>
>
|||John
Is it SQL Server running dedicated on the server?
Do you have an OLTP applications connect to the SQL Server?
I'd strat to to identify perfomance problems from the application side (
checking indexes, database design)
"John Grant" <JohnGrant@.discussions.microsoft.com> wrote in message
news:DD6405A3-56C5-4394-81D5-121D204420F3@.microsoft.com...[vbcol=seagreen]
> Uri, thanks for the info. I have read the doc and understand AWE and the
> 3gb
> option. Also I noticed some more advanced boot.ini options to control the
> use of the memory above 1g.
> I have a sql server that is running slow. I have not been able to profile
> the server. What I want to understand is "Is it possible to cause the OS
> to
> be memory starved using the 3gb option causing sql server to appear slow?"
> For example if the OS is forced to swap to disk for normal OS activities.
> If it is possible what would be the telling signs?
> thanks
> "Uri Dimant" wrote: