Challenge 03 - Queries Behavior

< Previous Challenge - Home - Next Challenge >

Pre-requisites

Introduction

In this challenge you will troubleshoot queries in stuck, not running queries and will optimize query executions.

You can find all the files for this challnge into the Zip file provided by your coach at this path: ./Resources/Challenge-03/

Description

Learning objectives:

Concurrent writings

An user is complaining his workload (an UPDATE T-SQL command) is running forever, never completes. It usually takes few minutes to get completed. Investigate why the transaction is not completing in the expected timeframe and fix it

Concurrency limits

Before run this excercise please scale your DWH to DW100c using the Azure Portal.

Many users are complaining their reporting queries (very simple SELECT T-SQL command) are not completing in the expected period. Investigate why their SELECT commands are taking so long and fix it.

Result set cache and Materialized Views

Users are running the same reporting query multiple time per day and each execution take a while. Tables are well distributed, query is using compatible join and is not wasting resources. Is there a way to speed-up the execution ?

Success Criteria

Learning Resources