SQL Server - SQL2005 Performance Tool

Asked By mwebb
03-Feb-10 01:24 PM
We are having performance issues with our software vendor concerning the
performance of an application that uses SQL2005. The vendor thinks the poor
performance is due to our servers/network we do not agree. We think it is
their database design.

What tools are available to measure the performance of an SQL 2005 database?
--
SQL Server 2005
(1)
Disk
(1)
Database
(1)
Windows
(1)
Hiten
(1)
Microseconds
(1)
Dang
(1)
RPC
(1)
  Erland Sommarskog replied to mwebb
04-Feb-10 07:38 PM
mwebb (mwebb@) writes:

Database consultants. :-)

The prime tool I would use is to set up a server side trace that captures
the events RPC:Completed and SQL:BatchCompleted, and let it run for a
while, and then analyse the trace to see what queries takes the most
execution time, and then study these queries with regards to index and
other things that can affect performance.



--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
  Dan Guzman replied to mwebb
07-Feb-10 01:33 PM
I agree with Erland that SQL Trace is an invaluable tool to identify problem
queries.  I usually specify a Duration filter (e.g. 1000000 microseconds) to
identify the most problematic long-running queries and tackle those first
with query and index tuning.  There is also the case where you might have a
large number of short-running queries that use a lot of resources in
aggregate, due to execution and/or compilation costs.  An unfiltered trace
can help identify those.

Also, consider that poor application performance can be due to an issue on
the database server, application server or client.  Use Windows Performance
Monitor to measure utilization (CPU, disk, memory) on each.

--
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/
  Geoff N. Hiten replied to mwebb
09-Feb-10 09:15 AM
http://www.idera.com/Products/Free-Tools/SQL-check/

This is more of a quick "vital signs" check than a full database workup.
Still, it is a good starting point, especially for a free product.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP
help
MSDE on Windows 2003 R2 box, new DL385G6 - Install Fails during SQL Services SQL Server I have been finding that I am having trouble with the Crystal Reports Server XI installation failing when it is dealing with SQL. So, as a thought and in case there was something wrong with my SQL portion of the isntall. I thought ok, I will try installing the actual MSDE application direct from Microsoft. So, I downloaded the MSDE for SQL 2000 (which is msde2000a.exe), set my switches and off to the races. It quit
SQL Express: Failed Reinstall SQL Server Dear Setup Experts: I am trying to reinstall SQL Express after playing with it some. I uninstalled it, and now, it refuses to reinstall in the face. Any ideas what this log file means and how I can get SQL Express installed? I really do not want to have to reinstall my whole system. * ** ** Start of Log File Overall summary: Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup. Exit code (Decimal): -2068643839 Exit facility code: 1203
SQL Express Installation Failed on New Windows XP Home SQL Server Hello: I installed SQL Express on my system. I uninstalled and reinstalled it a few times. Eventually, this hosed my system to some extent, and SQL Express would not install. I just had Windows XP Home reinstalled. I have reinstalled the software that I use. Yesterday, I tried to install SQL Express for the first time on this new installation. It failed with Wait on the
SQLServer Error: 802, 701, 733 SQL Server SQL Server 2008 on Win2008 R2 x64 Server, 8 GB RAM - running virtualized on VMWare ES-Server Every sunday some maintainance jobs are scheduled to run. Rebuilding indices and statistics fail with There is insufficient memory available in the buffer pool. [SQLSTATE 42000] (SaveAllSchedules) After this the server is no longer reachable: [298] SQLServer Error: 773, SQL Server Network Interfaces: The requested security package does not exist [SQLSTATE 08001] . . . [298] SQLServer Error
Moving database decrease performance SQL Server I have moved database from one SQL2000 on win server to another standalone computer. Both SQL serverers have the same settings, same service pack, enterprise editions. On both SQL servers are tempDB, log file and mdf file on separate disks. The new SQL server is on better computer, has more RAM, beter disks, stronger proc, but all queries