<?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>Hello.World &#187; MySQL</title>
	<atom:link href="http://matthew.delmarters.com/weblog/category/web-development/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://matthew.delmarters.com</link>
	<description>The Blog of Matthew Delmarter</description>
	<lastBuildDate>Sat, 10 Dec 2011 09:42:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Generating Random Sample Data</title>
		<link>http://matthew.delmarters.com/weblog/generating-random-sample-data/</link>
		<comments>http://matthew.delmarters.com/weblog/generating-random-sample-data/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 10:52:33 +0000</pubDate>
		<dc:creator>Matthew Delmarter</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://matthew.delmarters.com/weblog/generating-random-sample-data/</guid>
		<description><![CDATA[I found a very useful tool today &#8211; the Data Generator. It generates large volumes of random, custom data for use in testing software. The tool is a free download, and can generate data in the following formats: HTML Excel XML CSV SQL There is an online demo available that is limited to 200 results. [...]]]></description>
			<content:encoded><![CDATA[<p>I found a very useful tool today &#8211; the <a href="http://www.benjaminkeen.com/software/data_generator/">Data Generator</a>. It generates large volumes of random, custom data for use in testing software. The tool is a free download, and can generate data in the following formats:</p>
<blockquote>
<ul>
<li>HTML</li>
<li>Excel</li>
<li>XML</li>
<li>CSV</li>
<li>SQL</li>
</ul>
</blockquote>
<p>There is an online demo available that is limited to 200 results. <a href="http://www.benjaminkeen.com/software/data_generator/">Click here</a> to find out more&#8230;<!--d28f225a8a0107210ef11b7e4da6d7c1--><!--5f28e03fe7ad88dd7e25792c4a963cb7--></p>
]]></content:encoded>
			<wfw:commentRss>http://matthew.delmarters.com/weblog/generating-random-sample-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lucene and the Zend Framework</title>
		<link>http://matthew.delmarters.com/weblog/lucene-and-the-zend-framework/</link>
		<comments>http://matthew.delmarters.com/weblog/lucene-and-the-zend-framework/#comments</comments>
		<pubDate>Thu, 27 Apr 2006 07:17:43 +0000</pubDate>
		<dc:creator>Matthew Delmarter</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://matthew.delmarters.com/weblog/lucene-and-the-zend-framework/</guid>
		<description><![CDATA[One of the most talked about features of the Zend Framework is its port of the Apache Lucene project &#8211; a Java-based full-text search-engine framework. The Zend Framework allows PHP developers to use Lucene without requiring additional PHP extensions or Java, or even a database. The theory is that Zend_Search_Lucene overcomes the usual limitations of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://framework.zend.com"><img src="/images/zend_framework.gif" alt="Zend Framework" style="border: 0pt none ; padding-left: 5px;" align="right"></a>One of the most talked about features of the Zend Framework is its port of the Apache Lucene project &#8211; a Java-based full-text search-engine framework. The Zend Framework allows PHP developers to use Lucene without requiring additional PHP extensions or Java, or even a database. </p>
<p>The theory is that Zend_Search_Lucene overcomes the usual limitations of relational databases with features such as:</p>
<blockquote><ul>
<li>Fast indexing</li>
<li>Ranked result sets</li>
<li>A powerful but simple query syntax</li>
<li>The ability to index multiple fields</li>
</ul>
</blockquote>
<p>Lucene is well-known for it's speed. For an example have a look at <a href="http://www.damnfastdotlucene.org/">DamnFastDotLucene</a> &#8211; this demo site tests the performance of a .Net implementation of Lucene on quite a large set of documents:</p>
<blockquote><ul>
<li>9150 text files from the <a href="http://www.gutenberg.org/">Gutenberg Project</a></li>
<li>The total size of indexed documents is 3.5 GB</li>
<li>The index size is 880 MB</li>
<li>The Hardware: Pentium 4 3Ghz 800/1MB Cache, 1 GB DDRII Kingston 533, Western Digital Raptor 80GB</li>
</ul>
</blockquote>
<p>The result &#8211; it takes approximately the same time to search 5 MB of text as it does to search 3.5 GB of text. I was getting speeds less than 0.125 seconds. That is fast.</p>
<p>That was .Net though &#8211; what about the PHP implementation in the Zend Framework?</p>
<p>The reality for PHP developers using the Zend Framework may be a little different from the hype. Some developers are reporting Zend_Search_Lucene as being significantly slower than the queries being run from MySQL or PostGres. Have a look at the following comments in the <a href="http://www.zend.com/lists/fw-general/200604/msg00825.html">Zend Framework Mailing List</a> for details.</p>
<p>To be fair it is only very early days for the Zend Framework and Lucene &#8211; the project is still in early Alpha. However it is already being adopted by the community for live projects.</p>
<p>If you want to learn more about Zend_Search_Lucene I recommend the following links:</p>
<blockquote><ul>
<li><a href="http://www.phpriot.com/d/articles/php/search/zend-search-lucene/index.html">A new Tutorial on using Zend_Search_Lucene</a></li>
<li><a href="http://framework.zend.com/manual/en/zend.search.html">The Zend Framework Manual</a></li>
</ul>
</blockquote>
<p>If you have any experiences with Zend_Search_Lucene that you would like to share I would appreciate hearing about it&#8230;<!--dc146eaa621369973f03121fe75232d1--><!--217528742683b5deada618a9f8ec4f47--><!--902f1b6d162066310520d7f8ca716444--><!--9be7db09470988e8bbcfad71a7c81c0c--><!--dc146eaa621369973f03121fe75232d1--></p>
]]></content:encoded>
			<wfw:commentRss>http://matthew.delmarters.com/weblog/lucene-and-the-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

