Showing posts with label dedicated. Show all posts
Showing posts with label dedicated. Show all posts

Monday, March 12, 2012

memory usage and configuration...

Hi,
I've a server to setup.
This server is not only dedicated to SQL Server, but SQL Server is the main
application on the machine. (Datawarehouse system)
I just want to know how to configure my windows swap file?
I know that SQL Server is optimized to not use the Windows Swap file.
I've 6 disks available:
4 * 64 Gb for my SQL Server databases (Raid 5)
On the 2 other disks I've to install Win 2003 + applications + swap file.
How to optimize this?
Where to setup the tempdb database?
Actually I plan to get 10Gb in 1 disk for the OS + application
and setup a stripped volume with the 2 disks for the swap file and the
tempdb file (2*40gb).
Do you think its a good config?
thanks for your feedback.
Jerome.How much memory is in your system in total, and what is
your drive configuration beyond the 6 disk RAID 5 set for
SQL Server? That may not be enough spindles, but I can't
say for sure. If you stick all of your SQL Server files
(system DBs, data/index, logs, tempdb) all on the same
stripe set, you are not buying yourself anything.
So if your goal as I saw is to put everything on the one
R5 stripe, I'd say wholeheartedly no, it is not an optimal
setup at all based on my experience.
However, you need to have done some system profiling to
tell you definitively.|||I've 4gb of RAM
I want to control the usage of my hard drive to keep a good performance.
it's why I want to separate the tempdb database in 1 disk or 2 stripped
disks.
And I'll keep 4 disks in raid 5 for my data. for security reasons.
Maybe I can put my indexes on a separate disk.
Config 1:
Disk0: OS + Applications (10Gb only)
Disk0,1: Stripped - 22Gb + 32 Gb - tempdb - user db indexes - Swap file
Disk3,4,5,6: Raid 5 for system DB and user DB
Config 2:
Disk0: OS + Swap + Applications (10Gb only)
Disk0: tempdb (22gb)
Disk1: indexes (32gb)
Disk3,4,5,6: Raid 5 for system DB and user DB
each disk is a 32gb disk
what do you think about this?
which config is better?
or what is your recommendation?
Also, what is the swap file size required?
"Allan Hirt" <anonymous@.discussions.microsoft.com> a écrit dans le message
de news:5ab501c474a8$a67500b0$a601280a@.phx.gbl...
> How much memory is in your system in total, and what is
> your drive configuration beyond the 6 disk RAID 5 set for
> SQL Server? That may not be enough spindles, but I can't
> say for sure. If you stick all of your SQL Server files
> (system DBs, data/index, logs, tempdb) all on the same
> stripe set, you are not buying yourself anything.
> So if your goal as I saw is to put everything on the one
> R5 stripe, I'd say wholeheartedly no, it is not an optimal
> setup at all based on my experience.
> However, you need to have done some system profiling to
> tell you definitively.

Friday, March 9, 2012

memory question

Hi ,
we have one server with 1 GB of RAM and 500 MB is
pagefile.
Sever is not dedicated to SQL Server since there is also
Microsoft transaction server running and IIS4.
SQL Server connsumes aproximatelly 980 MB and mts alone
around 20 MB.
Thant means that mts has to go to the pagefile.
SQL Server is configured to dinamically adjust the amount
of memory used based upon demand.
Should I configure it to use fixed amount of memory or
that's bad idea ?
This is production server.
Thanks very much!SQL Server uses an algorithm that continually monitors the paging of the OS.
If SQL Server can take some benefits of getting more memory from the OS it
allocates more memory while the paging is tolerable.
In general this algorithm is efficient finding the correct amount of memory
to be allocated. If you think this amount is bigger than you wish it is
reasonable to limit the SQL Server's memory. Just take in mind that the
amount of memory allocated by the SQL Server is not arbitrary.
"Mirna" <anonymous@.discussions.microsoft.com> wrote in message
news:33d701c3fd62$475c4ec0$a001280a@.phx.gbl...
> Hi ,
> we have one server with 1 GB of RAM and 500 MB is
> pagefile.
> Sever is not dedicated to SQL Server since there is also
> Microsoft transaction server running and IIS4.
> SQL Server connsumes aproximatelly 980 MB and mts alone
> around 20 MB.
> Thant means that mts has to go to the pagefile.
> SQL Server is configured to dinamically adjust the amount
> of memory used based upon demand.
> Should I configure it to use fixed amount of memory or
> that's bad idea ?
> This is production server.
> Thanks very much!

Wednesday, March 7, 2012

memory question

hi experts,
I am running MSSQL Standard edition on a dedicated Win2003 server with 3 GIG
RAM. SqlServer now uses 1,83 GB. I am not sure if and how the /3G and /AWE
switches can help using more RAM.
Thanks for every info!
BerndCheck on these KB Articles :
Using /3GB or /PAE and AWE with SQL Server:
http://support.microsoft.com/default.aspx?scid=kb;en-us;555068&Product=sql2k
HOW TO: Configure memory for more than 2 GB in SQL Server:
http://support.microsoft.com/default.aspx?scid=kb;en-us;274750&Product=sql2k
--
HTH,
Vinod Kumar
MCSE, DBA, MCAD, MCSD
http://www.extremeexperts.com
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
"Bernd Maierhofer (dato)" <bernd.maierhofer@.dato.at> wrote in message
news:%23IWOxSlNEHA.1608@.TK2MSFTNGP12.phx.gbl...
> hi experts,
> I am running MSSQL Standard edition on a dedicated Win2003 server with 3
GIG
> RAM. SqlServer now uses 1,83 GB. I am not sure if and how the /3G and
/AWE
> switches can help using more RAM.
> Thanks for every info!
> Bernd
>

