List:General Discussion« Previous MessageNext Message »
From:Andrew Braithwaite Date:February 24 2010 5:52pm
Subject:RE: Index analyser
View as plain text  
You can use this to get rid of unused indicies too.

http://www.mysqlperformanceblog.com/2009/01/15/dropping-unused-indexes/

Requires the percona extensions to be loaded.

Cheers,

Andrew


-----Original Message-----
From: Andrew Braithwaite [mailto:andrew.braithwaite@stripped] 
Sent: 24 February 2010 17:44
To: Cantwell, Bryan; mysql@stripped
Subject: RE: Index analyser

There's also the Query Analyser
http://www.mysql.com/products/enterprise/query.html which is part of
MySQL Enterprise - I've never used it and it is very expensive but I
believe it will advise on optimal indicies.

Cheers,

Andrew

-----Original Message-----
From: Cantwell, Bryan [mailto:bcantwell@stripped] 
Sent: 23 February 2010 23:09
To: mysql@stripped
Subject: RE: Index analyser


Ya, that one is helpful... just trying to land on a solution like I've
seen in other DB's that have index-advisor that listens and creates what
it thinks is the perfect indexes ... but thx...

________________________________________
From: mos [mos99@stripped]
Sent: Tuesday, February 23, 2010 4:33 PM
To: mysql@stripped
Subject: Re: Index analyser

At 03:28 PM 2/23/2010, you wrote:
>Is there still no such thing anywhere for Mysql as an index analyser?
>Many others have such a thing that will sit and monitor db activity
over a
>poeriod of time and suggest the exact indexes on each table based on
what
>it has seen to improve performance....
>Anyone got that for MySQL?

You can look at www.maatkit.org/doc/mk-query-digest.html


DESCRIPTION

This tool was formerly known as mk-log-parser.

mk-query-digest is a framework for doing things with events from a query
source such as the slow query log or PROCESSLIST. By default it acts as
a
very sophisticated log analysis tool. You can group and sort queries in
many different ways simultaneously and find the most expensive queries,
or
create a timeline of queries in the log, for example. It can also do a
"query review," which means to save a sample of each type of query into
a
MySQL table so you can easily see whether you've reviewed and analyzed a
query before. The benefit of this is that you can keep track of changes
to
your server's queries and avoid repeated work. You can also save other
information with the queries, such as comments, issue numbers in your
ticketing system, and so on.


Mike


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=1
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=1

------------------------------------------------------------------------
-----------------------------------------------------------------
LOVEFiLM UK Limited is a company registered in England and Wales. 
Registered Number: 06528297. 
Registered Office: No.9, 6 Portal Way, London W3 6RU, United Kingdom.

This e-mail is confidential to the ordinary user of the e-mail address
to which it was addressed. If you have received it in error, 
please delete it from your system and notify the sender immediately.

This email message has been delivered safely and archived online by
Mimecast.
For more information please visit http://www.mimecast.co.uk 
------------------------------------------------------------------------
-----------------------------------------------------------------
Thread
Index analyserBryan Cantwell23 Feb
  • Re: Index analysermos23 Feb
    • RE: Index analyserBryan Cantwell24 Feb
      • RE: Index analyserAndrew Braithwaite24 Feb
        • RE: Index analyserAndrew Braithwaite24 Feb
      • Re: Index analyserBaron Schwartz25 Feb
Re: Index analyseredberg23 Feb