Database analisys tool

  • Hi,

    I'm planing on doing a database analysis tool to deploy to our customers and determine their problems.

    We have customers complaining on database performance and other things related with the database.

    There are some "cool" tools out there (Red Gate, Idera, ...) but they are some what expensive and I can't use them in our customers.

    So our company decided to build a tool the be deployed with our SW.

    I plan on taking some indicators from the database so we can analyze them on premises.

    Is Red Gate "SQL Server DMV Started Pack" a good "place" to start, to use the DMV queries on the database analysis tool?

    Thanks,

    Pedro

    PS: Like I said on previous posts our customers have poor servers (regular Dual Cores with 4G Ram, Sata disks, no RAID...). That's a BIG problem but our queries aren't quite well written.. So I'm focusing on the database performance problem and not server design/implementation... obviously there will a recommendations document for the database server but we are talking about companies with 4 to 5 people and sometimes the database server is the "boss" laptop..



    If you need to work better, try working less...

  • This is such a broad topic, and most of the DMV's work together to give you a better insight into performance problems. The Microsoft whitepaper "Troubleshooting Performance Problems in SQL Server 2008" is a good source. http://msdn.microsoft.com/en-us/library/dd672789(v=sql.100).aspx

  • In your situation, I think you're right to focus on getting your queries to run as efficiently as possible. You won't be able to dictate hardware, so your maximum efficiency will be from tuning the queries.

    Yeah, that book is an OK introduction. I'd also suggest getting a copy of Louis Davidson & Tim Ford's more detailed book, Performance Tuning with SQL SErver Dynamic Management Views. You can get a free copy of it as a digital copy. You might also want my query tuning book. No free versions. Sorry.

    "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

  • Grant Fritchey (9/25/2012)


    In your situation, I think you're right to focus on getting your queries to run as efficiently as possible. You won't be able to dictate hardware, so your maximum efficiency will be from tuning the queries.

    Unfortunately that's the way to so since hardware is bad and upgrades are out of the question...

    Yeah, that book is an OK introduction. I'd also suggest getting a copy of Louis Davidson & Tim Ford's more detailed book, Performance Tuning with SQL SErver Dynamic Management Views. You can get a free copy of it as a digital copy. You might also want my query tuning book. No free versions. Sorry.

    Already bought your book 😀

    Thanks,

    Pedro



    If you need to work better, try working less...

  • Use available DMV's it will not harm the perormence of the servers.

  • vyas (9/25/2012)


    Use available DMV's it will not harm the perormence of the servers.

    Please be careful handiing out that advice. There are most certainly some DMFs that can cause issues and DMFs are often generically lumped in with DMVs, e.g. sys.dm_db_index_physical_stats and sys.dm_exec_sql_text for lots of queries. Querying seemingly harmless DMVs too often can conceivably also cause issues.

    Using DMOs (Dynamic Management Objects, includes DMVs and DMFs) are definitely preferred over most other methods to inspect system metadata but should still be used thoughtfully, especially on busy systems.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 6 posts - 1 through 5 (of 5 total)

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