"Record" SQL Server workload...

  • 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...

  • 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

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply