Question

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!!

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top