- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

Use Extended Events to Identify Performance Problems
In this hands-on lab scenario, your organization, Awesome Company, is reducing its on-site footprint and moving as many databases as possible to the cloud. As part of this effort, you have already migrated one of your primary sales databases, `acweb`, to Azure SQL Database. As the utilization of this database increases, you need to be able to identify and resolve performance problems. To help you gain a thorough understanding of what is going on in the database, you'll be using extended events to capture information about it. Performing the actions of this lab will help you become familiar with using extended events to troubleshoot Azure SQL Database.

Lab Info
Table of Contents
-
Challenge
Start an Extended Events Session
Create and run an extended events session to capture wait statistic information. This should allow you to both see what types of waits individual queries are having and to aggregate overall wait type information as well.
-
Challenge
Generate a Test Workload
Use a script or other means to generate test traffic against the database. If you'd like an example, one is provided in the lab guide.
-
Challenge
Identify Performance Problems
Use the wait statistic information gathered by the extended events session to identify performance problems.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.