<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MySQL Performance Blog &#187; sphinx</title>
	<atom:link href="http://www.mysqlperformanceblog.com/category/sphinx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Tue, 16 Mar 2010 01:45:51 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sphinx 0.9.9 is finally here.</title>
		<link>http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/</link>
		<comments>http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 19:37:18 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=1813</guid>
		<description><![CDATA[Sphinx 0.9.9 is finally released  to General Availability.     The previous version  0.9.9-rc2 was released back in April so there was quite a gap.  This release fixes about 40 bugs which are mostly rare or insignificant.    Fixing bugs in 0.9.9 was smaller portion of work done [...]]]></description>
			<content:encoded><![CDATA[<p>Sphinx 0.9.9 is finally <a href="http://www.sphinxsearch.com/news/40.html">released </a> to General Availability.     The previous version  0.9.9-rc2 was released <a href="http://www.sphinxsearch.com/news/37.html">back in April</a> so there was quite a gap.  This release fixes about <a href="http://sphinxsearch.com/docs/current.html#rel099">40 bugs</a> which are mostly rare or insignificant.    Fixing bugs in 0.9.9 was smaller portion of work done in Sphinx during last half a year &#8211; 0.9.9-rc2 was quite scale and in fact a lot of users were using 0.9.9-x  branch instead of old  0.9.8 branch in production.  Most of work was done on new features in 0.9.10 as well as live updates.  </p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by peter |
      <a href="http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/&amp;title=Sphinx 0.9.9 is finally here." title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/&amp;title=Sphinx 0.9.9 is finally here." title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/&amp;title=Sphinx 0.9.9 is finally here." title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/&amp;T=Sphinx 0.9.9 is finally here." title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/&amp;title=Sphinx 0.9.9 is finally here." title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.mysqlperformanceblog.com/2009/12/04/sphinx-0-9-9-is-finally-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Talking MySQL to Sphinx</title>
		<link>http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/</link>
		<comments>http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 05:34:27 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=661</guid>
		<description><![CDATA[In the recently released Sphinx version 0.9.9-rc2 there is a support for MySQL wire protocol and SphinxQL - SQL-like language to query Sphinx indexes.   This support is currently in its early preview stage but it is still fun to play with. 
A thing to mention - unlike MySQL Storage Engines, some of which [...]]]></description>
			<content:encoded><![CDATA[<p>In the recently released <a href="http://www.sphinxsearch.com">Sphinx</a> version 0.9.9-rc2 there is a support for MySQL wire protocol and<a href="http://sphinxsearch.com/docs/current.html#sphinxql"> SphinxQL</a> - SQL-like language to query Sphinx indexes.   This support is currently in its early preview stage but it is still fun to play with. </p>
<p>A thing to mention - unlike MySQL Storage Engines, some of which as InfoBright or KickFire take over execution after parsing,   Sphinx  MySQL support has nothing to do with MySQL - it is implementation of the wire protocol from scratch. </p>
<p>For this test I was not interesting in the full text search performance, we already know Sphinx is much faster than MySQL build in full text search. I was rather interested to look performance of other queries, not using Full Text Search.</p>
<div class="igBar"><span id="lsql-9"><a href="#" onclick="javascript:showPlainTxt('sql-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-9">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>root@r27 sp<span style="color:#006600; font-weight:bold;">&#93;</span><span style="color: #808080; font-style: italic;"># mysql --host 127.0.0.1 --port 3307</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Welcome <span style="color: #993333; font-weight: bold;">TO</span> the MySQL monitor.&nbsp; Commands end <span style="color: #993333; font-weight: bold;">WITH</span> ; <span style="color: #993333; font-weight: bold;">OR</span> \g.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Your MySQL connection id <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #cc66cc;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Server version: <span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">9</span>.<span style="color: #cc66cc;color:#800000;">9</span>-id64-rc2 <span style="color:#006600; font-weight:bold;">&#40;</span>r1785<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Type <span style="color: #ff0000;">'help;'</span> <span style="color: #993333; font-weight: bold;">OR</span> <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\h</span>'</span> <span style="color: #993333; font-weight: bold;">FOR</span> help. Type <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\c</span>'</span> <span style="color: #993333; font-weight: bold;">TO</span> clear the buffer. </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>For the tests I used the table from the forum search engine, leaving just bunch of ids in it, removing everything else:</p>
<div class="igBar"><span id="lsql-10"><a href="#" onclick="javascript:showPlainTxt('sql-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-10">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`sptest`</span> <span style="color:#006600; font-weight:bold;">&#40;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #ff0000;">`id`</span> bigint<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">20</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">UNSIGNED</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #ff0000;">`site_id`</span> int<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">UNSIGNED</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #ff0000;">`forum_id`</span> int<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">UNSIGNED</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #ff0000;">`author_id`</span> int<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">10</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">UNSIGNED</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #ff0000;">`num_links`</span> smallint<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">5</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">UNSIGNED</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#41;</span> ENGINE=MyISAM <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET=utf8 </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This table contained some 25 millions of rows and no indexes there defined - Sphinx does not support explicit indexes and it is clear when you can use index for sort  MySQL will be a lot faster. </p>
<p>First - Sorting.  Sphinx is smart doing sorting because it does not try to sort everything but if you ask but rather only number of rows it needs to reach the LIMIT</p>
<p><strong>Sphinx</strong></p>
<div class="igBar"><span id="lsql-11"><a href="#" onclick="javascript:showPlainTxt('sql-11'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-11">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql&gt; <span style="color: #993333; font-weight: bold;">SELECT</span> forum_id <span style="color: #993333; font-weight: bold;">AS</span> f <span style="color: #993333; font-weight: bold;">FROM</span> sptest <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> author_id <span style="color: #993333; font-weight: bold;">DESC</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;color:#800000;">10</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------------+--------+----------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| weight | forum_id |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------------+--------+----------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739362135</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736983</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739362391</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736983</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739338327</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">1024599</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739357527</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">1023063</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739359063</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">1024599</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739305559</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2558807</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739336791</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2558807</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739300695</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; &nbsp;<span style="color: #cc66cc;color:#800000;">208215</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739297111</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736471</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739296855</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736471</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------------+--------+----------+</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #cc66cc;color:#800000;">10</span> rows <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">7</span>.<span style="color: #cc66cc;color:#800000;">92</span> sec<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>MySQL</strong></p>
<div class="igBar"><span id="lsql-12"><a href="#" onclick="javascript:showPlainTxt('sql-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-12">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql&gt; <span style="color: #993333; font-weight: bold;">SELECT</span> forum_id <span style="color: #993333; font-weight: bold;">AS</span> f <span style="color: #993333; font-weight: bold;">FROM</span> sptest <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> author_id <span style="color: #993333; font-weight: bold;">DESC</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;color:#800000;">10</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">---------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| f&nbsp; &nbsp; &nbsp; &nbsp;|</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">---------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736983</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736983</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">1024599</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">1023063</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">1024599</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2558807</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2558807</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">|&nbsp; <span style="color: #cc66cc;color:#800000;">208215</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736471</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736471</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">---------+</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #cc66cc;color:#800000;">10</span> rows <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">17</span>.<span style="color: #cc66cc;color:#800000;">91</span> sec<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>As you can see Sphinx adds couple of extra columns to result set even if you have not asked it.</p>
<p>Another thing to try is GROUP BY -  Sphinx executes GROUP BY in fixed memory which  means results may be approximate - this is geared towards full text search applications when exact number is not important. </p>
<p><strong>Sphinx</strong></p>
<div class="igBar"><span id="lsql-13"><a href="#" onclick="javascript:showPlainTxt('sql-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-13">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql&gt; <span style="color: #993333; font-weight: bold;">SELECT</span> max<span style="color:#006600; font-weight:bold;">&#40;</span>forum_id<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> m,author_id <span style="color: #993333; font-weight: bold;">AS</span> a <span style="color: #993333; font-weight: bold;">FROM</span> sptest <span style="color: #993333; font-weight: bold;">GROUP</span>&nbsp; <span style="color: #993333; font-weight: bold;">BY</span> author_id&nbsp; <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> m <span style="color: #993333; font-weight: bold;">DESC</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;color:#800000;">10</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------------+--------+----------+-----------+---------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| weight | forum_id | author_id | m&nbsp; &nbsp; &nbsp; &nbsp;|</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------------+--------+----------+-----------+---------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739362135</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736983</span> | <span style="color: #cc66cc;color:#800000;">139452247</span> | <span style="color: #cc66cc;color:#800000;">2736983</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6738995287</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">1762135</span> | <span style="color: #cc66cc;color:#800000;">134125655</span> | <span style="color: #cc66cc;color:#800000;">2736727</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739296855</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736471</span> | <span style="color: #cc66cc;color:#800000;">139450967</span> | <span style="color: #cc66cc;color:#800000;">2736471</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739297111</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736471</span> | <span style="color: #cc66cc;color:#800000;">139451223</span> | <span style="color: #cc66cc;color:#800000;">2736471</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739227479</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736215</span> | <span style="color: #cc66cc;color:#800000;">139449687</span> | <span style="color: #cc66cc;color:#800000;">2736215</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739227735</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2736215</span> | <span style="color: #cc66cc;color:#800000;">139449943</span> | <span style="color: #cc66cc;color:#800000;">2736215</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739226967</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2735959</span> | <span style="color: #cc66cc;color:#800000;">139449175</span> | <span style="color: #cc66cc;color:#800000;">2735959</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739227223</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2735959</span> | <span style="color: #cc66cc;color:#800000;">139449431</span> | <span style="color: #cc66cc;color:#800000;">2735959</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739223383</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2735703</span> | <span style="color: #cc66cc;color:#800000;">139448663</span> | <span style="color: #cc66cc;color:#800000;">2735703</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">6739223639</span> |&nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;color:#800000;">1</span> |&nbsp; <span style="color: #cc66cc;color:#800000;">2735703</span> | <span style="color: #cc66cc;color:#800000;">139448919</span> | <span style="color: #cc66cc;color:#800000;">2735703</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------------+--------+----------+-----------+---------+</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #cc66cc;color:#800000;">10</span> rows <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">32</span>.<span style="color: #cc66cc;color:#800000;">47</span> sec<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>MySQL</strong></p>
<div class="igBar"><span id="lsql-14"><a href="#" onclick="javascript:showPlainTxt('sql-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-14">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql&gt; <span style="color: #993333; font-weight: bold;">SELECT</span> max<span style="color:#006600; font-weight:bold;">&#40;</span>forum_id<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> m,author_id <span style="color: #993333; font-weight: bold;">AS</span> a <span style="color: #993333; font-weight: bold;">FROM</span> sptest <span style="color: #993333; font-weight: bold;">GROUP</span>&nbsp; <span style="color: #993333; font-weight: bold;">BY</span> author_id&nbsp; <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> m <span style="color: #993333; font-weight: bold;">DESC</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;color:#800000;">10</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">---------+-----------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| m&nbsp; &nbsp; &nbsp; &nbsp;| a&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">---------+-----------+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736983</span> | <span style="color: #cc66cc;color:#800000;">139452247</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736727</span> | <span style="color: #cc66cc;color:#800000;">134125655</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736471</span> | <span style="color: #cc66cc;color:#800000;">139450967</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736471</span> | <span style="color: #cc66cc;color:#800000;">139451223</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736215</span> | <span style="color: #cc66cc;color:#800000;">139449687</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2736215</span> | <span style="color: #cc66cc;color:#800000;">139449943</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2735959</span> | <span style="color: #cc66cc;color:#800000;">139449175</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2735959</span> | <span style="color: #cc66cc;color:#800000;">139449431</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2735703</span> | <span style="color: #cc66cc;color:#800000;">139448663</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #cc66cc;color:#800000;">2735703</span> | <span style="color: #cc66cc;color:#800000;">139448919</span> |</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">---------+-----------+</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #cc66cc;color:#800000;">10</span> rows <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span> min <span style="color: #cc66cc;color:#800000;">15</span>.<span style="color: #cc66cc;color:#800000;">03</span> sec<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Another optimization I wanted to check is the "early block reject" which should allow to quickly throw away large blocks of attributes if they do not contain any data:</p>
<p><strong>Sphinx</strong></p>
<div class="igBar"><span id="lsql-15"><a href="#" onclick="javascript:showPlainTxt('sql-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-15">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">SELECT</span> max<span style="color:#006600; font-weight:bold;">&#40;</span>author_id<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> a ,forum_id&nbsp; <span style="color: #993333; font-weight: bold;">AS</span> f <span style="color: #993333; font-weight: bold;">FROM</span> sptest <span style="color: #993333; font-weight: bold;">WHERE</span> num_links=<span style="color: #cc66cc;color:#800000;">1</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Empty <span style="color: #993333; font-weight: bold;">SET</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">2</span>.<span style="color: #cc66cc;color:#800000;">70</span> sec<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>MySQL</strong></p>
<div class="igBar"><span id="lsql-16"><a href="#" onclick="javascript:showPlainTxt('sql-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-16">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql&gt; <span style="color: #993333; font-weight: bold;">SELECT</span> max<span style="color:#006600; font-weight:bold;">&#40;</span>author_id<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> a ,forum_id&nbsp; <span style="color: #993333; font-weight: bold;">AS</span> f <span style="color: #993333; font-weight: bold;">FROM</span> sptest <span style="color: #993333; font-weight: bold;">WHERE</span> num_links=<span style="color: #cc66cc;color:#800000;">1</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------+---+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| a&nbsp; &nbsp; | f |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------+---+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">| <span style="color: #993333; font-weight: bold;">NULL</span> | <span style="color: #993333; font-weight: bold;">NULL</span> |</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">+<span style="color: #808080; font-style: italic;">------+---+</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #cc66cc;color:#800000;">1</span> row <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #cc66cc;color:#800000;">4</span>.<span style="color: #cc66cc;color:#800000;">29</span> sec<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>I would expect much larger lead in this case because of this optimization but it seems to be broken in the tested version.</p>
<p>Also note the result set difference -  Sphinx finds no rows and creates no groups while MySQL reports NULL group as a result. </p>
<p>SphinxQL at this point is rather picky - it wants AS for all the expressions, it also could not parse some queries for no reason though I expect these things to be polished in the near future.  The good thing is the query execution maps to the same execution engine which is quite stable which means it will likely stabilize soon.</p>
<p>Sphinx also offers number of extensions to the SQL which are helpful for search use cases - <strong>WITHIN GROUP ORDER BY </strong> allows to select which item to pick within given group (like if you want to show most recent document, or most relevant)  and others.</p>
<p>You might find using Native API more feature full at this point but  command line language is very helpful for testing and debugging purposes as well as so Sphinx can be accessed from languages which doe not have native Sphinx API implemented  -  everyone seems to be able to talk to MySQL these days. </p>
<p>Now on performance - for given class of queries Sphinx was just 1.5-2 times faster.  I honestly hoped for more, though I carefully picked queries which are reasonably good for both of them - it is easy to "break" MySQL making it to do group by with on disk temporary table which will make Sphinx much faster and few others.     </p>
<p>The true gain from Sphinx however comes from its ability to scale almost linearly using multiple CPU cores and multiple nodes in the system.  The raw scan speed was almost 10 millions of rows per second (this is on rather outdated CPU I used for testing) -   this means you should be able to scan through 100M+ rows on the single modern 8 core server which is quite a number. </p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by peter |
      <a href="http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/#comments">4 comments</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/&amp;title=Talking MySQL to Sphinx" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/&amp;title=Talking MySQL to Sphinx" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/&amp;title=Talking MySQL to Sphinx" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/&amp;T=Talking MySQL to Sphinx" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/&amp;title=Talking MySQL to Sphinx" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.mysqlperformanceblog.com/2009/04/19/talking-mysql-to-sphinx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Percona&#8217;s patches spread to a wider audience</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/</link>
		<comments>http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 03:50:00 +0000</pubDate>
		<dc:creator>Baron Schwartz</dc:creator>
				<category><![CDATA[community]]></category>
		<category><![CDATA[pbxt]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=476</guid>
		<description><![CDATA[Percona's patches are now available to a wider audience via OurDelta, a community effort to provide  builds with features (Percona patches, Google patches, etc) and storage engines (PBXT, Sphinx, etc) that aren't in the main MySQL server.  Arjen Lentz is really the brainchild behind this.  Kudos Arjen!
What does this mean for the Percona [...]]]></description>
			<content:encoded><![CDATA[<p>Percona's patches are now available to a wider audience via <a href="http://ourdelta.org/">OurDelta</a>, a community effort to provide  builds with features (<a href="http://www.percona.com/percona-lab.html">Percona patches</a>, <a href="http://code.google.com/p/google-mysql-tools/">Google patches</a>, etc) and storage engines (<a href="http://www.primebase.org/">PBXT</a>, <a href="http://www.sphinxsearch.com/">Sphinx</a>, etc) that aren't in the main MySQL server.  <a href="http://arjen-lentz.livejournal.com/135346.html">Arjen Lentz is really the brainchild</a> behind this.  Kudos Arjen!</p>
<p>What does this mean for the Percona patches? Well, now you can get them in more places.  But it doesn't change our own commitment to keep innovating in ways our customers (and we ourselves) find useful.  We're still building our own builds and hosting the downloads from our own website; it's important that you can get a build that you know authoritatively came from us and was built by us.  The Percona patches and builds represent our best judgment about what's the state of the art in the MySQL server for real-world usage, and we have no plans to change that.</p>
<p>The OurDelta project is a great way to get pre-built versions of the server with cutting-edge features like PBXT.  This should help lower the barriers to trying these things out.  The Percona builds and patches are conservative (except for the -highperf builds, which are experimental) and won't include such features, at least not for the foreseeable future.  We're really glad that others are adopting our patches and blending them with features our builds won't include.  OurDelta also has a build infrastructure behind it, which is quite a nice thing to have, and we expect that bug reports and patches may even flow "upstream" back to us.</p>
<p>Of course the project is very new, and many changes will undoubtedly happen in the weeks and months to come.  But you have to start somewhere, and it's really nice to see such an initiative.</p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by Baron Schwartz |
      <a href="http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/#comments">7 comments</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/&amp;title=Percona&#8217;s patches spread to a wider audience" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/&amp;title=Percona&#8217;s patches spread to a wider audience" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/&amp;title=Percona&#8217;s patches spread to a wider audience" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/&amp;T=Percona&#8217;s patches spread to a wider audience" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/&amp;title=Percona&#8217;s patches spread to a wider audience" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.mysqlperformanceblog.com/2008/10/13/perconas-patches-spread-to-a-wider-audience/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
