Sign up ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

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?

share|improve this question

migrated from Jan 20 '12 at 17:41

This question came from our site for professional and enthusiast programmers.

You will want to follow this link for information on how to monitor performance of SQL Azure: – Igorek Jan 20 '12 at 16:32
Probably, you should replicate the condition in a testing environment that you control. There you can optimize the app. – usr Jul 10 at 9:40

6 Answers 6

up vote 7 down vote accepted

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?

share|improve this answer

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.

share|improve this answer

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)

share|improve this answer
The tool can't no longer be found. – user272735 Jan 10 at 11:03

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

share|improve this answer

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.

share|improve this answer

You can't run Profiler against SQL Azure.

share|improve this answer
He's asking about a way to profile a SQL Azure instance. It doesn't necessarily have to be with Profiler. – Nick Chammas Jan 21 '12 at 1:11

protected by Paul White Sep 18 at 13:41

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.