Here is another popular lab from Hands-On-Lab library: SQL Server Basic Query Tuning Techniques.
Many administrators address performance problems solely by tuning system-level server performance: for example, memory size, type of file system, number and type of processors, and so on. However, many performance problems cannot be resolved this way. They are better addressed by also analyzing the application queries and updates that the application submits to the database, and how these queries and updates interact with the data contained in the database and the database schema. In the first exercise of this lab we will look into different query and table hints available in SQL Server. In the second exercise we will look into ad hoc query and how to deal with them and in the third and last exercise we will look into parameter sniffing and how to deal with it.
Exercise 1: Query & Table Hints
Exercise 2: Ad Hoc Query Optimization
Exercise 3: Parameter Sniffing Optimization
SQLMaestros Hands-On-Labs enables the practical way of learning. Each lab document consists of multiple exercises and each exercise consists of multiple tasks. Apart from step-by-step instructions, the HOL document contains images, explanations, observations, notes, tips & tricks to ensure a great learning experience. With each lab, you can practice a specific concept step-by-step. With our HOL documents, you will get hands-on with hundreds of topics in SQL Server & Microsoft Data Platform. Learn More.