locked
sys.dm_os_memory_pools pool_id RRS feed

  • Question

  • https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-os-memory-pools-transact-sql?view=sql-server-ver15

    By default pool_id 0 is internal pool and pool_id 1 is default pool ?

    Tuesday, August 11, 2020 4:02 AM

All replies

  • Hi sakurai_db,

    I researched this but did not find any useful information. I am sorry for this.

    I will continue to pay attention and explore.

    Best regards,
    Cris


    ""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
    We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
    For more information, please refer to the sticky post.

    Friday, August 14, 2020 9:26 AM
  • any one has the idea ?? broker has the mapping , however memory_pools does not

    Tuesday, August 25, 2020 9:53 AM
  • hi

    select m.*,r.name from sys.dm_os_memory_pools m
    inner join sys.dm_resource_governor_resource_pools r on m.pool_id = r.pool_id

    Thanks and regards

    Thursday, August 27, 2020 3:20 PM
  • what does it mean ?
    Friday, August 28, 2020 8:35 AM
  • Yesterday we have covered sys.dm_os_memory_objects. We will proceed further with more memory related DMVs. Today I will talk about sys.dm_os_memory_pools. Memory in SQL Server is designed on pool framework. Pool framework is similar to cache framework.

    The memory clerks are internally memory pools. Pools are used in places where clerks are used. There are certain pools which are commonly used by multiple components. They are used to cache homogeneous and stateless types of data. Sys.dm_os_memory_pools provides a row each for each memory pool.

    Sys.dm_os_memory_pools can be queried directly. The use case would be to determine if you have any problems with bad caching of memory. The important columns to notice are max_free_entries_count, free_entries_count and removed_in_all_rounds_count.

    Max_free_entries_count – The max limit of free entries allowed in a pool

    Free_entries_count – Current free entries in the pool

    Removed_in_all_rounds_count – Number of entries removed since SQL Server started from the pool

    The problems with memory caching can be identified by high number in removed_in_all_rounds_count and consistent low number in free_entries_count. As I mentioned before, sys.dm_os_memory_pools is more independent DMV.

    SELECT type,

    name,

    max_free_entries_count,

    free_entries_count,

    removed_in_all_rounds_count

    FROM sys.dm_os_memory_pools

    ORDER BY removed_in_all_rounds_count DESC

    sys.dm_os_memory_pools

    In the above output we see OBJECTSTORE_LOCK_MANAGER is on top of list with more entries removed. But it would not concern me as I will be more interested if the free entries count is closer to 0. If I have problems with this cache I may receive an error like below

    so there are only 

    sys.dm_os_memory_pools  and dm_os_memory_brokers has pool_id 

    and clerks and objects don't have pool_id ....

    So I am still confused how they link up ?

    Saturday, August 29, 2020 7:03 AM
  • Yesterday we have covered sys.dm_os_memory_objects. We will proceed further with more memory related DMVs. Today I will talk about sys.dm_os_memory_pools. Memory in SQL Server is designed on pool framework. Pool framework is similar to cache framework.

    The memory clerks are internally memory pools. Pools are used in places where clerks are used. There are certain pools which are commonly used by multiple components. They are used to cache homogeneous and stateless types of data. Sys.dm_os_memory_pools provides a row each for each memory pool.

    Sys.dm_os_memory_pools can be queried directly. The use case would be to determine if you have any problems with bad caching of memory. The important columns to notice are max_free_entries_count, free_entries_count and removed_in_all_rounds_count.

    Max_free_entries_count – The max limit of free entries allowed in a pool

    Free_entries_count – Current free entries in the pool

    Removed_in_all_rounds_count – Number of entries removed since SQL Server started from the pool

    The problems with memory caching can be identified by high number in removed_in_all_rounds_count and consistent low number in free_entries_count. As I mentioned before, sys.dm_os_memory_pools is more independent DMV.

    SELECT type,

    name,

    max_free_entries_count,

    free_entries_count,

    removed_in_all_rounds_count

    FROM sys.dm_os_memory_pools

    ORDER BY removed_in_all_rounds_count DESC

    sys.dm_os_memory_pools

    In the above output we see OBJECTSTORE_LOCK_MANAGER is on top of list with more entries removed. But it would not concern me as I will be more interested if the free entries count is closer to 0. If I have problems with this cache I may receive an error like below.

    DO YOU HAVE ANY CONTENT OF YOUR OWN OR YOU JUST STEAL FROM OTHERS?!?

    Instead of copy someone else article, why not simply add the link to the source article? 

    I checked some of your response from the list of activities in your profile and it seems like you simply google for content and steal it from others. Am I wrong?!? Can you confirm that all the users who wrote the content which you published gave you permission to use their content ?!?

    -------------------------------

    Your respond here:

    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/bcc40e74-ec47-4849-a77f-d3eafde500e7/sysdmosmemorypools-poolid?forum=sqldatabaseengine#30c285fd-ed0f-4894-8ff3-7a1785b29317

    Is a direct copy from this article :

    https://www.sqlservergeeks.com/sys-dm_os_memory_pools/

    -------------------------------

    Your respond here:

    https://social.msdn.microsoft.com/Forums/en-US/c0b94f37-3c04-40e6-94c2-22d7f1cfb45c/how-to-add-a-drop-down-list-in-a-line-chart-to-change-using-chartjs-in-aspnet-web-application?forum=whatforum

    Is a direct copy from this article :

    https://www.c-sharpcorner.com/article/generating-runtime-chart-in-mvc-using-chart-js/

    -------------------------------

    Your respond here:

    https://social.msdn.microsoft.com/Forums/en-US/d7c4fc84-745f-4d2d-9b9f-b88cff82f4a3/single-odata-endpoint-against-to-2-databases?forum=adodotnetentityframework#6cd67c76-e1c2-4386-89c1-23ab3d377f9c

    Is a direct copy from this article :

    https://www.dpaxinos.com/blog/2014/10/One-OData-Endpoint-for-multiple-databases-with-the-same-schema

    ------------------------------------------------------

    Should I continue to check all the rest of your responses?!?

    Do you understand the meaning of Plagiarism ?!?

    Do you think that the virtual points in the forum are so important that you should do such actions?!?

    If I am mistaken then please explain this ASAP!



    signature   Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]    [Linkedin]


    • Edited by pituachMVP Sunday, August 30, 2020 8:44 AM
    Saturday, August 29, 2020 2:26 PM
  • yes he is stealing
    Sunday, August 30, 2020 9:55 AM