<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Poor man&#8217;s query logging</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 07 Nov 2009 18:35:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/comment-page-1/#comment-374193</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sun, 09 Nov 2008 03:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=525#comment-374193</guid>
		<description>Thanks Charles,

Some software is indeed working well even if it was not updated for a while :)</description>
		<content:encoded><![CDATA[<p>Thanks Charles,</p>
<p>Some software is indeed working well even if it was not updated for a while <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles-Antoine</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/comment-page-1/#comment-374187</link>
		<dc:creator>Charles-Antoine</dc:creator>
		<pubDate>Sun, 09 Nov 2008 02:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=525#comment-374187</guid>
		<description>This perl script is working fine Peter, I am using it since some time because of the reasons exposed in the post (production environment with general query logging disabled, no downtime possible, poor granularity with the slow query logging on unpatched MySQL servers). You just need libpcap, and some Perl modules (installable easily via the CPAN).

By the way, thank you a lot for all the information you are sharing on this blog!</description>
		<content:encoded><![CDATA[<p>This perl script is working fine Peter, I am using it since some time because of the reasons exposed in the post (production environment with general query logging disabled, no downtime possible, poor granularity with the slow query logging on unpatched MySQL servers). You just need libpcap, and some Perl modules (installable easily via the CPAN).</p>
<p>By the way, thank you a lot for all the information you are sharing on this blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/comment-page-1/#comment-373361</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 07 Nov 2008 18:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=525#comment-373361</guid>
		<description>There is also MySQL Query Sniffer. Have anyone tried it ?
http://iank.org/querysniffer/

It looks like it was not updated for a while.</description>
		<content:encoded><![CDATA[<p>There is also MySQL Query Sniffer. Have anyone tried it ?<br />
<a href="http://iank.org/querysniffer/" rel="nofollow">http://iank.org/querysniffer/</a></p>
<p>It looks like it was not updated for a while.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Haase</title>
		<link>http://www.mysqlperformanceblog.com/2008/11/07/poor-mans-query-logging/comment-page-1/#comment-373310</link>
		<dc:creator>Gregory Haase</dc:creator>
		<pubDate>Fri, 07 Nov 2008 15:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=525#comment-373310</guid>
		<description>These issues are generally solved in 5.1. 

I have a little sql script that I run on occasion when I want to see what&#039;s going on:

TRUNCATE TABLE `mysql`.`general_log`;
SET GLOBAL log_output = &#039;TABLE&#039;;
SET GLOBAL general_log = &#039;ON&#039;;
SELECT SLEEP(60);
SET GLOBAL general_log = &#039;OFF&#039;;

If I need to narrow or widen the logging session, I just adjust the sleep time accordingly. I prefer to log to table instead of file because I don&#039;t have to have file access on the server to see the log. I can just log into a mysql shell with a SUPER account and search the log with standard SQL syntax.</description>
		<content:encoded><![CDATA[<p>These issues are generally solved in 5.1. </p>
<p>I have a little sql script that I run on occasion when I want to see what&#8217;s going on:</p>
<p>TRUNCATE TABLE `mysql`.`general_log`;<br />
SET GLOBAL log_output = &#8216;TABLE&#8217;;<br />
SET GLOBAL general_log = &#8216;ON&#8217;;<br />
SELECT SLEEP(60);<br />
SET GLOBAL general_log = &#8216;OFF&#8217;;</p>
<p>If I need to narrow or widen the logging session, I just adjust the sleep time accordingly. I prefer to log to table instead of file because I don&#8217;t have to have file access on the server to see the log. I can just log into a mysql shell with a SUPER account and search the log with standard SQL syntax.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
