Premium Content

Access "The most dangerous game: Hunting down bad SQL query performance"

Don Jones, Contributor Published: 13 Oct 2012

Once you’ve fine-tuned your databases’ indexes, maxed out your hardware and gotten the fastest disks money can buy, you’ll hit a limit on how much performance you can squeeze from your SQL Server machines. At some point you have to focus on fine-tuning the applications rather than beefing up SQL Server itself. That takes you into the somewhat tricky world of query analysis, where you try to identify database queries that -- because of the way they are written --aren’t performing as well as they could be. SQL Server comes with an excellent tool, SQL Profiler, that’s designed to capture traces. Think of these as similar to a network packet capture: You’re actually capturing the raw queries being fed to SQL Server, along with information about their execution time. Using this raw data, you can spot bad SQL query performance, and then offer advice to the application developers on how to improve them. Actually improving performance does depend on the ability to change the applications themselves, so this isn’t often an option for prepackaged applications on which... Access >>>

Access TechTarget
Premium Content for Free.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

What's Inside


More Premium Content Accessible For Free

  • Developments in SQL Server BI point to focus on self-service, users

    Today, business analytics is largely focused on self-service software and pushing business intelligence capabilities down to the end user. In this ...

  • Understanding SQL Server virtualization

    These days, virtual servers are often seen as time- and money-saving efforts for businesses. When deciding if going virtual is the right thing to do,...

  • Understanding Microsoft SQL Server business intelligence options

    Microsoft has made a great effort to turn SQL Server into a viable enterprise database platform, and part of that has been boosting its business ...