Configuring SQL Server for Performance

      Comments Off on Configuring SQL Server for Performance

SQL Server 2012 provides system settings that may be enhanced for your particular atmosphere and workload patterns. Probably the most important performance settings are Memory, Network Packet Size, Instant File Initialization and tempdb.


Two significant server property configuration settings include maximum and minimum server memory. Automatically, the program is configured having a minimum memory of 0MB along with a maximum memory of two,147,483,647MB (2TB)

The effects of departing the default values of these two settings may also be misinterpreted and frequently overlooked. The minimum server memory setting specifies the quantity of memory that isn’t released to the operating-system by SQL Server when allotted. Essentially, SQL Server maintains onto this minimum degree of memory, even if it’s no more needed.

An average misconception is generally that SQL Server immediately allocates up to this minimum quantity of memory upon startup. Really, SQL Server allocates memory only because it is needed and might or might not achieve the minimum server memory value specified.

The minimum server memory setting might not have to become altered except once the operating-system constantly demands memory sources for other applications discussing exactly the same storage. You want to avoid allocating a lot of memory towards the operating-system since that may potentially starve a SQL Server instance from memory.

Simultaneously, the utmost server memory sets limitations for that optimum quantity of memory a SQL Server instance can allocate. A memory specs that’s set excessively might deny an operating-system from memory sources. The greatest server memory value must never equal or review the quantity of accessible server memory. The memory value must be at the minimum 1GB under the general server memory.

Network Packet Size:

The conventional network packet size for SQL Server 2012 is 4,096 bytes. Establishing a packet size greater compared to default size can easily improve efficiency for SQL Server instances that encounter a large number of bulk operations or that transfer substantial volumes of information. When Jumbo Frames are supported and allowed through the server’s hardware along with the network infrastructure, increase the network packet size to eight,192 bytes.

Instant File Initialization:

At any instance a database file is generated or requires to grow, it’ll initially be zero-filled through the operating-system prior to the completely new space is created available for writing.

This process is usually pricey because the entire write operations are blocked until zero-fill completes. To avoid these types of stops and waits, you’ll be able to enable instant file initialization by such as the SQL Server service account towards the group of users within the Perform Volume Maintenance


One of the most significant system databases which will need distinctive consideration and designing is tempdb. Over time, tempdb has adopted a lot more responsibility of computer has formerly. Previously, tempdb was used for internal approaches for instance some index builds and table variable storage, together with temporary space for storage by developers and programmers.

Right from the design installation to maintenance of a BI platform, you get to learn all of it when you are a part of Microsoft SQL server 2012 course offered by Comat. Enroll yourself and enhance your skills for the Microsoft Exam 70-467.