Comments on: How to find un-indexed queries in MySQL, without using the log http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: raja http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/#comment-19364 raja Thu, 12 May 2011 04:34:54 +0000 http://www.xaprb.com/blog/?p=1227#comment-19364 Hi,

I have executed the commands exactly as said above and tcpdump is waiting for capture.

As the above forum, it specified as cancal mk-query-digest. Not sure how to do that, but did by pressing control-c

Able to see the below message post that.. can any one help me out please

# Caught SIGINT.
0 packets captured
0 packets received by filter
0 packets dropped by kernel

The command I tried is —
————

tcpdump -i lo port 3306 -s 65535 -x -n -q -tttt | mk-query-digest –type tcpdump –filter ‘($event->{No_index_used} eq “Yes” || $event->{No_good_index_used} eq “Yes”)’ –group-by tables –report-format profile

————

Thanks
Raaj

]]>
By: rahulheinaa http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/#comment-17707 rahulheinaa Fri, 29 Jan 2010 17:31:14 +0000 http://www.xaprb.com/blog/?p=1227#comment-17707 I have been trying to figure out, is there a limit on the size of the index that can be created on a table. Can there be a case where queries lost performance because of the index sizes actually were so heavy that it took a huge time to load. I made a test table with 500K rows and 22 columns with mostly float variables and the interesting thing I noticed that index creation took more and more time for index creation.

I don’t think this is the right place to put this query up, but I hope you could reply to it personally or even here. Thank you.

]]>
By: MySQL Tip… Finding Un Indexed Queries : Beyond Search http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/#comment-16916 MySQL Tip… Finding Un Indexed Queries : Beyond Search Tue, 01 Sep 2009 11:05:55 +0000 http://www.xaprb.com/blog/?p=1227#comment-16916 [...] We have a big project in progress using MySQL. We located a useful tip at Xaprb.com article “How to Find Un-Indexed Queries in MySQL, without Using the Log.” The write up includes a useful script. A happy quack to the Percona wizard who shared this [...]

]]>
By: links for 2009-08-31 « toonz http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/#comment-16907 links for 2009-08-31 « toonz Mon, 31 Aug 2009 23:13:37 +0000 http://www.xaprb.com/blog/?p=1227#comment-16907 [...] How to find un-indexed queries in MySQL, without using the log at Xaprb (tags: mysql database debug) [...]

]]>
By: Xaprb http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/#comment-16868 Xaprb Sun, 30 Aug 2009 01:37:48 +0000 http://www.xaprb.com/blog/?p=1227#comment-16868 I haven’t looked into sniffing queries from Unix sockets, and I don’t know whether it’s even possible.

]]>