memory question

hi experts,
I am running MSSQL Standard edition on a dedicated Win2003 server with 3 GIG
RAM. SqlServer now uses 1,83 GB. I am not sure if and how the /3G and /AWE
switches can help using more RAM.
Thanks for every info!
Bernd
Check on these KB Articles :
Using /3GB or /PAE and AWE with SQL Server:
http://support.microsoft.com/default...&Product=sql2k
HOW TO: Configure memory for more than 2 GB in SQL Server:
http://support.microsoft.com/default...&Product=sql2k
HTH,
Vinod Kumar
MCSE, DBA, MCAD, MCSD
http://www.extremeexperts.com
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
"Bernd Maierhofer (dato)" <bernd.maierhofer@.dato.at> wrote in message
news:%23IWOxSlNEHA.1608@.TK2MSFTNGP12.phx.gbl...
> hi experts,
> I am running MSSQL Standard edition on a dedicated Win2003 server with 3
GIG
> RAM. SqlServer now uses 1,83 GB. I am not sure if and how the /3G and
/AWE
> switches can help using more RAM.
> Thanks for every info!
> Bernd
>

memory question

Hi ,
we have one server with 1 GB of RAM and 500 MB is
pagefile.
Sever is not dedicated to SQL Server since there is also
Microsoft transaction server running and IIS4.
SQL Server connsumes aproximatelly 980 MB and mts alone
around 20 MB.
Thant means that mts has to go to the pagefile.
SQL Server is configured to dinamically adjust the amount
of memory used based upon demand.
Should I configure it to use fixed amount of memory or
that's bad idea ?
This is production server.
Thanks very much!SQL Server uses an algorithm that continually monitors the paging of the OS.
If SQL Server can take some benefits of getting more memory from the OS it
allocates more memory while the paging is tolerable.
In general this algorithm is efficient finding the correct amount of memory
to be allocated. If you think this amount is bigger than you wish it is
reasonable to limit the SQL Server's memory. Just take in mind that the
amount of memory allocated by the SQL Server is not arbitrary.
"Mirna" <anonymous@.discussions.microsoft.com> wrote in message
news:33d701c3fd62$475c4ec0$a001280a@.phx.gbl...
> Hi ,
> we have one server with 1 GB of RAM and 500 MB is
> pagefile.
> Sever is not dedicated to SQL Server since there is also
> Microsoft transaction server running and IIS4.
> SQL Server connsumes aproximatelly 980 MB and mts alone
> around 20 MB.
> Thant means that mts has to go to the pagefile.
> SQL Server is configured to dinamically adjust the amount
> of memory used based upon demand.
> Should I configure it to use fixed amount of memory or
> that's bad idea ?
> This is production server.
> Thanks very much!

memory question

hi experts,
I am running MSSQL Standard edition on a dedicated Win2003 server with 3 GIG
RAM. SqlServer now uses 1,83 GB. I am not sure if and how the /3G and /AWE
switches can help using more RAM.
Thanks for every info!
BerndCheck on these KB Articles :
Using /3GB or /PAE and AWE with SQL Server:
http://support.microsoft.com/defaul...8&Product=sql2k
HOW TO: Configure memory for more than 2 GB in SQL Server:
http://support.microsoft.com/defaul...0&Product=sql2k
HTH,
Vinod Kumar
MCSE, DBA, MCAD, MCSD
http://www.extremeexperts.com
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp
"Bernd Maierhofer (dato)" <bernd.maierhofer@.dato.at> wrote in message
news:%23IWOxSlNEHA.1608@.TK2MSFTNGP12.phx.gbl...
> hi experts,
> I am running MSSQL Standard edition on a dedicated Win2003 server with 3
GIG
> RAM. SqlServer now uses 1,83 GB. I am not sure if and how the /3G and
/AWE
> switches can help using more RAM.
> Thanks for every info!
> Bernd
>

Memory Problem

