5-sqlserver-2012ic-m5-postinstall-slides
5-sqlserver-2012ic-m5-postinstall-slides
Confirm that you have the right version of the Service Pack
x64 or x86, Express Edition or not, full slipstream or not
Read the release notes
SQL Server 2012 SP1 http://bit.ly/RIDRDb
Schedule the installation during a maintenance window
You can use a rolling upgrade technique to minimize downtime
You must have some high-availability technology in place to do this
Don’t have any pending reboots of Windows
The setup program will prevent the installation from running if you do
Don’t have SQL Server Management Studio running locally
This decreases the chance of the Service Pack requiring a reboot
Obtaining SQL Server 2012 Cumulative Updates
After you have identified the correct CU, you must request it from
Microsoft from a link in a KB article
Example: SQL Server 2012 SP1 CU1
http://bit.ly/UTClRI
You must select the correct CU package
This can be somewhat confusing
You also must request the CU package from the web page
You give Microsoft a valid e-mail address and they will send you a link
You must enter a CAPTCHA code
These are sometimes difficult to read
You will receive an e-mail with a download link in a few minutes
You must download and extract the CU installation file
Requesting a Cumulative Update
Installing a SQL Server 2012 Cumulative Update
After you have extracted the CU setup file you can run it
Schedule the installation during a maintenance window
You can use a rolling upgrade technique to minimize downtime
You must have some HA technology in place to do this
Don’t have any pending reboots of Windows
The setup program will prevent the installation from running if you do
Don’t have SQL Server Management Studio running locally
This decreases the chance of the CU requiring a reboot
Cumulative Updates usually install faster than Service Packs
Installation time depends on your hardware and what SQL Server features
are installed on the instance
SQL Server 2012 Cumulative Update
Install the Latest Service Pack and CU
For a brand new instance, you should install the latest SQL Server
2012 Service Pack and Cumulative Update
You do not want to be running the original RTM build in Production
It will require some sort of outage to install them after you are in
Production
It is better to install them now and fully test your applications before you go
into Production
You may not be able to easily install those updates later
Setting Instance Properties with SSMS
SQL Server 2012 only has one very small tempdb data file
It is a common best practice to create additional data files to reduce
the chances of seeing PAGELATCH contention in tempdb
These additional data files can all be on the same LUN
They should all be the same initial size
Good starting point for number of tempdb data files
Less than eight processor cores: # of files = # of cores
More than eight processor cores: Start with eight tempdb data files
Monitor tempdb for signs of PAGELATCH contention
Add more tempdb files in groups of four if contention exists
See this Jonathan Keheyias article for more details
http://bit.ly/NKs6c3
Summary