SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database analisys tool


Database analisys tool

Author
Message
PiMané
PiMané
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1016 Visits: 1334
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...
sroos
sroos
SSC Veteran
SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)SSC Veteran (211 reputation)

Group: General Forum Members
Points: 211 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
Grant Fritchey
Grant Fritchey
SSC-Dedicated
SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)

Group: General Forum Members
Points: 39107 Visits: 32616
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 Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
PiMané
PiMané
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1016 Visits: 1334
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 :-D

Thanks,
Pedro



If you need to work better, try working less...
Chandra Sekhara Vyas Dhara
Chandra Sekhara Vyas Dhara
SSCarpal Tunnel
SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)

Group: General Forum Members
Points: 4201 Visits: 1149
Use available DMV's it will not harm the perormence of the servers.



Orlando Colamatteo
Orlando Colamatteo
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14817 Visits: 14396
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search