Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
T-SQL (SS2K8)
»
"Record" SQL Server workload...
"Record" SQL Server workload...
Rate Topic
Display Mode
Topic Options
Author
Message
PiMané
PiMané
Posted Tuesday, September 18, 2012 5:11 AM
SSC-Addicted
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 5:02 AM
Points: 403,
Visits: 904
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
Grant Fritchey
Grant Fritchey
Posted Tuesday, September 18, 2012 5:48 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 12:19 PM
Points: 13,371,
Visits: 25,144
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 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1360708
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.