Use Extended Events to Identify Performance Problems

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

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.

Additional Resources

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.

To accomplish your goal, the following should be completed:

  • Create and run an extended events session to capture wait statistic information.
  • Generate a test workload against the acweb database.
  • Evaluate the wait statistic information to identify performance problems.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?