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.
Successfully complete this lab by achieving the following learning objectives:
- 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.
- 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.
- Identify Performance Problems
Use the wait statistic information gathered by the extended events session to identify performance problems.