|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 5:02 AM
Points: 403,
Visits: 904
|
|
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...
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Saturday, January 26, 2013 2:59 AM
Points: 199,
Visits: 240
|
|
| 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
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 9:37 AM
Points: 13,381,
Visits: 25,168
|
|
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 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
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 5:02 AM
Points: 403,
Visits: 904
|
|
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...
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, May 16, 2013 4:02 AM
Points: 3,131,
Visits: 1,056
|
|
Use available DMV's it will not harm the perormence of the servers.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 10:56 AM
Points: 6,722,
Visits: 11,763
|
|
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
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|