<?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: Refactoring MySQL Applications: Part 1</title>
	<atom:link href="http://www.pythian.com/news/1437/sql-refactoring-the-mysql-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/1437/sql-refactoring-the-mysql-way/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Log Buffer #131: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/1437/sql-refactoring-the-mysql-way/#comment-329751</link>
		<dc:creator>Log Buffer #131: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 16 Jan 2009 17:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/1437/sql-refactoring-the-mysql-way#comment-329751</guid>
		<description>[...] &#171; Refactoring MySQL Applications: Part 1 [...]</description>
		<content:encoded><![CDATA[<p>[...] &laquo; Refactoring MySQL Applications: Part 1 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicklas Westerlund</title>
		<link>http://www.pythian.com/news/1437/sql-refactoring-the-mysql-way/#comment-329660</link>
		<dc:creator>Nicklas Westerlund</dc:creator>
		<pubDate>Fri, 16 Jan 2009 14:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/1437/sql-refactoring-the-mysql-way#comment-329660</guid>
		<description>@Dado, yes, it would, as in the index (manufacturer,category) doing a search on WHERE manufacturer=&#039;Apple&#039; would form a prefix of the index, and it could be utilized. (however, not WHERE category=&#039;Electronics&#039;)

Depends on what you want to find, but in theory you should be able to catch queries not using indexes (although there may be valid reasons for not doing so) by using log-queries-not-using-indexes</description>
		<content:encoded><![CDATA[<p>@Dado, yes, it would, as in the index (manufacturer,category) doing a search on WHERE manufacturer=&#8217;Apple&#8217; would form a prefix of the index, and it could be utilized. (however, not WHERE category=&#8217;Electronics&#8217;)</p>
<p>Depends on what you want to find, but in theory you should be able to catch queries not using indexes (although there may be valid reasons for not doing so) by using log-queries-not-using-indexes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dado</title>
		<link>http://www.pythian.com/news/1437/sql-refactoring-the-mysql-way/#comment-329539</link>
		<dc:creator>Dado</dc:creator>
		<pubDate>Fri, 16 Jan 2009 09:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/1437/sql-refactoring-the-mysql-way#comment-329539</guid>
		<description>Hi, just to check: if I rewrote WHERE category=&#039;Electronics&#039; AND manufacturer=&#039;Apple&#039;) to WHERE manufacturer=&#039;Apple&#039; AND category=&#039;Electronics&#039;) and redid the index as (manufacturer, category), it&#039;d work with WHERE manufacturer=&#039;Apple&#039; too?

Is there a way to automagically find these kind of stuff from the logs?</description>
		<content:encoded><![CDATA[<p>Hi, just to check: if I rewrote WHERE category=&#8217;Electronics&#8217; AND manufacturer=&#8217;Apple&#8217;) to WHERE manufacturer=&#8217;Apple&#8217; AND category=&#8217;Electronics&#8217;) and redid the index as (manufacturer, category), it&#8217;d work with WHERE manufacturer=&#8217;Apple&#8217; too?</p>
<p>Is there a way to automagically find these kind of stuff from the logs?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

