Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

"Record" SQL Server workload... Expand / Collapse
Posted Tuesday, September 18, 2012 5:11 AM

Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, November 18, 2016 2:29 PM
Points: 592, Visits: 1,330

Sorry if this is a dumb question...
Our application is installed on several customers, some of which have performance problems.
Is it possible to "record" the SQL Server workload on the customer, probably with SQL Server Profiler?!, get a database backup from the customer, restore the database backup on our servers and run that workload?
I need to analyse performance issues and apply tuning operations on the database and the best way to do so is to do it on premises.
Only after measuring the tuning operations can I apply them on the customer's database.


If you need to work better, try working less...
Post #1360688
Posted Tuesday, September 18, 2012 5:48 AM



Group: General Forum Members
Last Login: Today @ 6:22 AM
Points: 17,171, Visits: 32,132
Yes, you can do exactly that. Understand though, that prior to SQL Server 2012, the playback mechanism of Profiler is extremely primitive, single-threaded, and can only be run from a single machine.

When you capture the information, make sure you're scripting out that capture using T-SQL, not running the Profiler GUI against the production machine.

Get a copy of Brad's Sure Guide to SQL Server Profiler. It's a free download. That'll give you the basics for what you need to do.

"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server Query Performance Tuning
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1360708
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse