14

I am writing a web site that uses SQL Azure heavily. However, it is painfully slow.

Is there an easy way to profile the live SQL Azure instance?

Nick Chammas
  • 14,810
  • 17
  • 76
  • 124
user380719
  • 243
  • 2
  • 5

7 Answers7

8

I have used the MVC Mini Profiler as part of an application to profile SQL Azure but depending on your application it may or may not work. What kind of tasks are you doing that need profiling?

Craig
  • 216
  • 1
  • 6
3

It won't help you trace existing calls from your website but you can still obtain interesting performance metrics by running SQL commands from this tool directly: Enzo SQL Baseline. It offers options to load commands in parallel to simulate load and helps you compare performance metrics over multiple runs.

2

There is now a "light version" available, where you can analyze your queries and see resource consumption.

Link

Glorfindel
  • 2,205
  • 5
  • 19
  • 26
Rikard
  • 143
  • 7
1

In addition to the other answers, you can also use the CSS SQL Azure Diagnostics tool* from Microsoft support to run some queries on the server that show you missing indexes and popular queries.

* It appears this tool is no longer available (11 January 2015)

Paul White
  • 94,921
  • 30
  • 437
  • 687
Matthew Steeples
  • 693
  • 1
  • 7
  • 16
0

The most close to SQL profiler, that I found to be able work with azure sql, is sql-workload-profiler However note, that it’s a beta version of a tool, created by a single person, and it is not too convinient to use

Glorfindel
  • 2,205
  • 5
  • 19
  • 26
0

Another option is to use the Cotega Monitoring service. It has the ability to monitor and notify you of issues and also the ability to perform deep database analysis on your database to help diagnose issues such as why your database is running so painfully slow.

Disclaimer: I work on this service.

Cotega
  • 11
  • 2
-2

You can't run Profiler against SQL Azure.

mrdenny
  • 27,106
  • 2
  • 44
  • 81