Hi,
Yesterday I went to company of a friend to troubleshoot their SQL Server
2000.
The server has 2GB memory and no other app is using that (dedicated to SQL
Server). The problem is that after restarting the service, it takes about 4
days that users fill the memory by their queries and when 2GB runs out, the
server becomes so slow and even it takes long time to open the task manager.
If you change the maximum memory to 1.8GB, the OS itself will not be slow
when memory runs out, but the users experience serious problems in
performance as before. The database is not too big, only 700MB(data only)
but there are about 40 concurrent users.
I thought it is good to install more memory but what if this job only
increases the life of memory (e.g 8 days to run out!) instead of eliminating
the problem?!
Any help would be greatly appreciated.
LeilaI'd strat tuning queries first , I don;t think that OS or hardware are a
problem.
Run SQL Server Profiler to identify a long running queries and then try to
optimize them.
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||Sounds like you have a memory leak somewhere.
Some ideas:
1) Do they have the latest Service Pack installed (SP4)?
2) Are there any third party extended procedures on the machine that might
cause trouble?
3) Are there any connections that are open for a long time with long term
locks?
Jacco Schalkwijk
SQL Server MVP
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||If its SQL Standard, more memory will not help the SQL Server.
I find it odd that a 700MB database can take up 1.8 gb memory...
looking forward to input form others.
What version (service pack) of SQL?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||Leila,
1. Ensure the appropriate indexes exist to help minimize physcial I/O
2. Ensure the end-user ad-hoc queries (not really recommended) include
WHERE clauses (that match the indexes)
3. Check for table/clustered index scans for queries
4. Ensure that no CROSS JOINs (or multiple tables withouth WHERE clause -
old syntax) are not occuring
5. Perhaps think about using the Query Governor Cost Limit
HTH
Jerry
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||Thanks Uri,
There's no problem with queries. I read the result of profiler and sorted by
duration. There's no bottleneck with queries. Everything is ok when memory
is available. As soon as memory becomes full, the page/sec in performance
monitor goes high!
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:#sYDnSbzFHA.2064@.TK2MSFTNGP09.phx.gbl...
> I'd strat tuning queries first , I don;t think that OS or hardware are a
> problem.
> Run SQL Server Profiler to identify a long running queries and then try to
> optimize them.
>
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL
about
slow
only)
>|||Thanks Jacco,
1) SP3
2) No
3) There is no problem with locks and blocking ( I used performance
monitor). The client app opens about 3 or 4 connections (maybe more!) but
there's another question for me: Can an inactive connection consume a lot of
memory? I mean can it be a serious problem for memory?
"Jacco Schalkwijk" <jacco.please.reply@.to.newsgroups.mvps.org.invalid> wrote
in message news:#RlKqTbzFHA.1168@.TK2MSFTNGP15.phx.gbl...
> Sounds like you have a memory leak somewhere.
> Some ideas:
> 1) Do they have the latest Service Pack installed (SP4)?
> 2) Are there any third party extended procedures on the machine that might
> cause trouble?
> 3) Are there any connections that are open for a long time with long term
> locks?
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL
about
slow
only)
>|||Thanks Kevin,
It's Enterprise Edition + SP3
"Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in message
news:e2u$MVbzFHA.1040@.TK2MSFTNGP14.phx.gbl...
> If its SQL Standard, more memory will not help the SQL Server.
> I find it odd that a 700MB database can take up 1.8 gb memory...
> looking forward to input form others.
> What version (service pack) of SQL?
> --
> Kevin Hill
> President
> 3NF Consulting
> www.3nf-inc.com/NewsGroups.htm
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL
about
slow
only)
>|||Leila wrote:
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL
> Server 2000.
> The server has 2GB memory and no other app is using that (dedicated
> to SQL Server). The problem is that after restarting the service, it
> takes about 4 days that users fill the memory by their queries and
> when 2GB runs out, the server becomes so slow and even it takes long
> time to open the task manager. If you change the maximum memory to
> 1.8GB, the OS itself will not be slow when memory runs out, but the
> users experience serious problems in performance as before. The
> database is not too big, only 700MB(data only) but there are about 40
> concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating the problem?!
> Any help would be greatly appreciated.
> Leila
I agree with Uri. Tuning queries is the place to start. Your data is
700MB, but you didn't mention the size of your indexes, the number of
query plans in cache, the type of execution model (stored procedures,
dynamic sql, etc.), or the design of the disk subsystem. See BOL "SQL
Server Memory Pool" for a description of memory use.
Keeping table / index / clustered index scans to a minimum can help
performance a great deal.
I would encourage you to also use Profiler before and after the memory
problem to better compare performance of your queries and see where the
differences are. Are you seeing a difference in duration only? If so, it
could be a overutilized disk subsystem.
David Gugick
Quest Software
www.imceda.com
www.quest.com|||Thanks Jerry,
It doesn't seem to be I/O optimization problem. Whether the query is
optimized by indexes or not, at the end it will consume a particular amount
of memory to stay there.
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:e2l$EdbzFHA.3924@.TK2MSFTNGP14.phx.gbl...
> Leila,
> 1. Ensure the appropriate indexes exist to help minimize physcial I/O
> 2. Ensure the end-user ad-hoc queries (not really recommended) include
> WHERE clauses (that match the indexes)
> 3. Check for table/clustered index scans for queries
> 4. Ensure that no CROSS JOINs (or multiple tables withouth WHERE clause -
> old syntax) are not occuring
> 5. Perhaps think about using the Query Governor Cost Limit
> HTH
> Jerry
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL
about
slow
only)
>

Memory Problem

