views:

109

answers:

2

Hi everyone,

I'm wondering if there's some sort of runtime mechanism that would observe the queries that are running against my database server; record how many queries of each "type" are running; look at the performance of these queries; then, based on this runtime data, suggest what indexes need to be added/removed.

I'm working against MySQL at the moment; if you know of similar tools for other DB vendors, I'd be interested to know, too. Thanks!!

+1  A: 

I'd suggest giving Jet Profiler a try. The free version is a bit limited but i still found it useful. It will do most of what you have asked, but you may struggle to find a tool that will suggest indexes for you though.

Jarod Elliott
Just gave it a shot... Looks very promising! Thanks!
Alex
+1  A: 

how about the New MySQL Query Profiler (since 5.0.37)? google has some more.

ax