<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: tcpdump</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/tcpdump.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-08-19T11:42:28+00:00</updated><author><name>Simon Willison</name></author><entry><title>How to find un-indexed queries in MySQL, without using the log</title><link href="https://simonwillison.net/2009/Aug/19/tcpdump/#atom-tag" rel="alternate"/><published>2009-08-19T11:42:28+00:00</published><updated>2009-08-19T11:42:28+00:00</updated><id>https://simonwillison.net/2009/Aug/19/tcpdump/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.xaprb.com/blog/2009/08/18/how-to-find-un-indexed-queries-in-mysql-without-using-the-log/"&gt;How to find un-indexed queries in MySQL, without using the log&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Use tcpdump(!) to sniff the MySQL protocol and dump out queries that had the “no index used” bit set.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://delicious.com/mattb/maatkit+mysql+query+sql+tcpdump"&gt;Matt Biddulph&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/mysql"&gt;mysql&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/profiling"&gt;profiling&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/tcpdump"&gt;tcpdump&lt;/a&gt;&lt;/p&gt;



</summary><category term="mysql"/><category term="profiling"/><category term="tcpdump"/></entry></feed>