Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Database analisys tool Expand / Collapse
Author
Message
Posted Tuesday, September 25, 2012 3:20 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, December 19, 2014 10:10 AM
Points: 526, Visits: 1,163
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...
Post #1363874
Posted Tuesday, September 25, 2012 3:57 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-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
Post #1363895
Posted Tuesday, September 25, 2012 4:39 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Monday, December 22, 2014 3:26 AM
Points: 14,205, Visits: 28,536
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
Post #1363928
Posted Tuesday, September 25, 2012 4:43 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, December 19, 2014 10:10 AM
Points: 526, Visits: 1,163
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...
Post #1363932
Posted Tuesday, September 25, 2012 4:45 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 7:16 AM
Points: 3,931, Visits: 1,102
Use available DMV's it will not harm the perormence of the servers.


Post #1363936
Posted Tuesday, September 25, 2012 8:14 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:04 PM
Points: 7,141, Visits: 12,768
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
Post #1364068
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse