<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Random Thoughts &#187; mysql</title>
	<atom:link href="http://alexlurthu.wordpress.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexlurthu.wordpress.com</link>
	<description>Straight from the heart!</description>
	<lastBuildDate>Fri, 04 Dec 2009 20:54:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='alexlurthu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2e18259658cdc132622f409f5fd659ca?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Random Thoughts &#187; mysql</title>
		<link>http://alexlurthu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alexlurthu.wordpress.com/osd.xml" title="Random Thoughts" />
		<item>
		<title>mysql and disk space anomoloy</title>
		<link>http://alexlurthu.wordpress.com/2008/12/29/mysql-and-disk-space-anomoloy/</link>
		<comments>http://alexlurthu.wordpress.com/2008/12/29/mysql-and-disk-space-anomoloy/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 06:05:43 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[disk]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=56</guid>
		<description><![CDATA[Every hour, we saw the diskspace on our root partition go up from 45 %  to 90 % and come back to 45 %. Initially thought mysql was processing some temp tables and in the next hour we kept watching the temp location. In terms of files / diskspace usage using &#8220;du / ls&#8221; nothing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=56&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Every hour, we saw the diskspace on our root partition go up from 45 %  to 90 % and come back to 45 %. Initially thought mysql was processing some temp tables and in the next hour we kept watching the temp location. In terms of files / diskspace usage using &#8220;du / ls&#8221; nothing changed. But lsof provided an interesting output.</p>
<p>Output 1 :</p>
<p>mysqld    31719   mysql    6u   REG                8,1          0   149240 /var/tmp/ibOLLuRa (deleted)<br />
mysqld    31719   mysql    7u   REG                8,1        102   149243 /var/tmp/ibNuSvI9 (deleted)<br />
mysqld    31719   mysql    8u   REG                8,1          0   149245 /var/tmp/ibqq2wz8 (deleted)<br />
mysqld    31719   mysql    9u   REG                8,1          0   149255 /var/tmp/ibVN66Rh (deleted)<br />
mysqld    31719   mysql   13u   REG                8,1          0   149256 /var/tmp/ibslSJJA (deleted)<br />
mysqld    31719   mysql   15u  unix 0&#215;000001085e445680            19044143 /tmp/mysql.sock<br />
mysqld    31719   mysql   18u   REG                8,1 1128267776   146656 /var/tmp/MLHbDVOq (deleted)</p>
<p>Output 2 :</p>
<p>mysqld    31719   mysql    6u   REG                8,1          0   149240 /var/tmp/ibOLLuRa (deleted)<br />
mysqld    31719   mysql    7u   REG                8,1        102   149243 /var/tmp/ibNuSvI9 (deleted)<br />
mysqld    31719   mysql    8u   REG                8,1          0   149245 /var/tmp/ibqq2wz8 (deleted)<br />
mysqld    31719   mysql    9u   REG                8,1          0   149255 /var/tmp/ibVN66Rh (deleted)<br />
mysqld    31719   mysql   13u   REG                8,1          0   149256 /var/tmp/ibslSJJA (deleted)<br />
mysqld    31719   mysql   15u  unix 0&#215;000001085e445680            19044143 /tmp/mysql.sock<br />
mysqld    31719   mysql   18u   REG                8,1 1396703232   146656 /var/tmp/MLHbDVOq (deleted)</p>
<p>The size occupied by a file marked deleted kept increasing <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Strange but it seems to be happening on every dataload. The size change in this file corroborates perfectly with the space usage reported by &#8220;df&#8221; but not with &#8220;du&#8221;.</p>
<p>We are setting up the tmp location to a filesystem with more space for now before we investigate further.</p>
 Tagged: disk, mysql <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=56&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/12/29/mysql-and-disk-space-anomoloy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>moving from mysql 5.0 to 5.1</title>
		<link>http://alexlurthu.wordpress.com/2008/08/12/moving-from-mysql-50-to-51/</link>
		<comments>http://alexlurthu.wordpress.com/2008/08/12/moving-from-mysql-50-to-51/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 04:46:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=51</guid>
		<description><![CDATA[Problem Statement : 386 GB of MySQL 5.0 Compressed MyISAM tables (Merge engine used)  need to be migrated to MySQL 5.1 Compressed/Partitioned tables. Also we had to add a few new columns and change the datatype of few existing columns.
Initial plan : Setup the MySQL 5.1 database with the schema with partitioning to which the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=51&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Problem Statement :</strong> 386 GB of MySQL 5.0 Compressed MyISAM tables (Merge engine used)  need to be migrated to MySQL 5.1 Compressed/Partitioned tables. Also we had to add a few new columns and change the datatype of few existing columns.</p>
<p><strong>Initial plan :</strong> Setup the MySQL 5.1 database with the schema with partitioning to which the data needs to be migrated and then run scripts to copy the .MYD ,.MYI and .frm files to the 5.1 database. Disable the keys using &#8220;<em>Alter table &lt;&gt; disable keys</em>&#8220;. Then migrate the data using the insert into newtable select * from old table. Then to compress the tables run myisampack and myisamchk.</p>
<p>As per plan we started the migration process. The plan worked perfectly though a bit on the slower side for most of the tables. For few of the tables, the import process kept dragging on and on. It was well past a week since the import was started and the system was writing at a speed of 1 &#8211; 1.5 Gig per hour on to disk. There was heavy contention on the key buffer and the behavior was seen on tables which had keys greater than the available buffer and those with where clause in the &#8220;<em>insert into &lt;&gt; select from</em>&#8221; statments. Then we started getting constrained on time, was looking for avenues to optimize this whole process.</p>
<p>After quite a number of tests and trials , we found the following 2 methods to be faster.</p>
<p><strong>Method 1:</strong></p>
<p>1. Dump the data using <em>select into outfile</em> in the <strong>primary key order</strong> in <strong>small chunks</strong> if the table is huge.</p>
<p>2. <em>Alter table &lt;&gt; disable keys.</em></p>
<p>3. Load the data using load data infile statment.</p>
<p>4. Run <em>myisampack</em> and <em>myisamchk </em>to compress the data and rebuild the indexes respectively.</p>
<p>Method 1, was faster than the original plan.</p>
<p><strong>Method 2 :</strong></p>
<p>Method 2 would be a slight variation of method 1. Instead of &#8220;<em>Alter table &lt;&gt; disable keys</em>&#8220;, do the following :</p>
<p>For each partition on the  table run <em><strong>myisamchk  &#8211;keys-used=0 -rq &lt;tablename&gt;</strong></em>. This would disable all keys on the table. Now proceed from step 3.</p>
<p>With the second approach we, got a throughput of 1GB data written to disk in 1 minute approx. Will follow up this post with more detailed commands and steps. Whew ! What a week it has been so far !</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/51/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/51/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=51&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/08/12/moving-from-mysql-50-to-51/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Data inconsistency issues &#8211; binlog to rescue</title>
		<link>http://alexlurthu.wordpress.com/2008/05/13/data-inconsistency-issues-binlog-to-rescue/</link>
		<comments>http://alexlurthu.wordpress.com/2008/05/13/data-inconsistency-issues-binlog-to-rescue/#comments</comments>
		<pubDate>Tue, 13 May 2008 16:04:49 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[binlog]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=45</guid>
		<description><![CDATA[One of our peer group developers contacted me today stating that they were inserting a value of 10 in one of the columns in their tables. But after the insert, when they query the table they were getting the value as 0.
Logged into the box to check what was happening. Luckily binlog was turned on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=45&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of our peer group developers contacted me today stating that they were inserting a value of 10 in one of the columns in their tables. But after the insert, when they query the table they were getting the value as 0.</p>
<p>Logged into the box to check what was happening. Luckily binlog was turned on that mysql instance. Ran the mysqlbinlog utility on the current binlog and greped for the particular primary key value.</p>
<p>It listed an insert statement and an update statement. There was the culprit, the value of 10 was getting inserted but soon the application was following it up with an update to value 0. Yeah it is always not the database <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=45&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/05/13/data-inconsistency-issues-binlog-to-rescue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Relay binlog corrupt</title>
		<link>http://alexlurthu.wordpress.com/2008/04/25/relay-binlog-corrupt/</link>
		<comments>http://alexlurthu.wordpress.com/2008/04/25/relay-binlog-corrupt/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 17:13:26 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[corruption]]></category>
		<category><![CDATA[relay log]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[slave]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=43</guid>
		<description><![CDATA[The slave failed with the error that the relay binlog is corrupt. It had copied close to 12 binlogs from the master and they were yet to be applied. Unfortunately those binlogs have been purged on the master. Now to sync up cleanly we might have to refresh data from the master which can be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=43&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">The slave failed with the error that the relay binlog is corrupt. It had copied close to 12 binlogs from the master and they were yet to be applied. Unfortunately those binlogs have been purged on the master. Now to sync up cleanly we might have to refresh data from the master which can be costly since it was a 290 GB database. We had the option of shutting down the server. We thought we can try our luck with a crazy hack. We shutdown the server. Tried reading the binlog using mysqlbinlog utility from the corrupt position. It failed as expected. Then we tried reading from the next immediate position and it went through fine. Now we had a proof that our hack might work. We opened the relay-log.info and incremented the second row by a value of one. Then we started the server. Boom, the slave started running and we were saved from a great pain of resyncing the slave.</p>
<p>PS : We might have missed one transaction in this hack, but that was ok for our use case.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=43&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/04/25/relay-binlog-corrupt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding dynamic swap file</title>
		<link>http://alexlurthu.wordpress.com/2008/04/07/adding-dynamic-swap-file/</link>
		<comments>http://alexlurthu.wordpress.com/2008/04/07/adding-dynamic-swap-file/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 17:08:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OOM]]></category>
		<category><![CDATA[swap]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=41</guid>
		<description><![CDATA[All production servers are normally installed using kickstart files. Unfortunately, the ks file had a bug that it didnt add a swap partition if there was only one logical or physical disk.
Once the database was setup without swap, the configuration was sized such that all processes fit into memory. But we started seeing OOM killing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=41&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">All production servers are normally installed using kickstart files. Unfortunately, the ks file had a bug that it didnt add a swap partition if there was only one logical or physical disk.</p>
<p style="text-align:justify;">Once the database was setup without swap, the configuration was sized such that all processes fit into memory. But we started seeing OOM killing processes due to lack of memory. Though under normal conditions we had 1-2 GB of free memory.</p>
<p style="text-align:justify;">Unfortunately, OOM at times picked to kill mysql. We were running 500GB+ database having myisam tables. We ended up having to repair the tables every time OOM felt like killing mysqld <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . Adding a swap device might help us fix the issue, but for that we might have to resize the logical/physical partitions, which wasn&#8217;t cool. Then this following idea popped up, create a file, format it as swap and add it as swap device dynamically and also add it /etc/fstab to survive reboot.</p>
<p style="text-align:justify;"><span style="color:#333399;">dd if=/dev/zero of=/swapfile bs=1024 count=16777216 # creates a 16GB file<br />
mkswap /var/swap/swapfile  # create swap fs on the file<br />
swapon /var/swap/swapfile   # add the swap file as swap device<br />
/var/swap/swapfile              swap                    swap    defaults        0 0 #add this entry in /etc/fstab</span></p>
<p style="text-align:justify;">You are all set for swapping. No more process kills by OOM. But of course adding swap device doesn&#8217;t save you from leaking process which also eat up the swap space and die with the swap allocation failed error. Any better ideas are welcome. I can try it and post an update.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=41&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/04/07/adding-dynamic-swap-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweaks for loading data into MySQL</title>
		<link>http://alexlurthu.wordpress.com/2008/04/04/tweaks-for-loading-data-into-mysql/</link>
		<comments>http://alexlurthu.wordpress.com/2008/04/04/tweaks-for-loading-data-into-mysql/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 07:22:16 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[data load]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=40</guid>
		<description><![CDATA[Whenever we load data into a MySQL database the following settings can help speed up the import.

innodb_flush_log_at_trx_commit = 0

innodb_support_xa = 0

skip-innodb_doublewrite

If the host doesn&#8217;t have slaves, and if log-bin is turned on, turning it off using set SQL_LOG_BIN=0 or commenting out log-bin in my.cnf  will also help.  Similarly disabling other logs like update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=40&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="justify">Whenever we load data into a MySQL database the following settings can help speed up the import.</p>
<div align="justify"></div>
<p align="justify"><font color="#333399">innodb_flush_log_at_trx_commit = 0</font></p>
<div align="justify"></div>
<p align="justify"><font color="#333399">innodb_support_xa = 0</font></p>
<div align="justify"></div>
<p align="justify"><font color="#333399">skip-innodb_doublewrite</font></p>
<div align="justify"></div>
<p align="justify">If the host doesn&#8217;t have slaves, and if log-bin is turned on, turning it off using <font color="#333399">s</font><font color="#333399">et SQL_LOG_BIN=0</font> or commenting out log-bin in my.cnf  will also help.  Similarly disabling other logs like update log, query log, slow query log will also help.</p>
<div align="justify"></div>
<p align="justify">These parameters help in reducing frequent syncs to disk, but ofcourse we need to have the memory configurations tuned optimally. Also disabling key checks can help speed up the import.</p>
<p align="justify"><font color="#333399">SET UNIQUE_CHECKS=0; SET FOREIGN_KEY_CHECKS=0;</font> at the top of the import will do the trick.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=40&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/04/04/tweaks-for-loading-data-into-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Skip duplicate entries in a slave</title>
		<link>http://alexlurthu.wordpress.com/2008/04/04/skip-duplicate-entries-in-a-slave/</link>
		<comments>http://alexlurthu.wordpress.com/2008/04/04/skip-duplicate-entries-in-a-slave/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 06:53:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[corruption]]></category>
		<category><![CDATA[relay log]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/2008/04/04/skip-duplicate-entries-in-a-slave/</guid>
		<description><![CDATA[The following one liner helps to sync a slave that is facing duplicate entry errors.

 while [ 1 ]; do if [ `mysql -u root -e "show slave status \G;" &#124; grep "Duplicate entry" &#124; wc -l` -eq 1 ] ; then mysql -u root -e &#8220;stop slave; set global sql_slave_skip_counter=1; start slave;&#8221;; fi; sleep [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=39&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="justify">The following one liner helps to sync a slave that is facing duplicate entry errors.<br />
<b><br />
</b><font color="#333399"> while [ 1 ]; do if [ `mysql -u root -e "show slave status \G;" | grep "Duplicate entry" | wc -l` -eq 1 ] ; then mysql -u root -e &#8220;stop slave; set global sql_slave_skip_counter=1; start slave;&#8221;; fi; sleep 1;  mysql -u root -e &#8220;show slave status\G&#8221;; done</font></p>
<div align="justify"></div>
<p align="justify">One of our peer groups had a badly configured setup where they were writing to 2 masters. Both the masters were setup with circular replication. They were also having a corrupted binlog event in the relay log.</p>
<p>To fix that, had to run a change master command to use the logfile listed under relay_master_log_file and the log position under exec_master_log_pos in show slave status.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=39&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/04/04/skip-duplicate-entries-in-a-slave/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>building mysql proxy ! not my cup of tea</title>
		<link>http://alexlurthu.wordpress.com/2008/04/03/building-mysql-proxy-not-my-cup-of-tea/</link>
		<comments>http://alexlurthu.wordpress.com/2008/04/03/building-mysql-proxy-not-my-cup-of-tea/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 14:21:09 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[mysql-proxy]]></category>
		<category><![CDATA[rhel]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=38</guid>
		<description><![CDATA[On a RHEL 4u4 host run the following wget commands to get the necessary source code.
wget http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.6/glib-2.6.4.tar.bz2
wget http://dev.mysql.com/get/Downloads/MySQL-Proxy/mysql-proxy-0.6.1.tar.gz/from/http://mysql.easynet.be/
wget http://luaforge.net/frs/download.php/3132/lua5_1_3_Sources.tar.gz
wget http://monkey.org/~provos/libevent-1.3d.tar.gz
Untar all the files and run configure , make and make install.
To tackle few of the hiccups that you might encounter, you can install glib on to a location that is different from your root.
For Glib [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=38&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="justify">On a RHEL 4u4 host run the following wget commands to get the necessary source code.</p>
<p align="justify"><span style="color:#333399;">wget http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.6/glib-2.6.4.tar.bz2</span></p>
<p align="justify"><span style="color:#333399;">wget http://dev.mysql.com/get/Downloads/MySQL-Proxy/mysql-proxy-0.6.1.tar.gz/from/http://mysql.easynet.be/</span></p>
<p align="justify"><span style="color:#333399;">wget http://luaforge.net/frs/download.php/3132/lua5_1_3_Sources.tar.gz</span></p>
<p align="justify"><span style="color:#333399;">wget http://monkey.org/~provos/libevent-1.3d.tar.gz</span></p>
<p align="justify">Untar all the files and run configure , make and make install.</p>
<p align="justify">To tackle few of the hiccups that you might encounter, you can install glib on to a location that is different from your root.</p>
<p align="justify">For Glib 2.6, compile to some dir under your home dir</p>
<p align="justify"><span style="color:#333399;">./configure &#8211;prefix=/home/user/mysql-proxy/lib/</span></p>
<p align="justify">Similarly edit the makefile of lua5.1 to change the install location. You can have this installed in the main root too. If so, by default it will go under /usr/local/lib.</p>
<p align="justify">After compiling and installing libevent (this can go into the main root), glib and lua set the following environment variables to tell the mysql-proxy configure script where to look for glib and lua.</p>
<p align="justify"><span style="color:#333399;">export LUA_CFLAGS=&#8221;-I/home/user/mysql-proxy/lib/include/&#8221;<br />
export LUA_LIBS=&#8221;-L/home/user/mysql-proxy/lib/lib&#8221;</span></p>
<div><span style="color:#333399;">export GLIB_CFLAGS = &#8220;-I/home/user/mysql-proxy/lib/include/glib-2.0 -I/home/user/mysql-proxy/lib/lib/glib-2.0/include/&#8221;</span></div>
<div><span style="color:#333399;">export GLIB_LIBS=&#8221;-L/home/user/mysql-proxy/lib/ -lglib-2.0 -ldl -llua5.1 -lm&#8221;</span></div>
<p align="justify">Also you need to install the mysql_config binary into a location in your path variable.</p>
<p align="justify">If you  had installed lua on the main root you might have to export the LD_LIBRARY_PATH.</p>
<p align="justify"><span style="color:#333399;"> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib</span></p>
<p align="justify">Really got to know the internals of building 32 bit and 64 bit software. Sucked at building this pkg but learnt some stuff. Cool stuff with mysql-proxy coming up.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=38&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/04/03/building-mysql-proxy-not-my-cup-of-tea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Comment/Uncomment all cron tab entries in one shot</title>
		<link>http://alexlurthu.wordpress.com/2008/03/30/commentuncomment-all-cron-tab-entries-in-one-shot/</link>
		<comments>http://alexlurthu.wordpress.com/2008/03/30/commentuncomment-all-cron-tab-entries-in-one-shot/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 12:40:34 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=36</guid>
		<description><![CDATA[Comment :
sed -i -e &#8216;/^[ ]*[0-9]/ s/^/#/g&#8217;  /var/spool/cron/mysql
Uncomment :
sed -i -e &#8216;/^#*[ ]*[0-9]/ s/^#*[ ]*//g&#8217; /var/spool/cron/mysql
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=36&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Comment :</p>
<p><strong>sed -i -e &#8216;/^[ ]*[0-9]/ s/^/#/g&#8217;  /var/spool/cron/mysql</strong></p>
<p>Uncomment :</p>
<p><strong>sed -i -e &#8216;/^#*[ ]*[0-9]/ s/^#*[ ]*//g&#8217; /var/spool/cron/mysql</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=36&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/03/30/commentuncomment-all-cron-tab-entries-in-one-shot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
		<item>
		<title>Commenting and Uncommeting read-only in my.cnf across multiple servers</title>
		<link>http://alexlurthu.wordpress.com/2008/03/30/commenting-and-uncommeting-read-only-in-mycnf-across-multiple-servers/</link>
		<comments>http://alexlurthu.wordpress.com/2008/03/30/commenting-and-uncommeting-read-only-in-mycnf-across-multiple-servers/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 12:19:51 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[commet]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[my.cnf]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://alexlurthu.wordpress.com/?p=35</guid>
		<description><![CDATA[For commenting the following snippets can be used :
sudo perl -i -p -e &#8216; print &#8220;#&#8221; . &#8221; &#8221; if !/^#/ &#38;&#38; /^read-only/; &#8216; /etc/my.cnf
sed -i -e &#8217;s/^read-only/#&#38;/g&#8217; cnf
For uncommenting you can use the following snippets :
sudo perl -i -p -e &#8217;s/^#// if /^#/ &#38;&#38; /read-only/; &#8216; /etc/my.cnf

sed -i -e &#8217;s/^#*read-only/read-only/g&#8217; cnf
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=35&subd=alexlurthu&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For commenting the following snippets can be used :</p>
<p><strong>sudo perl -i -p -e &#8216; print &#8220;#&#8221; . &#8221; &#8221; if !/^#/ &amp;&amp; /^read-only/; &#8216; /etc/my.cnf</strong></p>
<p><strong>sed -i -e &#8217;s/^read-only/#&amp;/g&#8217; cnf</strong></p>
<p>For uncommenting you can use the following snippets :</p>
<p><strong>sudo perl -i -p -e &#8217;s/^#// if /^#/ &amp;&amp; /read-only/; &#8216; /etc/my.cnf</strong><br />
<strong></strong></p>
<p><strong>sed -i -e &#8217;s/^#*read-only/read-only/g&#8217; cnf</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexlurthu.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexlurthu.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexlurthu.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexlurthu.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexlurthu.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexlurthu.wordpress.com&blog=1310241&post=35&subd=alexlurthu&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexlurthu.wordpress.com/2008/03/30/commenting-and-uncommeting-read-only-in-mycnf-across-multiple-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9200ed713840b8e3b58d6c565a85e946?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Alex</media:title>
		</media:content>
	</item>
	</channel>
</rss>