<?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>iridani.com &#187; mysql</title>
	<atom:link href="http://iridani.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://iridani.com</link>
	<description>dev://james.stansfield</description>
	<lastBuildDate>Mon, 26 Jul 2010 21:52:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Attending #phptek &#8211; Which Talks&#8230;</title>
		<link>http://iridani.com/2009/04/attending-phptek-which-talks/</link>
		<comments>http://iridani.com/2009/04/attending-phptek-which-talks/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 14:34:28 +0000</pubDate>
		<dc:creator>jqs</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[ria]]></category>
		<category><![CDATA[scalable]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tokens]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://iridani.com/?p=70</guid>
		<description><![CDATA[<img src="http://iridani.com/wp-content/icons/125X75/wordpress.png" width="125" height="75" alt="" title="Blog" /><br/>(See what I did there? When this tweets, the hashtag will be picked up!)
So in less than a month I&#8217;ll be attending php&#124;tek1 adn its high time I decided what talks I want to be seen at. Erm, I mean, which I want to attend&#8230;
Tutorial Day:
I&#8217;m torn bewteen MVC Development in PHP and Web Application [...]]]></description>
			<content:encoded><![CDATA[<img src="http://iridani.com/wp-content/icons/125X75/wordpress.png" width="125" height="75" alt="" title="Blog" /><br/><p>(See what I did there? When this tweets, the hashtag will be picked up!)</p>
<p>So in less than a month I&#8217;ll be attending php|tek<sup><a id="fn-70-1" href="#foot-70-1" onclick="new Effect.ScrollTo('foot-70-1', {offset:-140}); return false">1</a></sup> adn its high time I decided what talks I want to be seen at. Erm, I mean, which I want to attend&#8230;</p>
<p>Tutorial Day:</p>
<p>I&#8217;m torn bewteen <a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/ts1/0">MVC Development in PHP</a> and <a href="http://tek.mtacon.com/c/schedule/talk/ts1/1">Web Application Security Boot Camp</a> but in the end I think MVC will win out&#8230;</p>
<p><a href="http://tek.mtacon.com/c/schedule/talk/ts2/1">PHP Code Review</a> wins in the afternoon. And that evening I&#8217;ll be busy attending the ChiSox/Twins game.</p>
<p>Day 1:</p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d1s2/2">Highly Scalable Web Applications</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d1s3/0">Streaming XML</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d1s4/0">MySQL Server Performance Tuning</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d1s5/0">SPL to the Rescue</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d1s6/0">Getting it Done</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d1s7/0">Security Centered Design</a></p>
<p>Day 2:</p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d2s1/1">Exceptional PHP</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d2s2/0">Desktop RIAs with PHP, HTML and JS in AIR</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d2s3/1">Seven Steps to Better OOP Code</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d2s4/1">PHP Database Application Architecture for Scalability and Availability</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d2s5/1">Bend SQL to Your Will With EXPLAIN</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d2s6/1">Taking it All Offline with SQL Anywhere</a></p>
<p>Day 3:</p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d3s1/2">Out with Regex, In with Tokens</a></p>
<p><a class="talk clueTip" href="http://tek.mtacon.com/c/schedule/talk/d3s2/0">Working with Microformats</a></p>
<p>It looks like I&#8217;m going to have a lot of fun and will learn a lot. I&#8217;m hoping some of my methods get justified as well by my peers.</p>
<p>Kudos again to my work for sending me on this trip, and to my wife for allowing it!<br />

<div class='footnotes'><span class="footnote" id="foot-70-1">1.&nbsp;<a href="http://tek.mtacon.com">php|tek</a><a href="#fn-70-1" onclick="new Effect.ScrollTo('fn-70-1', {offset:-140}); return false">&#8617;</a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://iridani.com/2009/04/attending-phptek-which-talks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mySQL large text comparisson performance&#8230; best practices?</title>
		<link>http://stackoverflow.com/questions/511560/mysql-large-text-comparisson-performance-best-practices</link>
		<comments>http://stackoverflow.com/questions/511560/mysql-large-text-comparisson-performance-best-practices#comments</comments>
		<pubDate>Wed, 04 Feb 2009 14:23:17 +0000</pubDate>
		<dc:creator>jqs</dc:creator>
				<category><![CDATA[stack overflow]]></category>
		<category><![CDATA[indexing]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://stackoverflow.com/questions/511560/mysql-large-text-comparisson-performance-best-practices</guid>
		<description><![CDATA[<img src="http://iridani.com/wp-content/icons/125X75/stackoverflow.png" width="125" height="75" alt="" title="stack overflow" /><br/>
            <p>I've got a largish (~1.5M records) table that holds text strings of varying length for which I run queries against looking for matches:</p>

<pre><code>CREATE TABLE IF NOT EXISTS `shingles` (
  `id` bigint(20) NOT NULL auto_increment,
  `TS` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `shingle` varchar(255) NOT NULL,
  `count` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `shingle` (`shingle`,`TS`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1571668;
</code></pre>

<p>My problem is that I need while I'm doing comparisons against this table I am constantly adding and removing data from it, so maintaining indexes is hard.</p>

<p>I'm looking for best practices for managing the inserts in a timely fashion while maximizing the throughput for the selects. This process is running 24hrs a day and needs to be as quick as possible.</p>

<p>Any help is appreciated.</p>

<p><strong>Update:</strong> <em>To clarify, I'm doing one to one matches on the 'shingle' column, not text searches within it.</em></p>

        ]]></description>
			<content:encoded><![CDATA[
            <p>I've got a largish (~1.5M records) table that holds text strings of varying length for which I run queries against looking for matches:</p>

<pre><code>CREATE TABLE IF NOT EXISTS `shingles` (
  `id` bigint(20) NOT NULL auto_increment,
  `TS` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `shingle` varchar(255) NOT NULL,
  `count` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `shingle` (`shingle`,`TS`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1571668;
</code></pre>

<p>My problem is that I need while I'm doing comparisons against this table I am constantly adding and removing data from it, so maintaining indexes is hard.</p>

<p>I'm looking for best practices for managing the inserts in a timely fashion while maximizing the throughput for the selects. This process is running 24hrs a day and needs to be as quick as possible.</p>

<p>Any help is appreciated.</p>

<p><strong>Update:</strong> <em>To clarify, I'm doing one to one matches on the 'shingle' column, not text searches within it.</em></p>

        ]]></content:encoded>
			<wfw:commentRss>http://stackoverflow.com/questions/511560/mysql-large-text-comparisson-performance-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
