SQL Server Migrations & Upgrades

[Best Practices] SQL Server Installation

Updated
4 min read
Written by
Mark Varnas

SQL Server installation does not often repeat, especially if you are using on-premises servers.

In this article, you will see a few settings that are recommended to be reviewed after the SQL Server installation checklist.

Preparation

  1. If possible, start with a freshly installed OS and install the latest drivers.
  2. Check if BIOS power management is disabled or set to OS control.
  3. Validate hardware compatibility with SQL Server prerequisites:
    • Allocate an adequate amount of CPUs and RAM based on your estimated workload.
  4. Provision adequate disk space and set up correctly the Storage:
    • Ensure that you plan for the right disk capacity for your data, logs, backups, and tempdb files.
    • Format drives with allocation unit size set to 64K.

Installation process

Selection of the features is the first step when you begin the SQL Server installation process.

In the windows above, make sure to install only the features you will use.

Most of these are services that automatically start and use system resources.

The C: drive can be used for the above paths (Instance root directory, Shared feature directory, Shared feature directory (x86)).

Instance configuration

The next step is the instance configuration options.

In the dialog above, you will have 2 options:

  1. Default instance. You connect to SQL Server by only specifying the server name or IP.
  2. Named instance. You connect to SQL Server by specifying the server name or IP and the instance name (Example: Server01/instance1).

If you use only one instance on the server, you can use the default instance option; otherwise, use named instances.

Validate the software requirements. Some applications that run on SQL Server need to be on the default instance, so the database’s connection uses only the machine name.

Service accounts

Use domain users (not admin) accounts for Database Engine and Agent. Some people use a domain admin account as a service account, which can cause severe security problems.

On the other hand, we need to ensure that the SQL Server service account has “full control” permissions on data, logs, and backup directories for read and write activities.

Grant perform volume task privilege

This option allows using the database instant file initialization option, which allows faster database creation, reduces SQL Server start time and restoring.

The more obvious performance improvement can be seen in size growth operations on larger databases.

There is a potential security risk to using this feature, so make sure to take adequate mitigation actions.

Post-installation initial setup

Check the best practices after the SQL Server installation. It should help you know that they were not left as defaults that may hurt performance.

Pushing SQL Server to the limits and taking everything it can give requires more in-depth investigation, and those settings may have different values specifically on your environment.

Article by
Mark Varnas
Founder | CEO | SQL Veteran
Hey, I'm Mark, one of the guys behind Red9. I make a living performance tuning SQL Servers and making them more stable.

Leave a Comment

Managed SQL Server services, consulting, and emergency support from expert DBAs to improve performance, predictability, and cost.

Get started with Red9 today.

Contact us

Discover More

SQL Server Health Check SQL Server Migrations & Upgrades SQL Server Performance Tuning SQL Server Security SQL Server Tips

Discover what clients are saying about Red9

Red9 has incredible expertise both in SQL migration and performance tuning.

The biggest benefit has been performance gains and tuning associated with migrating to AWS and a newer version of SQL Server with Always On clustering. Red9 was integral to this process. The deep knowledge of MSSQL and combined experience of Red9 have been a huge asset during a difficult migration. Red9 found inefficient indexes and performance bottlenecks that improved latency by over 400%.

Rich Staats 5 stars
Rich Staats
Cloud Engineer
MetalToad

Always willing to go an extra mile

Working with Red9 DBAs has been a pleasure. They are great team players and have an expert knowledge of SQL Server database administration. And are always willing to go the extra mile to get the project done.
5 stars
Evelyn A.
Sr. Database Administrator

Boosts server health and efficiency for enhanced customer satisfaction

Since adding Red9 to the reporting and DataWarehousing team, Red9 has done a good job coming up to speed on our environments and helping ensure we continue to meet our customer's needs. Red9 has taken ownership of our servers ensuring they remain healthy by monitoring and tuning inefficient queries.
5 stars
Andrew F.
Datawarehousing Manager
See more testimonials