<?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>DotBlag.Com &#187; MySQL</title>
	<atom:link href="http://www.dotblag.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotblag.com</link>
	<description>Technical Trials And Errors</description>
	<lastBuildDate>Fri, 14 Oct 2011 23:07:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>MySQL FullText Search</title>
		<link>http://www.dotblag.com/2010/08/23/mysql-fulltext-search/</link>
		<comments>http://www.dotblag.com/2010/08/23/mysql-fulltext-search/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 22:48:58 +0000</pubDate>
		<dc:creator>SysOp</dc:creator>
				<category><![CDATA[.Fail]]></category>
		<category><![CDATA[.Splat]]></category>
		<category><![CDATA[.WTFMate?]]></category>
		<category><![CDATA[fts]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.dotblag.com/?p=215</guid>
		<description><![CDATA[Don&#8217;t ever use MySQL FTS if you can help it. And if you do use it, in 5.1.x atleast DO NOT EVER USE IN BOOLEAN MODE. It&#8217;s like driving with the parking brakes on, seriously, it slows MySQL down that much. Why? No idea. But, like I said, you shouldn&#8217;t be using FTS anyway.]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t ever use MySQL FTS if you can help it.  And if you do use it, in 5.1.x atleast DO NOT EVER USE IN BOOLEAN MODE.  It&#8217;s like driving with the parking brakes on, seriously, it slows MySQL down that much.  Why?  No idea.  But, like I said, you shouldn&#8217;t be using FTS anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotblag.com/2010/08/23/mysql-fulltext-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wall of shame?</title>
		<link>http://www.dotblag.com/2009/06/20/wall-of-shame/</link>
		<comments>http://www.dotblag.com/2009/06/20/wall-of-shame/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 23:57:27 +0000</pubDate>
		<dc:creator>SysOp</dc:creator>
				<category><![CDATA[.Fail]]></category>
		<category><![CDATA[Speed.Demon]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.dotblag.com/?p=105</guid>
		<description><![CDATA[I am torn between showing the whole thing as a wall of shame item or just ranting about an anonymous (open source) user management product. It&#8217;s not alone in this sin, I&#8217;ve seen the same problem in *expensive* database driven shopping cart and user management apps. What problem is this that I am speaking of? [...]]]></description>
			<content:encoded><![CDATA[<p>I am torn between showing the whole thing as a wall of shame item or just ranting about an anonymous (open source) user management product.  It&#8217;s not alone in this sin, I&#8217;ve seen the same problem in *expensive* database driven shopping cart and user management apps.</p>
<p>What problem is this that I am speaking of? LACK OF INDEXES.  Seriously.  If you have a sessions table, and you&#8217;re searching for old sessions to expire YOU NEED AN INDEX ON THE TIME COLUMN.</p>
<p>Another fun one is seeing &#8216;delete&#8217; functions that don&#8217;t take care of the extra data referencing the main table, this is largely MySQL&#8217;s fault for not having foreign key support until lately.  It really is the database&#8217; job to deal with that.</p>
<p>1.8 million sessions occupying about 500MB or so, bringing a server down to it&#8217;s knees.  CREATE INDEX sessions_last_active_idx ON sessions (last_active); and suddenly everything is 100% kosher.</p>
<p>What I am saying is, either find someone who has a damned clue to design your DB Schema INCLUDING INDEXES with you, and review your EVERY SELECT, DELETE AND UPDATE, or learn how to do it yourself, or don&#8217;t write the app.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotblag.com/2009/06/20/wall-of-shame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.560 seconds -->