Hi,
Yesterday I went to company of a friend to troubleshoot their SQL Server
2000.
The server has 2GB memory and no other app is using that (dedicated to SQL
Server). The problem is that after restarting the service, it takes about 4
days that users fill the memory by their queries and when 2GB runs out, the
server becomes so slow and even it takes long time to open the task manager.
If you change the maximum memory to 1.8GB, the OS itself will not be slow
when memory runs out, but the users experience serious problems in
performance as before. The database is not too big, only 700MB(data only)
but there are about 40 concurrent users.
I thought it is good to install more memory but what if this job only
increases the life of memory (e.g 8 days to run out!) instead of eliminating
the problem?!
Any help would be greatly appreciated.
Leila
I'd strat tuning queries first , I don;t think that OS or Hardware are a
problem.
Run SQL Server Profiler to identify a long running queries and then try to
optimize them.
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>
|||Sounds like you have a memory leak somewhere.
Some ideas:
1) Do they have the latest Service Pack installed (SP4)?
2) Are there any third party extended procedures on the machine that might
cause trouble?
3) Are there any connections that are open for a long time with long term
locks?
Jacco Schalkwijk
SQL Server MVP
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>
|||If its SQL Standard, more memory will not help the SQL Server.
I find it odd that a 700MB database can take up 1.8 gb memory...
looking forward to input form others.
What version (service pack) of SQL?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>
|||Thanks Uri,
There's no problem with queries. I read the result of profiler and sorted by
duration. There's no bottleneck with queries. Everything is ok when memory
is available. As soon as memory becomes full, the page/sec in performance
monitor goes high!
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:#sYDnSbzFHA.2064@.TK2MSFTNGP09.phx.gbl...[vbcol=seagreen]
> I'd strat tuning queries first , I don;t think that OS or Hardware are a
> problem.
> Run SQL Server Profiler to identify a long running queries and then try to
> optimize them.
>
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)
>
|||Thanks Jacco,
1) SP3
2) No
3) There is no problem with locks and blocking ( I used performance
monitor). The client app opens about 3 or 4 connections (maybe more!) but
there's another question for me: Can an inactive connection consume a lot of
memory? I mean can it be a serious problem for memory?
"Jacco Schalkwijk" <jacco.please.reply@.to.newsgroups.mvps.org.invalid > wrote
in message news:#RlKqTbzFHA.1168@.TK2MSFTNGP15.phx.gbl...[vbcol=seagreen]
> Sounds like you have a memory leak somewhere.
> Some ideas:
> 1) Do they have the latest Service Pack installed (SP4)?
> 2) Are there any third party extended procedures on the machine that might
> cause trouble?
> 3) Are there any connections that are open for a long time with long term
> locks?
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)
>
|||Thanks Kevin,
It's Enterprise Edition + SP3
"Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in message
news:e2u$MVbzFHA.1040@.TK2MSFTNGP14.phx.gbl...[vbcol=seagreen]
> If its SQL Standard, more memory will not help the SQL Server.
> I find it odd that a 700MB database can take up 1.8 gb memory...
> looking forward to input form others.
> What version (service pack) of SQL?
> --
> Kevin Hill
> President
> 3NF Consulting
> www.3nf-inc.com/NewsGroups.htm
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)
>
|||Leila wrote:
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL
> Server 2000.
> The server has 2GB memory and no other app is using that (dedicated
> to SQL Server). The problem is that after restarting the service, it
> takes about 4 days that users fill the memory by their queries and
> when 2GB runs out, the server becomes so slow and even it takes long
> time to open the task manager. If you change the maximum memory to
> 1.8GB, the OS itself will not be slow when memory runs out, but the
> users experience serious problems in performance as before. The
> database is not too big, only 700MB(data only) but there are about 40
> concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating the problem?!
> Any help would be greatly appreciated.
> Leila
I agree with Uri. Tuning queries is the place to start. Your data is
700MB, but you didn't mention the size of your indexes, the number of
query plans in cache, the type of execution model (stored procedures,
dynamic sql, etc.), or the design of the disk subsystem. See BOL "SQL
Server Memory Pool" for a description of memory use.
Keeping table / index / clustered index scans to a minimum can help
performance a great deal.
I would encourage you to also use Profiler before and after the memory
problem to better compare performance of your queries and see where the
differences are. Are you seeing a difference in duration only? If so, it
could be a overutilized disk subsystem.
David Gugick
Quest Software
www.imceda.com
www.quest.com
|||Thanks Jerry,
It doesn't seem to be I/O optimization problem. Whether the query is
optimized by indexes or not, at the end it will consume a particular amount
of memory to stay there.
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:e2l$EdbzFHA.3924@.TK2MSFTNGP14.phx.gbl...[vbcol=seagreen]
> Leila,
> 1. Ensure the appropriate indexes exist to help minimize physcial I/O
> 2. Ensure the end-user ad-hoc queries (not really recommended) include
> WHERE clauses (that match the indexes)
> 3. Check for table/clustered index scans for queries
> 4. Ensure that no CROSS JOINs (or multiple tables withouth WHERE clause -
> old syntax) are not occuring
> 5. Perhaps think about using the Query Governor Cost Limit
> HTH
> Jerry
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)
>
|||Leila,
Is the memory configuration for SQL Server set to be dynamic or static?
Have you played around with any advanced memory settings AWE etc...?
Any SQL Server third-party tools/utilities installed?
HTH
Jerry
"Leila" <Leilas@.hotpop.com> wrote in message
news:%2372Q3kbzFHA.3720@.TK2MSFTNGP14.phx.gbl...
> Thanks Jerry,
> It doesn't seem to be I/O optimization problem. Whether the query is
> optimized by indexes or not, at the end it will consume a particular
> amount
> of memory to stay there.
> "Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
> news:e2l$EdbzFHA.3924@.TK2MSFTNGP14.phx.gbl...
> SQL
> about
> slow
> only)
>

Memory Problem

