Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

"Record" SQL Server workload... Expand / Collapse
Author
Message
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: Yesterday @ 10:05 AM
Points: 524, Visits: 1,159
Hi,

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.

Thanks,
Pedro




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


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 10:51 AM
Points: 14,201, Visits: 28,530
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
and
SQL Server Execution Plans

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

Add to briefcase

Permissions Expand / Collapse