Skip to content

Max Server Memory Matrix

'Have you ever wondered how much memory to assign your SQL Server instance?

Here’s a script to do it for you. If you want to understand how it works, read on!

This is based on an algorithm that Jonathan Kehayias wrote in his book, Troubleshooting SQL Server: A Guide for the Accidental DBA, and repeated in his blog post, How much memory does my SQL Server actually need?.

In broad strokes, you should give the operating system the following (quoted from the blog post):

  • 1 GB of RAM for the OS

  • plus 1 GB for each 4 GB of RAM installed from 4 – 16 GB

  • plus 1 GB for every 8 GB RAM installed above 16 GB RAM

Whatever is left over, can go to your dedicated SQL Server instance. If you’re running anything else on the server, you will need to adjust the Max Server Memory downwards accordingly.

Keep in mind that some internal and peripheral devices may have additional memory requirements (see the blog post above).

Please feel free to use and share this link.'...

https://bornsql.ca/blog/proposed-sql-server-defaults-max-server-memory/

Trackbacks

Keine Trackbacks

Kommentare

Ansicht der Kommentare: Linear | Verschachtelt

Noch keine Kommentare

Die Kommentarfunktion wurde vom Besitzer dieses Blogs in diesem Eintrag deaktiviert.

Kommentar schreiben

Standard-Text Smilies wie :-) und ;-) werden zu Bildern konvertiert.

Um maschinelle und automatische Übertragung von Spamkommentaren zu verhindern, bitte die Zeichenfolge im dargestellten Bild in der Eingabemaske eintragen. Nur wenn die Zeichenfolge richtig eingegeben wurde, kann der Kommentar angenommen werden. Bitte beachten Sie, dass Ihr Browser Cookies unterstützen muss, um dieses Verfahren anzuwenden.
CAPTCHA

Formular-Optionen