Hi,
Yesterday I went to company of a friend to troubleshoot their SQL Server
2000.
The server has 2GB memory and no other app is using that (dedicated to SQL
Server). The problem is that after restarting the service, it takes about 4
days that users fill the memory by their queries and when 2GB runs out, the
server becomes so slow and even it takes long time to open the task manager.
If you change the maximum memory to 1.8GB, the OS itself will not be slow
when memory runs out, but the users experience serious problems in
performance as before. The database is not too big, only 700MB(data only)
but there are about 40 concurrent users.
I thought it is good to install more memory but what if this job only
increases the life of memory (e.g 8 days to run out!) instead of eliminating
the problem?!
Any help would be greatly appreciated.
LeilaI'd strat tuning queries first , I don;t think that OS or hardware are a
problem.
Run SQL Server Profiler to identify a long running queries and then try to
optimize them.
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||Sounds like you have a memory leak somewhere.
Some ideas:
1) Do they have the latest Service Pack installed (SP4)?
2) Are there any third party extended procedures on the machine that might
cause trouble?
3) Are there any connections that are open for a long time with long term
locks?
Jacco Schalkwijk
SQL Server MVP
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||If its SQL Standard, more memory will not help the SQL Server.
I find it odd that a 700MB database can take up 1.8 gb memory...
looking forward to input form others.
What version (service pack) of SQL?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||Leila,
1. Ensure the appropriate indexes exist to help minimize physcial I/O
2. Ensure the end-user ad-hoc queries (not really recommended) include
WHERE clauses (that match the indexes)
3. Check for table/clustered index scans for queries
4. Ensure that no CROSS JOINs (or multiple tables withouth WHERE clause -
old syntax) are not occuring
5. Perhaps think about using the Query Governor Cost Limit
HTH
Jerry
"Leila" <Leilas@.hotpop.com> wrote in message
news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL Server
> 2000.
> The server has 2GB memory and no other app is using that (dedicated to SQL
> Server). The problem is that after restarting the service, it takes about
> 4
> days that users fill the memory by their queries and when 2GB runs out,
> the
> server becomes so slow and even it takes long time to open the task
> manager.
> If you change the maximum memory to 1.8GB, the OS itself will not be slow
> when memory runs out, but the users experience serious problems in
> performance as before. The database is not too big, only 700MB(data only)
> but there are about 40 concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating
> the problem?!
> Any help would be greatly appreciated.
> Leila
>|||Thanks Uri,
There's no problem with queries. I read the result of profiler and sorted by
duration. There's no bottleneck with queries. Everything is ok when memory
is available. As soon as memory becomes full, the page/sec in performance
monitor goes high!
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:#sYDnSbzFHA.2064@.TK2MSFTNGP09.phx.gbl...
> I'd strat tuning queries first , I don;t think that OS or hardware are a
> problem.
> Run SQL Server Profiler to identify a long running queries and then try to
> optimize them.
>
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)[vbcol=seagreen]
>|||Thanks Jacco,
1) SP3
2) No
3) There is no problem with locks and blocking ( I used performance
monitor). The client app opens about 3 or 4 connections (maybe more!) but
there's another question for me: Can an inactive connection consume a lot of
memory? I mean can it be a serious problem for memory?
"Jacco Schalkwijk" <jacco.please.reply@.to.newsgroups.mvps.org.invalid> wrote
in message news:#RlKqTbzFHA.1168@.TK2MSFTNGP15.phx.gbl...
> Sounds like you have a memory leak somewhere.
> Some ideas:
> 1) Do they have the latest Service Pack installed (SP4)?
> 2) Are there any third party extended procedures on the machine that might
> cause trouble?
> 3) Are there any connections that are open for a long time with long term
> locks?
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)[vbcol=seagreen]
>|||Thanks Kevin,
It's Enterprise Edition + SP3
"Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in message
news:e2u$MVbzFHA.1040@.TK2MSFTNGP14.phx.gbl...
> If its SQL Standard, more memory will not help the SQL Server.
> I find it odd that a 700MB database can take up 1.8 gb memory...
> looking forward to input form others.
> What version (service pack) of SQL?
> --
> Kevin Hill
> President
> 3NF Consulting
> www.3nf-inc.com/NewsGroups.htm
>
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)[vbcol=seagreen]
>|||Leila wrote:
> Hi,
> Yesterday I went to company of a friend to troubleshoot their SQL
> Server 2000.
> The server has 2GB memory and no other app is using that (dedicated
> to SQL Server). The problem is that after restarting the service, it
> takes about 4 days that users fill the memory by their queries and
> when 2GB runs out, the server becomes so slow and even it takes long
> time to open the task manager. If you change the maximum memory to
> 1.8GB, the OS itself will not be slow when memory runs out, but the
> users experience serious problems in performance as before. The
> database is not too big, only 700MB(data only) but there are about 40
> concurrent users.
> I thought it is good to install more memory but what if this job only
> increases the life of memory (e.g 8 days to run out!) instead of
> eliminating the problem?!
> Any help would be greatly appreciated.
> Leila
I agree with Uri. Tuning queries is the place to start. Your data is
700MB, but you didn't mention the size of your indexes, the number of
query plans in cache, the type of execution model (stored procedures,
dynamic sql, etc.), or the design of the disk subsystem. See BOL "SQL
Server Memory Pool" for a description of memory use.
Keeping table / index / clustered index scans to a minimum can help
performance a great deal.
I would encourage you to also use Profiler before and after the memory
problem to better compare performance of your queries and see where the
differences are. Are you seeing a difference in duration only? If so, it
could be a overutilized disk subsystem.
David Gugick
Quest Software
www.imceda.com
www.quest.com|||Thanks Jerry,
It doesn't seem to be I/O optimization problem. Whether the query is
optimized by indexes or not, at the end it will consume a particular amount
of memory to stay there.
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:e2l$EdbzFHA.3924@.TK2MSFTNGP14.phx.gbl...
> Leila,
> 1. Ensure the appropriate indexes exist to help minimize physcial I/O
> 2. Ensure the end-user ad-hoc queries (not really recommended) include
> WHERE clauses (that match the indexes)
> 3. Check for table/clustered index scans for queries
> 4. Ensure that no CROSS JOINs (or multiple tables withouth WHERE clause -
> old syntax) are not occuring
> 5. Perhaps think about using the Query Governor Cost Limit
> HTH
> Jerry
> "Leila" <Leilas@.hotpop.com> wrote in message
> news:OKrDJNbzFHA.3408@.TK2MSFTNGP09.phx.gbl...
SQL[vbcol=seagreen]
about[vbcol=seagreen]
slow[vbcol=seagreen]
only)[vbcol=seagreen]
>

