<?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>Weez.com &#187; Percona</title>
	<atom:link href="http://www.weez.com/tag/percona/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weez.com</link>
	<description>Solving everyday practical LAMP problems... one at a time</description>
	<lastBuildDate>Sat, 11 Feb 2012 03:24:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Announcing Percona Server 5.1.61-13.2</title>
		<link>http://www.weez.com/2012/02/announcing-percona-server-5-1-61-13-2/</link>
		<comments>http://www.weez.com/2012/02/announcing-percona-server-5-1-61-13-2/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 23:07:33 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[5.1.6113.2]]></category>
		<category><![CDATA[Announcing]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/02/announcing-percona-server-5-1-61-13-2/</guid>
		<description><![CDATA[Percona is glad to announce the release of Percona Server 5.1.61-13.2 on February 10th, 2012 (Downloads are available from Percona Server 5.1.61-13.2 downloads and from the Percona Software Repositories). Based on MySQL 5.1.61, including all the bug fixes in it, Percona Server 5.1.61-13.2 is now the current stable release in the 5.1 series. All of Percona ‘s software is open-source and free, all the details [...]]]></description>
			<content:encoded><![CDATA[<p>Percona is glad to announce the release of <em>Percona Server</em> 5.1.61-13.2 on February 10th, 2012 (Downloads are available from <a href="http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.61-13.2/">Percona Server 5.1.61-13.2 downloads</a> and from the <a href="http://www.percona.com/docs/wiki/repositories:start">Percona Software Repositories</a>).</p>
<p>Based on <a href="http://dev.mysql.com/doc/refman/5.1/en/news-5-1-61.html">MySQL 5.1.61</a>, including all the bug fixes in it, <em>Percona Server</em> 5.1.61-13.2 is now the current stable release in the 5.1 series. All of <em>Percona</em> ‘s software is open-source and free, all the details of the release can be found in the <a href="https://launchpad.net/percona-server/+milestone/5.1.61-13.2">5.1.61-13.2 milestone at Launchpad</a>.</p>
<p>The full release notes can be found in our online documentation: <a href="http://www.percona.com/doc/percona-server/5.1/release-notes/Percona-Server-5.1.61-13.2.html">http://www.percona.com/doc/percona-server/5.1/release-notes/Percona-Server-5.1.61-13.2.html</a></p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/02/10/announcing-percona-server-5-1-61-13-2/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/02/announcing-percona-server-5-1-61-13-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Percona XtraBackup 1.6.5</title>
		<link>http://www.weez.com/2012/02/announcing-percona-xtrabackup-1-6-5/</link>
		<comments>http://www.weez.com/2012/02/announcing-percona-xtrabackup-1-6-5/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 21:25:44 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[1.6.5]]></category>
		<category><![CDATA[Announcing]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Xtrabackup]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/02/announcing-percona-xtrabackup-1-6-5/</guid>
		<description><![CDATA[Percona is glad to announce the release of Percona XtraBackup 1.6.5 on 10 February, 2012 (Downloads are available here and from the Percona Software Repositories). This release is purely composed of bug fixes and is the current stable release of Percona XtraBackup. There are some important bug fixes around incremental backups, parallel backups and backups on databases with the system [...]]]></description>
			<content:encoded><![CDATA[<p>Percona is glad to announce the release of Percona XtraBackup 1.6.5 on 10 February, 2012 (Downloads are available <a href="http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6.5/">here</a> and from the <a href="http://www.percona.com/doc/percona-xtrabackup/installation.html"><em>Percona Software Repositories</em></a>).</p>
<p>This release is purely composed of bug fixes and is the current stable release of <em>Percona</em> <em>XtraBackup</em>.</p>
<p>There are some important bug fixes around incremental backups, parallel backups and backups on databases with the system tablespace being multiple files. The full release notes and details are available here: <a href="http://www.percona.com/doc/percona-xtrabackup/release-notes/1.6/1.6.5.html">http://www.percona.com/doc/percona-xtrabackup/release-notes/1.6/1.6.5.html</a></p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/02/10/announcing-percona-xtrabackup-1-6-5/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/02/announcing-percona-xtrabackup-1-6-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Percona XtraBackup 2.0 Beta 1</title>
		<link>http://www.weez.com/2012/02/announcing-percona-xtrabackup-2-0-beta-1/</link>
		<comments>http://www.weez.com/2012/02/announcing-percona-xtrabackup-2-0-beta-1/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 02:38:38 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Announcing]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Xtrabackup]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/02/announcing-percona-xtrabackup-2-0-beta-1/</guid>
		<description><![CDATA[Percona is glad to announce our first Beta release of what will become Percona XtraBackup 2.0. We&#8217;re releasing this beta to encourage testing of our upcoming 2.0 release of Percona XtraBackup. Since this is a beta release, you should not rely on it for production workloads &#8211; use the stable 1.6 series of Percona XtraBackup [...]]]></description>
			<content:encoded><![CDATA[<p>Percona is glad to announce our first <strong>Beta</strong> release of what will become Percona XtraBackup 2.0. We&#8217;re releasing this beta to encourage testing of our upcoming 2.0 release of Percona XtraBackup.</p>
<p>Since this is a beta release, you should not rely on it for production workloads &#8211; use the stable 1.6 series of Percona XtraBackup instead.</p>
<p>In this beta we&#8217;re proud to add:</p>
<ul>
<li>support for Galera replication and the <a href="http://www.percona.com/software/percona-xtradb-cluster/">Percona XtraDB Cluster</a> Alpha.</li>
<li>the Documentation is now bundled with the source tree and under a <a href="http://creativecommons.org/licenses/by-sa/2.0/" rel="license">CC Attribution-ShareAlike 2.0 Generic</a> license.</li>
<li>support for building with debug InnoDB (only for <strong>very</strong> advanced users)</li>
</ul>
<div>We also have a good number of general bug fixes in this release and more exciting features to come in the next beta.</div>
<p>The <a href="http://www.percona.com/doc/percona-xtrabackup/release-notes/2.0/1.9.0.html">full release notes</a> are available in our <a href="http://www.percona.com/doc/percona-xtrabackup/">online documentation</a>.</p>
<p>Binaries and source tarballs can be downloaded from our download site: <a href="http://www.percona.com/downloads/XtraBackup/BETA/1.9.0/">http://www.percona.com/downloads/XtraBackup/BETA/1.9.0/</a> . <strong>As this is a BETA release, we do not recommend it for production use.</strong> As always, all our work is done on the <a href="https://launchpad.net/percona-xtrabackup">Percona XtraBackup launchpad</a> site and the up-to-the-minute bzr trees can be pulled from Launchpad.</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/02/08/announcing-percona-xtrabackup-2-0-beta-1/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/02/announcing-percona-xtrabackup-2-0-beta-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Announcing Percona Server 5.5.20-24.1</title>
		<link>http://www.weez.com/2012/02/announcing-percona-server-5-5-20-24-1/</link>
		<comments>http://www.weez.com/2012/02/announcing-percona-server-5-5-20-24-1/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 00:52:16 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[5.5.2024.1]]></category>
		<category><![CDATA[Announcing]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/02/announcing-percona-server-5-5-20-24-1/</guid>
		<description><![CDATA[Percona is glad to announce the release of Percona Server 5.5.20-24.1 on February 9th, 2012 (Downloads are available here and from the Percona Software Repositories). Based on MySQL 5.5.20, including all the bug fixes in it, Percona Server 5.5.20-24.1 is now the current stable release in the 5.5 series. All of Percona ‘s software is open-source and free, all the details of the release can [...]]]></description>
			<content:encoded><![CDATA[<p>Percona is glad to announce the release of <em>Percona Server</em> 5.5.20-24.1 on February 9th, 2012 (Downloads are available <a href="http://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-5.5.20-24.1/">here</a> and from the <a href="http://www.percona.com/docs/wiki/repositories:start">Percona Software Repositories</a>).</p>
<p>Based on <a href="http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html">MySQL 5.5.20</a>, including all the bug fixes in it, <em>Percona Server</em> 5.5.20-24.1 is now the current stable release in the 5.5 series. All of <em>Percona</em> ‘s software is open-source and free, all the details of the release can be found in the <a href="https://launchpad.net/percona-server/+milestone/5.5.20-24.1">5.5.20-24.1 milestone at Launchpad</a>.</p>
<div id="bug-fixes">Full release notes available here: <a href="http://www.percona.com/doc/percona-server/5.5/release-notes/Percona-Server-5.5.20-24.1.html">http://www.percona.com/doc/percona-server/5.5/release-notes/Percona-Server-5.5.20-24.1.html</a>.</div>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/02/08/announcing-percona-server-5-5-20-24-1/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/02/announcing-percona-server-5-5-20-24-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dot-Org Pavilion at the Percona Live MySQL Conference</title>
		<link>http://www.weez.com/2012/02/dot-org-pavilion-at-the-percona-live-mysql-conference/</link>
		<comments>http://www.weez.com/2012/02/dot-org-pavilion-at-the-percona-live-mysql-conference/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 19:46:55 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[DotOrg]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[Pavilion]]></category>
		<category><![CDATA[Percona]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/02/dot-org-pavilion-at-the-percona-live-mysql-conference/</guid>
		<description><![CDATA[This is a cross-post from my personal blog. Are you involved with an open-source project that&#8217;s interesting to MySQL users, such as Nginx, PHPMyAdmin, Drupal, Jenkins, PHP, and so on? Percona just published the application form for dot-org groups to have a free expo hall booth in the Percona Live MySQL Conference in April. Please [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is a cross-post from <a href="http://www.xaprb.com/blog/2012/02/06/dot-org-pavilion-at-the-percona-live-mysql-conference/">my personal blog</a>.</em> Are you involved with an open-source project that&#8217;s interesting to MySQL users, such as Nginx, PHPMyAdmin, Drupal, Jenkins, PHP, and so on?  Percona just published the application form for dot-org groups to have a <a href="http://www.percona.com/live/mysql-conference-2012/content/dot-org-pavilion">free expo hall booth</a> in the Percona Live MySQL Conference in April. <strong> Please submit your applications now, and tell your friends about this</strong>, because a) the schedule for applying is very short, and b) space is limited.</p>
<p>For those of you who don&#8217;t know what this is, it&#8217;s another of the O&#8217;Reilly traditions we&#8217;re trying to continue.  (We are trying very hard to make this event as close to a clone of O&#8217;Reilly&#8217;s as we can.)  It&#8217;s a free table in the expo hall where people who participate in a non-commercial open source project can exhibit.  I organized a Maatkit booth a few times in the past, and was always really grateful to O&#8217;Reilly for making the space available.  Space in the expo hall is at a premium, but we think that these dot-org booths are even more valuable to the open-source projects and the conference attendees.</p>
<p>So, please tell your friends who care about open source, and ask them to tell their friends too.  Let&#8217;s get some great open-source projects into the expo hall, alongside the commercial vendors!</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/02/08/dot-org-pavilion-at-the-percona-live-mysql-conference/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/02/dot-org-pavilion-at-the-percona-live-mysql-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Percona Toolkit Release 2.0.3</title>
		<link>http://www.weez.com/2012/02/announcing-percona-toolkit-release-2-0-3/</link>
		<comments>http://www.weez.com/2012/02/announcing-percona-toolkit-release-2-0-3/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 00:55:35 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[2.0.3]]></category>
		<category><![CDATA[Announcing]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Toolkit]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/02/announcing-percona-toolkit-release-2-0-3/</guid>
		<description><![CDATA[We&#8217;ve released Percona Toolkit 2.0.3, with a couple of major improvements and many minor ones. You can download it, read the documentation, and get support for it. What&#8217;s new? You can read the changelog for the details, but here are the highlights: Brand new pt-diskstats, thanks to Brian Fraser. This tool is completely rewritten, and [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve released Percona Toolkit 2.0.3, with a couple of major improvements and many minor ones.  You can <a href="http://www.percona.com/downloads/percona-toolkit/">download</a> it, read the <a href="http://www.percona.com/doc/percona-toolkit/2.0/">documentation</a>, and get <a href="http://www.percona.com/mysql-support/">support</a> for it.</p>
<p>What&#8217;s new? You can read the <a href="http://www.percona.com/doc/percona-toolkit/2.0/release_notes.html#v2-0-3-released-2012-02-03">changelog</a> for the details, but here are the highlights:</p>
<p><strong>Brand new <a href="http://www.percona.com/doc/percona-toolkit/2.0/pt-diskstats.html">pt-diskstats</a></strong>, thanks to Brian Fraser. This tool is completely rewritten, and it&#8217;s finally the iostat replacement I always wanted.  Not only does it have the functionality I want (interactive, slice and dice, smart defaults) but it has the detailed statistics on I/O, so you can see whether your reads are slow versus your writes, and whether things are waiting on the disk or waiting on the queue scheduler (<a href="http://www.mysqlperformanceblog.com/2010/05/25/flashcache-tpcc-workload/">cfq</a>, hint hint).  Finally, it has transparency, so you can read the documentation and understand, really, what it&#8217;s doing at the low level and what that means for your server. We really need specific, precise information on exactly how the I/O is behaving so we can make good decisions when there are problems or when doing things like capacity planning.</p>
<p><strong>Brand new <a href="http://www.percona.com/doc/percona-toolkit/2.0/pt-stalk.html">pt-stalk</a></strong>, courtesy of Daniel Nichter.  This tool is also completely rewritten.  Instead of a Bash script that you have to configure with environment variables and run in a screen session, this is now a first-class fault detection daemon. Everyone needs post-mortem forensic data when there is a problem, and pt-stalk aims to be a core part of your infrastructure that fills this gap.  It now supports things a &#8220;real&#8221; Percona Toolkit tool ought to have, such as command-line options and a configuration file.  In addition, we merged pt-collect into it, so as of Percona Toolkit 2.0.3, there isn&#8217;t a separate pt-collect tool anymore.</p>
<p>There&#8217;s a lot more to this release, but those are the major points.  Download it and let us know how it works, please!  If you find bugs, <a href="https://bugs.launchpad.net/percona-toolkit">file them on Launchpad</a>, and if you need support, <a href="http://www.percona.com/mysql-support/">you know where to get it</a>.</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/02/06/announcing-percona-toolkit-release-2-0-3/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/02/announcing-percona-toolkit-release-2-0-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides from Percona Live, Washington, DC are available</title>
		<link>http://www.weez.com/2012/01/slides-from-percona-live-washington-dc-are-available/</link>
		<comments>http://www.weez.com/2012/01/slides-from-percona-live-washington-dc-are-available/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 22:05:28 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Available]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Slides]]></category>
		<category><![CDATA[Washington]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/01/slides-from-percona-live-washington-dc-are-available/</guid>
		<description><![CDATA[If you&#8217;ve missed Percona Live in Washington,DC and even if you did not you should be happy to know we have now published slides from majority of talks at this conference. Enjoy! This conference had great talks, whenever you&#8217;re Beginner or Advanced when it comes to MySQL. Also remember not to miss MySQL Conference in [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve missed <a href="http://www.percona.com/live/dc-2012/">Percona Live in Washington,DC</a> and even if you did not you should be happy to know we have now <a href="http://www.percona.com/live/dc-2012/slides/">published slides</a> from majority of talks at this conference. Enjoy!  This conference had great talks, whenever you&#8217;re  Beginner or Advanced when it comes to MySQL. Also remember not to miss <a href="http://www.percona.com/live/mysql-conference-2012/">MySQL Conference </a>in Santa Clara,CA April 10-12 2012.</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/01/20/slides-from-percona-live-washington-dc-are-available/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/01/slides-from-percona-live-washington-dc-are-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Percona XtraDB Cluster Feature 2: Multi-Master replication</title>
		<link>http://www.weez.com/2012/01/percona-xtradb-cluster-feature-2-multi-master-replication/</link>
		<comments>http://www.weez.com/2012/01/percona-xtradb-cluster-feature-2-multi-master-replication/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 23:45:43 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[MultiMaster]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[XtraDB]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/01/percona-xtradb-cluster-feature-2-multi-master-replication/</guid>
		<description><![CDATA[This is about the second great feature &#8211; Multi-Master replication, what you get with Percona XtraDB Cluster. It is recommended you get familiar with general architecture of the cluster, described on the previous post. By Multi-Master I mean the ability to write to any node in your cluster and do not worry that eventually you [...]]]></description>
			<content:encoded><![CDATA[<p>This is about the second great feature &#8211; Multi-Master replication, what you get with <a href="http://www.percona.com/software/percona-xtradb-cluster/">Percona XtraDB Cluster</a>.</p>
<p>It is recommended you get familiar with general architecture of the cluster, described on <a href="http://www.mysqlperformanceblog.com/2012/01/17/xtradb-cluster-feature-1-high-availability/">the previous post</a>.</p>
<p>By Multi-Master I mean the ability to write to any node in your cluster and do not worry that eventually you get out-of-sync situation, as it regularly happens with regular MySQL replication if you imprudently write to the wrong server.</p>
<p>This is long-waited feature, I&#8217;ve seen growing demand for it for last two years or even more.<br />
Percona XtraDB Cluster provides it, and let&#8217;s see how it works.<br />
<span id="more-8285"></span></p>
<p>With our Cluster you can write to <strong>any node</strong>, and the Cluster guarantees consistency of writes. That is the write is either committed on all nodes or not committed at all.</p>
<p>Let me draw some diagram there. For the simplicity I will use a two-nodes example, but the same logic is applied when you have N nodes.</p>
<p><a href="http://www.mysqlperformanceblog.com/wp-content/uploads/2012/01/XtraDBClusterUML1.png"><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2012/01/XtraDBClusterUML1.png" alt="" title="XtraDBClusterUML" width="600" height="347" class="aligncenter size-full wp-image-8315" /></a></p>
<p>As you see all queries are executed locally on the node, and only on COMMIT there is special handling.<br />
When you issue COMMIT, your transaction has to pass certification on all nodes. If it does not pass, you<br />
will receive &#8220;ERROR&#8221; as response on your query. After that transaction is applied on the local node.</p>
<p>That is response time of COMMIT consist of several parts:</p>
<ul>
<li>Network roundtrip</li>
<li>Certification time</li>
<li>Local applying</li>
</ul>
<p>Please note that applying the transaction on remote nodes does not affect the response time of COMMIT,<br />
as it happens in the background after the response on certification.</p>
<p>The two important consequences of this architecture.</p>
<ul>
<li>First: we can have several appliers working in parallel. This gives us <strong>true parallel replication</strong>. Slave can have many parallel threads, and you can tune it by variable <code>wsrep_slave_threads</code></li>
<li>Second: There might be a small period of time when the slave is out-of-sync from master. This happens because the master may apply event faster than a slave. And if you do read from the slave, you may read data, that has not changes yet. You can see that from diagram. However you can change this behavior by using variable <code>wsrep_causal_reads=ON</code>. In this case the read on the slave will wait until event is applied (this however will increase the response time of the read. This gap between slave and master is the reason why this replication named <strong>&#8220;virtually synchronous replication&#8221;</strong>, not real &#8220;synchronous replication&#8221;</li>
</ul>
<p>The described behavior of COMMIT also has the second serious implication.<br />
If you run write transactions to two different nodes, the cluster will use an <a href="http://en.wikipedia.org/wiki/Optimistic_concurrency_control"><strong>optimistic locking</strong></a> model.<br />
That means a transaction will not check on possible locking conflicts during individual queries, but rather on the COMMIT stage. And you may get ERROR response <strong>on COMMIT</strong>. I am highlighting this, as this is one of incompatibilities with regular InnoDB, that you may experience. In InnoDB usually DEADLOCK and LOCK TIMEOUT errors happen in response on particular query, but not on COMMIT. Well, if you follow a good practice, you still check errors code after &#8220;COMMIT&#8221; query, but I saw many applications that do not do that.</p>
<p>So, if you plan to use Multi-Master capabilities of XtraDB Cluster, and run write transactions on several nodes, you may need to make sure you handle response on &#8220;COMMIT&#8221; query.</p>
<p><script type="text/javascript">mbgc='f5f5f5';ww='320';mbc='cecece';bbc='3F79D5';bmobc='3b71c6';bbgc='4889F0';bmoc='3F79D5';bfc='FFFFFF';bmofc='ffffff';tlc='cecece';tc='6a6a6a';nc='6a6a6a';bc='6a6a6a';l='y';fs='16';fsb='13';bw='100';ff='4';pc='4889F0';b='s'; pid='109242749016593233313';</script><script type="text/javascript" src="http://widgetsplus.com/google_plus_widget.js"></script></p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/01/19/percona-xtradb-cluster-feature-2-multi-master-replication/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/01/percona-xtradb-cluster-feature-2-multi-master-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Percona XtraDB Cluster Feature 1: High Availability</title>
		<link>http://www.weez.com/2012/01/percona-xtradb-cluster-feature-1-high-availability/</link>
		<comments>http://www.weez.com/2012/01/percona-xtradb-cluster-feature-1-high-availability/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 08:30:06 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Availability]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[High]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[XtraDB]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/01/percona-xtradb-cluster-feature-1-high-availability/</guid>
		<description><![CDATA[There and in coming posts I am going to cover main features of Percona XtraDB Cluster. The first feature is High Availability. But before jumping to HA, let&#8217;s review general architecture of the Percona XtraDB Cluster. 1. The Cluster consists of Nodes. Recommended configuration is to have at least 3 nodes, but you can make [...]]]></description>
			<content:encoded><![CDATA[<p>There and in coming posts I am going to cover main features of <a href="http://www.percona.com/software/percona-xtradb-cluster/">Percona XtraDB Cluster</a>. The first feature is High Availability.</p>
<p>But before jumping to HA, let&#8217;s review general architecture of the Percona XtraDB Cluster.<br />
<span id="more-8249"></span><br />
1. The Cluster consists of Nodes.  Recommended configuration is to have at least 3 nodes, but you can make it running with 2 nodes too.<br />
2. Each Node is regular <strong>MySQL / Percona Server</strong> setup. The point is that you can convert your existing MySQL / Percona Server into Node and roll Cluster using it as base. Or otherwise &#8211; you can detach Node from Cluster and use it as just a regular server.<br />
3. Each Node contains <strong>the full copy of data</strong>. That defines XtraDB Cluster behavior in many ways. And obviously there are benefits and drawbacks.</p>
<p><img src="http://www.mysqlperformanceblog.com/wp-content/uploads/2011/10/Diagram1.png" alt="Cluster architecture" /></p>
<p>Benefits of such approach: </p>
<ul>
<li>When you execute a query, it is executed locally on the node. All data is available locally, no need for remote access.
</li>
<li>No central management. You can loose any node at any point of time, and the cluster will continue to function</li>
<li>Good solution for scaling a <strong>read workload</strong>. You can put read queries to any of the nodes</li>
</ul>
<p>Drawbacks:</p>
<ul>
<li>Overhead of joining new node. The new node has to copy full dataset from one of existing node. If it is 100GB, it copies 100GB.
</li>
<li>This can&#8217;t be used as an effective write scaling solution. There might be some improvements in write throughput when you run write traffic to 2 nodes vs all traffic to 1 node, but you can&#8217;t expect a lot. All writes still have to go on all nodes.</li>
<li>You have several duplicates of data. For 3 nodes &#8211; 3 duplicates</li>
</ul>
<p>This basically defines how Percona XtraDB Cluster can be used for <strong>High Availability</strong>.</p>
<p>Basic setup: you run 3-nodes setup.<br />
The Percona XtraDB Cluster will continue to function when you take <strong>any of nodes</strong> down.<br />
At any point of time you can shutdown any Node to perform maintenance or make configuration changes.<br />
Or Node may crash or become network unavailable. The Cluster will continue to work, you can continue to run queries on working nodes.</p>
<p>The biggest question there, what will happen when the Node joins the cluster back, and there were changes to data while the node<br />
was down.</p>
<p>Let&#8217;s focus on this with details.<br />
There is two ways that Node may use when it joins the cluster: State Snapshot Transfer (SST) and Incremental State Transfer (IST).</p>
<ul>
<li>SST is the full copy if data from one node to another. SST is used when new node joins the cluster, it has to transfer data from existing node.<br />
There is three methods of SST available in Percona XtraDB Cluster: <strong>mysqldump</strong>, <strong>rsync</strong> and <strong>xtrabackup</strong> ( Percona XtraBackup with support of XtraDB Cluster will be released soon, so far you need to use our source code repository).<br />
The downside of <code>mysqldump</code> and rsync is that your cluster becomes READ-ONLY for time that takes to copy data from one node to another (SST applies <code>FLUSH TABLES WITH READ LOCK</code> command).<br />
<code>Xtrabackup</code> SST does not require READ LOCK for full time, only for syncing .frm files (the same as with regular backup).
</li>
<li>Even with that, SST may be intrusive, that&#8217;s why there is IST mechanism. If down your node for short period of time, and then start it, the node is able to fetch only changes made during period it was down.<br />
This is done using caching mechanism on nodes. Each node contains a cache, ring-buffer, (the size is configurable) of last N changes, and the node is able to transfer part of this cache. Obviously IST can be done only if amount of changes needed to transfer is less than N. If it exceeds N, then the joining node has to perform SST.</li>
</ul>
<p>You can monitor current state of Node by using<br />
<code>SHOW STATUS LIKE 'wsrep_local_state_comment'</code>, when it is &#8216;Synced (6)&#8217;, the node is ready to handle traffic.</p>
<p><script type="text/javascript">mbgc='f5f5f5';ww='320';mbc='cecece';bbc='3F79D5';bmobc='3b71c6';bbgc='4889F0';bmoc='3F79D5';bfc='FFFFFF';bmofc='ffffff';tlc='cecece';tc='6a6a6a';nc='6a6a6a';bc='6a6a6a';l='y';fs='16';fsb='13';bw='100';ff='4';pc='4889F0';b='s'; pid='109242749016593233313';</script><script type="text/javascript" src="http://widgetsplus.com/google_plus_widget.js"></script></p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/01/17/xtradb-cluster-feature-1-high-availability/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/01/percona-xtradb-cluster-feature-1-high-availability/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Announcing Percona Server 5.5.19-24.0</title>
		<link>http://www.weez.com/2012/01/announcing-percona-server-5-5-19-24-0/</link>
		<comments>http://www.weez.com/2012/01/announcing-percona-server-5-5-19-24-0/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 23:59:45 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[5.5.1924.0]]></category>
		<category><![CDATA[Announcing]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.weez.com/2012/01/announcing-percona-server-5-5-19-24-0/</guid>
		<description><![CDATA[Percona is glad to announce the release of Percona Server 5.5.19-24.0 on January 13th, 2012 (Downloads are available here and from the Percona Software Repositories). Based on MySQL 5.5.19, including all the bug fixes in it, Percona Server 5.5.19-24.0 is now the current stable release in the 5.5 series. All of Percona ‘s software is [...]]]></description>
			<content:encoded><![CDATA[<p>Percona is glad to announce the release of <em>Percona Server</em> 5.5.19-24.0 on January 13th, 2012 (Downloads are available <a href="http://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-5.5.19-24.0/">here</a> and from the <a href="http://www.percona.com/docs/wiki/repositories:start">Percona Software Repositories</a>).</p>
<p>Based on <a href="http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html">MySQL 5.5.19</a>, including all the bug fixes in it, <em>Percona Server</em> 5.5.19-24.0 is now the current stable release in the 5.5 series. All of <em>Percona</em> ‘s software is open-source and free, all the details of the release can be found in the <a href="https://launchpad.net/percona-server/+milestone/5.5.18-24.0">5.5.19-24.0 milestone at Launchpad</a>.</p>
<div id="new-features">
<h2>New Features</h2>
<blockquote>
<div>
<ul>
<li>Variable <a title="innodb_flush_neighbor_pages"><tt>innodb_flush_neighbor_pages</tt></a> can be now set to a new value <tt>cont</tt>. The previously-available option values 0 and 1 now have more descriptive names <tt>none</tt> and <tt>area</tt>. The value of <tt>none</tt> disables the neighbor page flush and <tt>area</tt> matches the default <em>InnoDB</em> behavior: any dirty pages in the vicinity of the page selected for flushing may be flushed too. The new option value <tt>cont</tt> improves the neighbor flushing by considering only contiguous blocks of neighbor pages, thus performing the flush by sequential instead of random I/O. (<em>Yasufumi Kinoshita</em>, <em>Laurynas Biveinis</em>)</li>
<li>Improvements to the XtraDB’s sync flush algorithm. If the XtraDB checkpoint age grows dangerously close to its limit and XtraDB is forced to perform a sync flush, these changes should slightly improve the user query performance instead of completely blocking them. (<em>Yasufumi Kinoshita</em>, <em>Laurynas Biveinis</em>)</li>
</ul>
</div>
</blockquote>
</div>
<div id="bug-fixes">
<h2>Bug Fixes</h2>
<blockquote>
<div>
<ul>
<li>Minor MEMORY engine test suite fix: <a href="https://bugs.launchpad.net/percona-server/+bug/849921">#849921</a> (<em>Laurynas Biveinis</em>)</li>
<li>A fix for testsuite integration into Jenkins: <a href="https://bugs.launchpad.net/percona-server/+bug/911237">#911237</a> (<em>Oleg Tsarev</em>)</li>
</ul>
</div>
</blockquote>
</div>
<p>For this release we also provide EXPERIMENTAL binaries for Mac OS X platform, and you can <a href="http://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-5.5.19-24.0/MacOS/">download tar.gz or dmg there</a></p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2012/01/13/announcing-percona-server-5-5-19-24-0/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2012/01/announcing-percona-server-5-5-19-24-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

