<?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>thinkAPI&#187; MySQL</title>
	<atom:link href="http://thinkapi.com/blog/category/systems/mysql-systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkapi.com/blog</link>
	<description>An interface to tech thoughts</description>
	<lastBuildDate>Fri, 06 Apr 2012 09:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Upgrading to MySQL 5.1 GA? Better Wait</title>
		<link>http://thinkapi.com/blog/upgrading-to-mysql-51-ga-better-wait/</link>
		<comments>http://thinkapi.com/blog/upgrading-to-mysql-51-ga-better-wait/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 04:14:07 +0000</pubDate>
		<dc:creator>Sukumar</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[michael widenius]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySQL 5.1 GA]]></category>

		<guid isPermaLink="false">http://thinkapi.com/blog/?p=89</guid>
		<description><![CDATA[MySQL 5.1 General Availability has been released to the public. While many recommend using it and other don&#8217;t, Michael Widenius (Founder and original developer of MySQL) says it might not be worth it yet to upgrade your production databases. If &#8230; <a href="http://thinkapi.com/blog/upgrading-to-mysql-51-ga-better-wait/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://thinkapi.com/blog/how-to-skip-mysql-replication-counter/' rel='bookmark' title='How to skip MySQL replication counter'>How to skip MySQL replication counter</a> <small>There are such times when MySQL replication stops when you...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://dev.mysql.com/downloads/">MySQL</a> 5.1 <a href="http://en.wikipedia.org/wiki/Beta_version#GA">General Availability</a> has been released to the public. While <a href="http://www.pythian.com/blogs/1168/why-you-want-to-switch-to-mysql-51">many recommend using it</a> and <a href="http://www.mysqlperformanceblog.com/2008/06/30/mysql-51-stability/">other don&#8217;t</a>, <a href="http://monty-says.blogspot.com/2008/11/oops-we-did-it-again-mysql-51-released.html">Michael Widenius (Founder and original developer of MySQL) says</a> it might not be worth it yet to upgrade your production databases.<br />
<span id="more-89"></span><br />
If WTF quotes like,</p>
<blockquote><p>
We have changed the release model so that instead of focusing on quality and features our release is now defined by timeliness and features. Quality is not regarded to be that important.
</p></blockquote>
<p>and</p>
<blockquote><p>
Zero critical bugs is impossible: Sure, zero bugs is desirable. And at times, we internally glorify MySQL’s past, with “production level alpha releases”. Those were the days, but those days also had less complex and less interwoven features, and fewer developers to manage.
</p></blockquote>
<p>I wonder where MySQL is headed.</p>
<p>So as Monty says, you are better off not upgrading to version 5.1 if you do not plan to use its new features, atleast not without testing it for a few weeks.</p>
<p>Links:<br />
<a href="http://monty-says.blogspot.com/2008/11/oops-we-did-it-again-mysql-51-released.html">Oops, we did it again (MySQL 5.1 released as GA with crashing bugs)</a><br />
<a href="http://www.pythian.com/blogs/1168/why-you-want-to-switch-to-mysql-51">Why You Want to Switch to MySQL 5.1</a><br />
<a href="http://www.mysqlperformanceblog.com/2008/06/30/mysql-51-stability/">MySQL 5.1 Stability</a></p>
<p>Related posts:<ol>
<li><a href='http://thinkapi.com/blog/how-to-skip-mysql-replication-counter/' rel='bookmark' title='How to skip MySQL replication counter'>How to skip MySQL replication counter</a> <small>There are such times when MySQL replication stops when you...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://thinkapi.com/blog/upgrading-to-mysql-51-ga-better-wait/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to skip MySQL replication counter</title>
		<link>http://thinkapi.com/blog/how-to-skip-mysql-replication-counter/</link>
		<comments>http://thinkapi.com/blog/how-to-skip-mysql-replication-counter/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 17:47:59 +0000</pubDate>
		<dc:creator>Sukumar</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[auto increment]]></category>
		<category><![CDATA[data inconsistency]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://thinkapi.com/blog/?p=9</guid>
		<description><![CDATA[There are such times when MySQL replication stops when you run certain updates on the master and the slave fails. Like for example you may have run a create table or an alter table on the master and further inserts &#8230; <a href="http://thinkapi.com/blog/how-to-skip-mysql-replication-counter/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>There are such times when MySQL replication stops when you run certain updates on the master and the slave fails. Like for example you may have run a create table or an alter table on the master and further inserts but these DDLs get skipped and the inserts into these non-existent tables cause the slave to error out and stop.</p>
<p>A simple way out of this is to run the missing DDLs on the slave and push the counter by a step. This is not recommended as this might cause data inconsistency.<span id="more-9"></span></p>
<p>Use the below sql to skip the counter by 1.</p>
<pre class="brush: sql; title: ; notranslate">
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; START SLAVE;
</pre>
<p>Just remember to use the value 1 for any SQL statement that does not use AUTO_INCREMENT or LAST_INSERT_ID(), otherwise you will need to use the value 2. Statements that use AUTO_INCREMENT or LAST_INSERT_ID() take up 2 events in the binary log.</p>
<p>To skip lots of duplicate errors, you can set this in my.cnf</p>
<pre class="brush: sql; title: ; notranslate">
slave-skip-errors = 1062
</pre>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thinkapi.com/blog/how-to-skip-mysql-replication-counter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