Friday, February 24, 2012

Memory More than 2G ==> 3GB switch

All,
We have a dell system with 2 processors(4 by the technique of
hyperthreading) and 4 GB of RAM.
This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
I have added the /3GB switch into the boot.ini and set the memory of
SQL fixed to 3043 MB RAM.
The problem is the following :
I think that my server isn't using the 3 Gig of Memory for
applications because of 2 reasons
- the error initdata: Warning: Could not set working set size to
1353312 KB.
- sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
detected
I know that sqlserveragent is not the same as sqlserver but I expect
then that the sqlserveragent should detect 1GB or 3GB - 3 is most
likely- and not 2 GB.
2 GB should be normal if the /3GB switch isn't used.
Question:
How can i really check if the 3 GB switch is activated and working.
I have found a document at microsoft but that link doesnt clarify
because on a server and on an enterprise edition the pagedpoolsize is
the same .
http://www.microsoft.com/resources/d..._4gt_tools.asp
Hi
This feature will work on Windows 2000 DataCenter or Advenced Server
machines. Do you have SQL Server installed on one of them?
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405240241.706d25f1@.posting.google.c om...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/d...003/all/techre
f/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre
f/en-us/w2k3tr_4gt_tools.asp
|||What edition of the OS and SQL Server?
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<romaric_decoene@.yahoo.com> wrote in message news:e4d6707e.0405240241.706d25f1@.posting.google.c om...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/d..._4gt_tools.asp
|||- sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
detected
SQL Agent can't see more than 2 GB regardless of what SQL Server can see but
incorrectly reports what it can see rather than the amount of memory on the
server and is independent of what SQL Server can address.
Do you have Advanced Server and SQL2000 EE ?
Have you specified the "set working set size" ?
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405240241.706d25f1@.posting.google.c om...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/d...003/all/techre
f/en-us/w2k3tr_4gt_tools.asp
|||We are running Windows 2003 Enterprise Server with SQL 2000 Enterprise
edition.
The working set size is set to 1
Does this mean that SQLserver agent can't see that the 3gb switch is
enabled and therefore suppose thats it is the standard 2Gb for
applications and 2 Gb for system? Will it then compete with sql server
service for memory or with the system ?
"Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message news:<#ChXD0bQEHA.3456@.TK2MSFTNGP11.phx.gbl>...
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> SQL Agent can't see more than 2 GB regardless of what SQL Server can see but
> incorrectly reports what it can see rather than the amount of memory on the
> server and is independent of what SQL Server can address.
> Do you have Advanced Server and SQL2000 EE ?
> Have you specified the "set working set size" ?
> --
> HTH
> Jasper Smith (SQL Server MVP)
> I support PASS - the definitive, global
> community for SQL Server professionals -
> http://www.sqlpass.org
>
> <romaric_decoene@.yahoo.com> wrote in message
> news:e4d6707e.0405240241.706d25f1@.posting.google.c om...
> http://www.microsoft.com/resources/d...003/all/techre
> f/en-us/w2k3tr_4gt_tools.asp
|||I would set the "set working set size" option to 0
exec sp_configure 'set working',0
reconfigure
and restart the server.
SQLAgent isn't large memory aware or compiled with the /3GB switch so it can
see the standard 2GB user mode address space that all normal win32 processes
can. It comptetes with SQL Server in the same sense that opening notepad on
the server does i.e. not much :-) it's all just virtual address space after
all.
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405250329.482e96a9@.posting.google.c om...
> We are running Windows 2003 Enterprise Server with SQL 2000 Enterprise
> edition.
> The working set size is set to 1
> Does this mean that SQLserver agent can't see that the 3gb switch is
> enabled and therefore suppose thats it is the standard 2Gb for
> applications and 2 Gb for system? Will it then compete with sql server
> service for memory or with the system ?
> "Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message
news:<#ChXD0bQEHA.3456@.TK2MSFTNGP11.phx.gbl>...[vbcol=seagreen]
but[vbcol=seagreen]
the[vbcol=seagreen]
http://www.microsoft.com/resources/d...003/all/techre[vbcol=seagreen]

Memory More than 2G ==> 3GB switch

