Introduction

In this article, you will learn how to use SQL Server Memory Management. Generally, SQL Server manages memory in two different ways.

32 BIT OS

In 32-bit OS, SQL Server divides the memory into two parts: one will have the data pages, and the other will have the rest, like indexes, compiled queries, results of joins, and so on.

32-bit is enough to handle 4 GB at a time. The default configuration will be 2GB for the operating system and 2 GB for the application.

If you have 64 GB of RAM with a 32-bit system, you will have only 1 GB for the shared information. You can modify this in your system, but it may adversely affect the performance. You should do various load tests before doing the manipulation in production.

64 BIT OS

Mostly 64, bit systems are highly recommended for production database servers for high performance. In 64 Bit OS, the division of data pages and shared information disappears. Here, the SQL SERVER can use the entire memory for any object. One more advantage here is that the memory usage limit is increased up to 2 TB.

32 BIT OS vs 64 BIT OS