PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > SQL Server Memory Usage ! (Counter Memory Manager/Total ServerMemory (KB)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
SQL Server Memory Usage ! (Counter Memory Manager/Total ServerMemory (KB)

Réponse
 
LinkBack Outils de la discussion
Vieux 15/09/2008, 19h12   #1
Megan Kielman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQL Server Memory Usage ! (Counter Memory Manager/Total ServerMemory (KB)

I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
counter SQLServer:Memory Manager/Total Server Memory (KB) show the
amount of physical memory is use by SQL? Why isn't this value reported
by the sqlservr.exe working set?

I am concerned about SQL Server usage b/c it continues to grow and the
system which has 34GB of memory generally runs with 300MB available.
  Réponse avec citation
Vieux 16/09/2008, 10h07   #2
Uri Dimant
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total Server Memory (KB)

Megan
SELECT * FROM sys.dm_os_performance_counters

WHERE counter_name = 'Total Server Memory (KB)'

OR counter_name = 'Target Server Memory (KB)';

SELECT * FROM sys.dm_os_performance_counters

WHERE counter_name = 'Page life expectancy'

AND object_name = 'SQLServer:Buffer Manager';



SQL Server allocates memory dynamically unless you set MAX/MIN memory
value. When OS or other application needs the memory SQL Server will release
it

Make sure that you granted permission to accounnt SQL Server runs under for
Lock Pages in Memory (local policy)









"Megan Kielman" <megan.kielman@gmail.com> wrote in message
news:OIp23Y1FJHA.828@TK2MSFTNGP03.phx.gbl...
>I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
>counter SQLServer:Memory Manager/Total Server Memory (KB) show the amount
>of physical memory is use by SQL? Why isn't this value reported by the
>sqlservr.exe working set?
>
> I am concerned about SQL Server usage b/c it continues to grow and the
> system which has 34GB of memory generally runs with 300MB available.



  Réponse avec citation
Vieux 16/09/2008, 17h40   #3
Megan Kielman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total ServerMemory (KB)

Can you explain what the SQL query results mean?

When you say that SQL Server allocates memory dynamically, does that
mean that the counter 'Total Server Memory' is the amount of physical
memory SQL Server is using? If so, why isn't this memory reported by the
sqlserv.exe process?





Uri Dimant wrote:
> Megan
> SELECT * FROM sys.dm_os_performance_counters
>
> WHERE counter_name = 'Total Server Memory (KB)'
>
> OR counter_name = 'Target Server Memory (KB)';
>
> SELECT * FROM sys.dm_os_performance_counters
>
> WHERE counter_name = 'Page life expectancy'
>
> AND object_name = 'SQLServer:Buffer Manager';
>
>
>
> SQL Server allocates memory dynamically unless you set MAX/MIN memory
> value. When OS or other application needs the memory SQL Server will release
> it
>
> Make sure that you granted permission to accounnt SQL Server runs under for
> Lock Pages in Memory (local policy)
>
>
>
>
>
>
>
>
>
> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
> news:OIp23Y1FJHA.828@TK2MSFTNGP03.phx.gbl...
>> I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
>> counter SQLServer:Memory Manager/Total Server Memory (KB) show the amount
>> of physical memory is use by SQL? Why isn't this value reported by the
>> sqlservr.exe working set?
>>
>> I am concerned about SQL Server usage b/c it continues to grow and the
>> system which has 34GB of memory generally runs with 300MB available.

>
>

  Réponse avec citation
Vieux 17/09/2008, 06h44   #4
Uri Dimant
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total Server Memory (KB)

Megan
ms-://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/62021d0b-1b8d-4276-b373-a01184006d42.htm




"Megan Kielman" <megan.kielman@gmail.com> wrote in message
news:eqnpQKBGJHA.6052@TK2MSFTNGP04.phx.gbl...
> Can you explain what the SQL query results mean?
>
> When you say that SQL Server allocates memory dynamically, does that mean
> that the counter 'Total Server Memory' is the amount of physical memory
> SQL Server is using? If so, why isn't this memory reported by the
> sqlserv.exe process?
>
>
>
>
>
> Uri Dimant wrote:
>> Megan
>> SELECT * FROM sys.dm_os_performance_counters
>>
>> WHERE counter_name = 'Total Server Memory (KB)'
>>
>> OR counter_name = 'Target Server Memory (KB)';
>>
>> SELECT * FROM sys.dm_os_performance_counters
>>
>> WHERE counter_name = 'Page life expectancy'
>>
>> AND object_name = 'SQLServer:Buffer Manager';
>>
>>
>>
>> SQL Server allocates memory dynamically unless you set MAX/MIN memory
>> value. When OS or other application needs the memory SQL Server will
>> release it
>>
>> Make sure that you granted permission to accounnt SQL Server runs under
>> for Lock Pages in Memory (local policy)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
>> news:OIp23Y1FJHA.828@TK2MSFTNGP03.phx.gbl...
>>> I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
>>> counter SQLServer:Memory Manager/Total Server Memory (KB) show the
>>> amount of physical memory is use by SQL? Why isn't this value reported
>>> by the sqlservr.exe working set?
>>>
>>> I am concerned about SQL Server usage b/c it continues to grow and the
>>> system which has 34GB of memory generally runs with 300MB available.

>>


  Réponse avec citation
Vieux 17/09/2008, 22h47   #5
Megan Kielman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total ServerMemory (KB)

I'm sorry to sound ignorant but how to I access that?


Uri Dimant wrote:
> Megan
> ms-://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/62021d0b-1b8d-4276-b373-a01184006d42.htm
>
>
>
>
> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
> news:eqnpQKBGJHA.6052@TK2MSFTNGP04.phx.gbl...
>> Can you explain what the SQL query results mean?
>>
>> When you say that SQL Server allocates memory dynamically, does that mean
>> that the counter 'Total Server Memory' is the amount of physical memory
>> SQL Server is using? If so, why isn't this memory reported by the
>> sqlserv.exe process?
>>
>>
>>
>>
>>
>> Uri Dimant wrote:
>>> Megan
>>> SELECT * FROM sys.dm_os_performance_counters
>>>
>>> WHERE counter_name = 'Total Server Memory (KB)'
>>>
>>> OR counter_name = 'Target Server Memory (KB)';
>>>
>>> SELECT * FROM sys.dm_os_performance_counters
>>>
>>> WHERE counter_name = 'Page life expectancy'
>>>
>>> AND object_name = 'SQLServer:Buffer Manager';
>>>
>>>
>>>
>>> SQL Server allocates memory dynamically unless you set MAX/MIN memory
>>> value. When OS or other application needs the memory SQL Server will
>>> release it
>>>
>>> Make sure that you granted permission to accounnt SQL Server runs under
>>> for Lock Pages in Memory (local policy)
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
>>> news:OIp23Y1FJHA.828@TK2MSFTNGP03.phx.gbl...
>>>> I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
>>>> counter SQLServer:Memory Manager/Total Server Memory (KB) show the
>>>> amount of physical memory is use by SQL? Why isn't this value reported
>>>> by the sqlservr.exe working set?
>>>>
>>>> I am concerned about SQL Server usage b/c it continues to grow and the
>>>> system which has 34GB of memory generally runs with 300MB available.

>

  Réponse avec citation
Vieux 17/09/2008, 23h12   #6
Kalen Delaney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total Server Memory (KB)

Open up your Books Online (SQL Server's documentation) and enter that in the
URL box.

--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
www.SQLTuners.com


"Uri Dimant" <urid@iscar.co.il> wrote in message
news:eN84c$HGJHA.1020@TK2MSFTNGP06.phx.gbl...
> Megan
> ms-://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/62021d0b-1b8d-4276-b373-a01184006d42.htm
>
>
>
>
> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
> news:eqnpQKBGJHA.6052@TK2MSFTNGP04.phx.gbl...
>> Can you explain what the SQL query results mean?
>>
>> When you say that SQL Server allocates memory dynamically, does that mean
>> that the counter 'Total Server Memory' is the amount of physical memory
>> SQL Server is using? If so, why isn't this memory reported by the
>> sqlserv.exe process?
>>
>>
>>
>>
>>
>> Uri Dimant wrote:
>>> Megan
>>> SELECT * FROM sys.dm_os_performance_counters
>>>
>>> WHERE counter_name = 'Total Server Memory (KB)'
>>>
>>> OR counter_name = 'Target Server Memory (KB)';
>>>
>>> SELECT * FROM sys.dm_os_performance_counters
>>>
>>> WHERE counter_name = 'Page life expectancy'
>>>
>>> AND object_name = 'SQLServer:Buffer Manager';
>>>
>>>
>>>
>>> SQL Server allocates memory dynamically unless you set MAX/MIN memory
>>> value. When OS or other application needs the memory SQL Server will
>>> release it
>>>
>>> Make sure that you granted permission to accounnt SQL Server runs under
>>> for Lock Pages in Memory (local policy)
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
>>> news:OIp23Y1FJHA.828@TK2MSFTNGP03.phx.gbl...
>>>> I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
>>>> counter SQLServer:Memory Manager/Total Server Memory (KB) show the
>>>> amount of physical memory is use by SQL? Why isn't this value reported
>>>> by the sqlservr.exe working set?
>>>>
>>>> I am concerned about SQL Server usage b/c it continues to grow and the
>>>> system which has 34GB of memory generally runs with 300MB available.
>>>

>



  Réponse avec citation
Vieux 17/09/2008, 23h14   #7
Kalen Delaney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total Server Memory (KB)

Open up your Books Online (SQL Server's documentation) and enter that in the
URL box.

--
HTH
Kalen Delaney, SQL Server MVP
www.InsideSQLServer.com
www.SQLTuners.com


"Megan Kielman" <megan.kielman@gmail.com> wrote in message
news:OerJPaQGJHA.2252@TK2MSFTNGP02.phx.gbl...
> I'm sorry to sound ignorant but how to I access that?
>
>
> Uri Dimant wrote:
>> Megan
>> ms-://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/62021d0b-1b8d-4276-b373-a01184006d42.htm
>>
>>
>>
>>
>> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
>> news:eqnpQKBGJHA.6052@TK2MSFTNGP04.phx.gbl...
>>> Can you explain what the SQL query results mean?
>>>
>>> When you say that SQL Server allocates memory dynamically, does that
>>> mean that the counter 'Total Server Memory' is the amount of physical
>>> memory SQL Server is using? If so, why isn't this memory reported by the
>>> sqlserv.exe process?
>>>
>>>
>>>
>>>
>>>
>>> Uri Dimant wrote:
>>>> Megan
>>>> SELECT * FROM sys.dm_os_performance_counters
>>>>
>>>> WHERE counter_name = 'Total Server Memory (KB)'
>>>>
>>>> OR counter_name = 'Target Server Memory (KB)';
>>>>
>>>> SELECT * FROM sys.dm_os_performance_counters
>>>>
>>>> WHERE counter_name = 'Page life expectancy'
>>>>
>>>> AND object_name = 'SQLServer:Buffer Manager';
>>>>
>>>>
>>>>
>>>> SQL Server allocates memory dynamically unless you set MAX/MIN memory
>>>> value. When OS or other application needs the memory SQL Server will
>>>> release it
>>>>
>>>> Make sure that you granted permission to accounnt SQL Server runs
>>>> under for Lock Pages in Memory (local policy)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Megan Kielman" <megan.kielman@gmail.com> wrote in message
>>>> news:OIp23Y1FJHA.828@TK2MSFTNGP03.phx.gbl...
>>>>> I am running Windows 2003 SP2 x64 with SQL Server 2005 X64. Does the
>>>>> counter SQLServer:Memory Manager/Total Server Memory (KB) show the
>>>>> amount of physical memory is use by SQL? Why isn't this value reported
>>>>> by the sqlservr.exe working set?
>>>>>
>>>>> I am concerned about SQL Server usage b/c it continues to grow and the
>>>>> system which has 34GB of memory generally runs with 300MB available.

>>



  Réponse avec citation
Vieux 18/09/2008, 16h55   #8
Megan Kielman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server Memory Usage ! (Counter Memory Manager/Total ServerMemory (KB)

Thanks for the assistance. I read the article but it didn't answer one
of my questions.

Why isn't the amount of memory used by SQL (as reported by Total Server
Memory) accounted for by the sqlserv.exe process? In other words, why
does the sqlserv.exe process only show a few hundred MB of a Working Set
when Total Server Memory shows over 30GB?

I am running Windows 2003x64 w/ SQL 2005



Kalen Delaney wrote:
> Open up your Books Online (SQL Server's documentation) and enter that in the
> URL box.
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16301 seconds with 16 queries