All,
We have a dell system with 2 processors(4 by the technique of
hyperthreading) and 4 GB of RAM.
This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
I have added the /3GB switch into the boot.ini and set the memory of
SQL fixed to 3043 MB RAM.
The problem is the following :
I think that my server isn't using the 3 Gig of Memory for
applications because of 2 reasons
- the error initdata: Warning: Could not set working set size to
1353312 KB.
- sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
detected
I know that sqlserveragent is not the same as sqlserver but I expect
then that the sqlserveragent should detect 1GB or 3GB - 3 is most
likely- and not 2 GB.
2 GB should be normal if the /3GB switch isn't used.
Question:
How can i really check if the 3 GB switch is activated and working.
I have found a document at microsoft but that link doesnt clarify
because on a server and on an enterprise edition the pagedpoolsize is
the same .
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3tr_4gt_tools.aspHi
This feature will work on Windows 2000 DataCenter or Advenced Server
machines. Do you have SQL Server installed on one of them?
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techre
f/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre
f/en-us/w2k3tr_4gt_tools.asp|||What edition of the OS and SQL Server?
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<romaric_decoene@.yahoo.com> wrote in message news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3tr_4gt_tools.asp|||- sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
detected
SQL Agent can't see more than 2 GB regardless of what SQL Server can see but
incorrectly reports what it can see rather than the amount of memory on the
server and is independent of what SQL Server can address.
Do you have Advanced Server and SQL2000 EE ?
Have you specified the "set working set size" ?
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre
f/en-us/w2k3tr_4gt_tools.asp|||We are running Windows 2003 Enterprise Server with SQL 2000 Enterprise
edition.
The working set size is set to 1
Does this mean that SQLserver agent can't see that the 3gb switch is
enabled and therefore suppose thats it is the standard 2Gb for
applications and 2 Gb for system? Will it then compete with sql server
service for memory or with the system ?
"Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message news:<#ChXD0bQEHA.3456@.TK2MSFTNGP11.phx.gbl>...
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> SQL Agent can't see more than 2 GB regardless of what SQL Server can see but
> incorrectly reports what it can see rather than the amount of memory on the
> server and is independent of what SQL Server can address.
> Do you have Advanced Server and SQL2000 EE ?
> Have you specified the "set working set size" ?
> --
> HTH
> Jasper Smith (SQL Server MVP)
> I support PASS - the definitive, global
> community for SQL Server professionals -
> http://www.sqlpass.org
>
> <romaric_decoene@.yahoo.com> wrote in message
> news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> > All,
> >
> > We have a dell system with 2 processors(4 by the technique of
> > hyperthreading) and 4 GB of RAM.
> > This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> > I have added the /3GB switch into the boot.ini and set the memory of
> > SQL fixed to 3043 MB RAM.
> >
> > The problem is the following :
> >
> > I think that my server isn't using the 3 Gig of Memory for
> > applications because of 2 reasons
> > - the error initdata: Warning: Could not set working set size to
> > 1353312 KB.
> > - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> > detected
> >
> > I know that sqlserveragent is not the same as sqlserver but I expect
> > then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> > likely- and not 2 GB.
> > 2 GB should be normal if the /3GB switch isn't used.
> >
> > Question:
> >
> > How can i really check if the 3 GB switch is activated and working.
> > I have found a document at microsoft but that link doesnt clarify
> > because on a server and on an enterprise edition the pagedpoolsize is
> > the same .
> >
> http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre
> f/en-us/w2k3tr_4gt_tools.asp|||I would set the "set working set size" option to 0
exec sp_configure 'set working',0
reconfigure
and restart the server.
SQLAgent isn't large memory aware or compiled with the /3GB switch so it can
see the standard 2GB user mode address space that all normal win32 processes
can. It comptetes with SQL Server in the same sense that opening notepad on
the server does i.e. not much :-) it's all just virtual address space after
all.
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405250329.482e96a9@.posting.google.com...
> We are running Windows 2003 Enterprise Server with SQL 2000 Enterprise
> edition.
> The working set size is set to 1
> Does this mean that SQLserver agent can't see that the 3gb switch is
> enabled and therefore suppose thats it is the standard 2Gb for
> applications and 2 Gb for system? Will it then compete with sql server
> service for memory or with the system ?
> "Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message
news:<#ChXD0bQEHA.3456@.TK2MSFTNGP11.phx.gbl>...
> > - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> > detected
> >
> > SQL Agent can't see more than 2 GB regardless of what SQL Server can see
but
> > incorrectly reports what it can see rather than the amount of memory on
the
> > server and is independent of what SQL Server can address.
> >
> > Do you have Advanced Server and SQL2000 EE ?
> > Have you specified the "set working set size" ?
> >
> > --
> > HTH
> >
> > Jasper Smith (SQL Server MVP)
> >
> > I support PASS - the definitive, global
> > community for SQL Server professionals -
> > http://www.sqlpass.org
> >
> >
> > <romaric_decoene@.yahoo.com> wrote in message
> > news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> > > All,
> > >
> > > We have a dell system with 2 processors(4 by the technique of
> > > hyperthreading) and 4 GB of RAM.
> > > This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> > > I have added the /3GB switch into the boot.ini and set the memory of
> > > SQL fixed to 3043 MB RAM.
> > >
> > > The problem is the following :
> > >
> > > I think that my server isn't using the 3 Gig of Memory for
> > > applications because of 2 reasons
> > > - the error initdata: Warning: Could not set working set size to
> > > 1353312 KB.
> > > - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> > > detected
> > >
> > > I know that sqlserveragent is not the same as sqlserver but I expect
> > > then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> > > likely- and not 2 GB.
> > > 2 GB should be normal if the /3GB switch isn't used.
> > >
> > > Question:
> > >
> > > How can i really check if the 3 GB switch is activated and working.
> > > I have found a document at microsoft but that link doesnt clarify
> > > because on a server and on an enterprise edition the pagedpoolsize is
> > > the same .
> > >
> >
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre
> > f/en-us/w2k3tr_4gt_tools.asp

