There are clouds on the horizon
Maximum server memory

There are clouds on the horizon

I've often observed DBAs who confidently set the maximum memory size, yet few truly understand the implications of their actions. In my view, this issue is closely tied to the SQL Server Interface. While it appears straightforward, allowing anyone to feel competent in its use, the reality is far more intricate than it seems.

In such instances, a poorly designed user interface (UI) actually serves a purpose by making us more conscious of our actions, similar to other relational database management systems (RDBMS). It's common knowledge that some DBAs set the maximum memory based on intuition rather than through careful calculation.

Regrettably, inexperienced DBAs frequently allocate a figure to the operating system, believing it to be sufficient. But one must ask, is this assumption valid? Is this figure derived from any concrete calculations or metrics? Consider whether you've accounted for the maximum number of worker threads, tracked the server's total memory usage hosting the SQL Server instance, and deducted memory allocations beyond the control of maximum server memory. This includes backup buffers, extended stored procedure DLLs, objects created through automation procedures (sp_OA calls), and allocations from linked server providers.

In summary, it's essential to question each configuration step you intend to make. Reflect on the rationale, read white papers, and seek out best practices from MVPs in the field.

要查看或添加评论,请登录

Mohsen Sayadian的更多文章

  • That's my story about Memory Grants in SQL Server

    That's my story about Memory Grants in SQL Server

    As a consultant, I usually try to figure out some performance metrics, workload types, bottlenecks, etc. The story…

    5 条评论
  • learning path to understand storage metrics in SQL Server

    learning path to understand storage metrics in SQL Server

    In this article, I aim to demystify some concepts of storage related to SQL Server through self-learning. It's not…

    5 条评论
  • Is table partitioning going to improve query performance by itself?

    Is table partitioning going to improve query performance by itself?

    When we talk about too many records a lot of developers think just using table partitioning every things become faster,…

    1 条评论
  • Hack-attach

    Hack-attach

    I want to describe how to re-attach a damaged database if someone’s detached it accidentally while performing disaster…

  • Get on Good Terms with Your Developers

    Get on Good Terms with Your Developers

    I had search on internet about databases (I like to do that , even aimless!) I read article from Paul S. Randal (a…

  • Important Answers before start to Rebuild Index

    Important Answers before start to Rebuild Index

    Firstly , this article talk about SQL Server indexes, and short answer to some important questions of DBAs before start…

  • Database Scalability – Horizontal vs. Vertical Scaling

    Database Scalability – Horizontal vs. Vertical Scaling

    Scalability at the database layer has always been a challenging task for architects. Sadly, this also happens to be one…

  • SQL Server I/O Errors

    SQL Server I/O Errors

    We have three kind of I/O errors (summary) Error Number 823 : a hard I/O error SQL Server ask OS to reads data from…

  • strategy of database design (OLTP or OLAP)

    strategy of database design (OLTP or OLAP)

    One of the biggest problems in design medium level of applications (in very small team) , choice strategy of database…

    2 条评论
  • Common Misconceptions In Sql Server

    Common Misconceptions In Sql Server

    A TRUNCATE TABLE operation is non-logged.(FALSE) There is no such thing as a non-logged operation in a user database.

社区洞察

其他会员也浏览了