Monday, February 20, 2012

Memory More than 2G ==> 3GB switch

All,
We have a dell system with 2 processors(4 by the technique of
hyperthreading) and 4 GB of RAM.
This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
I have added the /3GB switch into the boot.ini and set the memory of
SQL fixed to 3043 MB RAM.
The problem is the following :
I think that my server isn't using the 3 Gig of Memory for
applications because of 2 reasons
- the error initdata: Warning: Could not set working set size to
1353312 KB.
- sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
detected
I know that sqlserveragent is not the same as sqlserver but I expect
then that the sqlserveragent should detect 1GB or 3GB - 3 is most
likely- and not 2 GB.
2 GB should be normal if the /3GB switch isn't used.
Question:
How can i really check if the 3 GB switch is activated and working.
I have found a document at microsoft but that link doesnt clarify
because on a server and on an enterprise edition the pagedpoolsize is
the same .
s/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3
tr_4gt_tools.asp" target="_blank">http://www.microsoft.com/resources/...r_4gt_tools.aspHi
This feature will work on Windows 2000 DataCenter or Advenced Server
machines. Do you have SQL Server installed on one of them?
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
http://www.microsoft.com/resources/...2003/all/techre
f/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre
f/en-us/w2k3tr_4gt_tools.asp|||What edition of the OS and SQL Server?
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<romaric_decoene@.yahoo.com> wrote in message news:e4d6707e.0405240241.706d25f1@.posting.googl
e.com...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
s/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3
tr_4gt_tools.asp" target="_blank">http://www.microsoft.com/resources/...r_4gt_tools.asp|||- sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
detected
SQL Agent can't see more than 2 GB regardless of what SQL Server can see but
incorrectly reports what it can see rather than the amount of memory on the
server and is independent of what SQL Server can address.
Do you have Advanced Server and SQL2000 EE ?
Have you specified the "set working set size" ?
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> All,
> We have a dell system with 2 processors(4 by the technique of
> hyperthreading) and 4 GB of RAM.
> This system is fully dedicated to SQL 2000 sp 3a, hotfix 818.
> I have added the /3GB switch into the boot.ini and set the memory of
> SQL fixed to 3043 MB RAM.
> The problem is the following :
> I think that my server isn't using the 3 Gig of Memory for
> applications because of 2 reasons
> - the error initdata: Warning: Could not set working set size to
> 1353312 KB.
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> I know that sqlserveragent is not the same as sqlserver but I expect
> then that the sqlserveragent should detect 1GB or 3GB - 3 is most
> likely- and not 2 GB.
> 2 GB should be normal if the /3GB switch isn't used.
> Question:
> How can i really check if the 3 GB switch is activated and working.
> I have found a document at microsoft but that link doesnt clarify
> because on a server and on an enterprise edition the pagedpoolsize is
> the same .
>
s/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre" target="_blank">http://www.microsoft.com/resources/...2003/all/techre
f/en-us/w2k3tr_4gt_tools.asp|||We are running Windows 2003 Enterprise Server with SQL 2000 Enterprise
edition.
The working set size is set to 1
Does this mean that SQLserver agent can't see that the 3gb switch is
enabled and therefore suppose thats it is the standard 2Gb for
applications and 2 Gb for system? Will it then compete with sql server
service for memory or with the system ?
"Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message news:<#ChXD0bQEHA.3456@.TK2MSFTNG
P11.phx.gbl>...
> - sqlserveragent agentlog [310] 4 processor(s) and 2048 MB RAM
> detected
> SQL Agent can't see more than 2 GB regardless of what SQL Server can see b
ut
> incorrectly reports what it can see rather than the amount of memory on th
e
> server and is independent of what SQL Server can address.
> Do you have Advanced Server and SQL2000 EE ?
> Have you specified the "set working set size" ?
> --
> HTH
> Jasper Smith (SQL Server MVP)
> I support PASS - the definitive, global
> community for SQL Server professionals -
> http://www.sqlpass.org
>
> <romaric_decoene@.yahoo.com> wrote in message
> news:e4d6707e.0405240241.706d25f1@.posting.google.com...
> -us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techre" target="_blank">http://www.microsoft.com/resources/...2003/all/techre
> f/en-us/w2k3tr_4gt_tools.asp|||I would set the "set working set size" option to 0
exec sp_configure 'set working',0
reconfigure
and restart the server.
SQLAgent isn't large memory aware or compiled with the /3GB switch so it can
see the standard 2GB user mode address space that all normal win32 processes
can. It comptetes with SQL Server in the same sense that opening notepad on
the server does i.e. not much :-) it's all just virtual address space after
all.
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
<romaric_decoene@.yahoo.com> wrote in message
news:e4d6707e.0405250329.482e96a9@.posting.google.com...
> We are running Windows 2003 Enterprise Server with SQL 2000 Enterprise
> edition.
> The working set size is set to 1
> Does this mean that SQLserver agent can't see that the 3gb switch is
> enabled and therefore suppose thats it is the standard 2Gb for
> applications and 2 Gb for system? Will it then compete with sql server
> service for memory or with the system ?
> "Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message
news:<#ChXD0bQEHA.3456@.TK2MSFTNGP11.phx.gbl>...[vbcol=seagreen]
but[vbcol=seagreen]
the[vbcol=seagreen]
l=/resources/documentation/windowsServ/2003/all/techre" target="_blank">http://www.microsoft.com/resources/...2003/all/techre[vbcol=seagreen]