<?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; Support</title>
	<atom:link href="http://www.weez.com/tag/support/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>Expanding the Cloud &#8211; AWS Import/Export Support for Amazon EBS</title>
		<link>http://www.weez.com/2011/10/expanding-the-cloud-aws-importexport-support-for-amazon-ebs/</link>
		<comments>http://www.weez.com/2011/10/expanding-the-cloud-aws-importexport-support-for-amazon-ebs/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 19:29:11 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Expanding]]></category>
		<category><![CDATA[Import/Export.]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/10/expanding-the-cloud-aws-importexport-support-for-amazon-ebs/</guid>
		<description><![CDATA[The AWS Import/Export team has announced today that they have expanded their functionality significantly by adding Import into Amazon EBS. AWS Import/Export transfers data off of storage devices using Amazon&#8217;s high-speed internal network and bypassing the Internet. With this new functionality AWS Import/Export now supports importing data directly into Amazon EBS snapshots. Once loaded into [...]]]></description>
			<content:encoded><![CDATA[<p>
The <a href="http://aws.amazon.com/importexport/">AWS Import/Export team</a> has announced today that they have expanded their functionality significantly by adding Import into Amazon EBS.
</p>
<p>
AWS Import/Export transfers data off of storage devices using Amazon&#8217;s high-speed internal network and bypassing the Internet.  With this new functionality AWS Import/Export now supports importing data directly into Amazon EBS snapshots.  Once loaded into an Amazon EBS snapshot, The customer can create a volume based on that snapshot and attach it to an Amazon EC2 instance, or they can share that snapshot with others.
</p>
<p>
Amazon Import/Export is an important tool for customers to accelerate moving large amounts of data into the AWS storage systems. It is the proverbial &#8220;<em>Do not underestimate the bandwidth of a Fedex box</em>&#8221; but it are not only bandwidth constrained customers that are using the service, also those who have complex object collection layouts and who feel more comfortable writing it to a disk than transferring it over the network. With Import into EBS customers can now develop arbitrary complex layouts as the import service is doing a full binary copy of the disk into Amazon EBS and is not interpreting file system layouts, etc.
</p>
<p>
More information on AWS Import/Export can be found at their <a href="http://aws.amazon.com/importexport/">detail page</a>.
</p>
<p>View full post on <a href="http://www.allthingsdistributed.com/2011/07/aws_importexport_ebs.html">All Things Distributed</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/10/expanding-the-cloud-aws-importexport-support-for-amazon-ebs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Percona Live tickets and Percona Support contract!</title>
		<link>http://www.weez.com/2011/05/free-percona-live-tickets-and-percona-support-contract/</link>
		<comments>http://www.weez.com/2011/05/free-percona-live-tickets-and-percona-support-contract/#comments</comments>
		<pubDate>Mon, 23 May 2011 23:50:56 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[contract]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tickets]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/05/free-percona-live-tickets-and-percona-support-contract/</guid>
		<description><![CDATA[Just a couple of announcements for Percona Live: we&#8217;re giving away free tickets through Engine Yard, and we&#8217;ve arranged our evening open-bar event. For a chance to win a free ticket, check out the guest blog post I wrote for Engine Yard on how to make Rails migrations faster and safer. In other news, Percona [...]]]></description>
			<content:encoded><![CDATA[<p>Just a couple of announcements for Percona Live: we&#8217;re giving away free tickets through Engine Yard, and we&#8217;ve arranged our evening open-bar event.<span id="more-7047"></span></p>
<p>For a chance to win a free ticket, check out the <a href="http://www.engineyard.com/blog/2011/making-migrations-faster-and-safer/">guest blog post I wrote for Engine Yard</a> on how to make Rails migrations faster and safer.</p>
<p>In other news, <a href="http://www.percona.com/live/nyc-2011/">Percona Live</a> now has an open-bar evening event, sponsored by Clustrix.  It is open to all, not just registered attendees of Percona Live.  You can come to Mickey Mantle&#8217;s legendary Sports Bar and Restaurant for free drinks and food, networking, prizes, and a chance to win an <a href="http://www.percona.com/mysql-support/">Unlimited Gold MySQL Support contract from Percona</a>, worth over $15,000!</p>
<p>In case you don&#8217;t know, Percona Live is a one-day intensive MySQL conference, with four tracks of 100% technical content from world-famous MySQL experts.  Tickets are still available at http://www.percona.com/live/.  Registration is not required to attend the evening event, so if you can&#8217;t attend Percona Live, come meet us afterwards anyway!  We&#8217;ve arranged for a substantial amount of free food, so you won&#8217;t have to leave to find dinner.</p>
<p>The evening event begins at 6pm this Thursday the 26th, and is open-bar (free drinks) until 8pm. Mickey Mantle&#8217;s is at 42 Central Park South.  From the conference center, just walk west on 59th street.  For more information and directions, visit <a href="http://www.percona.com/live/nyc-2011/venue/">the Percona Live page for venue details</a>.</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2011/05/23/free-percona-live-tickets-and-percona-support-contract/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/05/free-percona-live-tickets-and-percona-support-contract/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sysbench with support of multi-tables workload</title>
		<link>http://www.weez.com/2011/04/sysbench-with-support-of-multi-tables-workload/</link>
		<comments>http://www.weez.com/2011/04/sysbench-with-support-of-multi-tables-workload/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 17:41:57 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[multitables]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[sysbench]]></category>
		<category><![CDATA[workload]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/04/sysbench-with-support-of-multi-tables-workload/</guid>
		<description><![CDATA[We just pushed to sysbench support for workload against multiple tables ( traditionally it used only single table). It is available from launchpad source tree lp:sysbench . This is set of LUA scripts for sysbench 0.5 ( it supports scripting), and it works following way: - you should use --test=tests/db/oltp.lua to run OLTP test i.e. [...]]]></description>
			<content:encoded><![CDATA[<p>We just pushed to sysbench support for workload against multiple tables ( traditionally it used only single table).</p>
<p>It is available from launchpad source tree <code><a href="https://launchpad.net/sysbench">lp:sysbench</a></code> .</p>
<p>This is set of LUA scripts for sysbench 0.5 ( it supports scripting), and it works following way:</p>
<p>- you should use <code>--test=tests/db/oltp.lua</code> to run OLTP test<br />
i.e. prepare</p>
<pre>
./sysbench --test=tests/db/oltp.lua --oltp-tables-count=25 prepare
</pre>
<p>run:</p>
<pre>
./sysbench --test=tests/db/oltp.lua --oltp-tables-count=25 --num-threads=5 run
</pre>
<p><span id="more-6268"></span></p>
<p><code>oltp.lua</code> should  understand most options that available for regular sysbench &#8211;test=oltp</p>
<p>there are couple other scripts, like<br />
<code>oltp_simple<br />
select<br />
insert<br />
delete<br />
update_index<br />
update_non_index</code></p>
<p>to support different  OLTP modes.</p>
<p>Most interesting: all scripts support <code>--oltp-tables-count=N</code> ( default 1), in this case N sbtest tables will be used.</p>
<p>Additional parameter <code>--oltp-secondary</code> is taken from <a href="https://code.launchpad.net/~mdcallag/sysbench/0.4-dev">Mark Callaghan&#8217;s sysbench tree</a> , in this case<br />
table sbtest will be created with <code>KEY xid (ID)</code> , instead of <code>PRIMARY KEY (ID)</code></p>
<p>Now, as we have N tables, we may want to prepare them in parallel, to save some time for preparation<br />
I implemented that in script <code>parallel_prepare.lua</code></p>
<p>so instead of</p>
<pre>
./sysbench --test=tests/db/oltp.lua --oltp-tables-count=25 prepare
</pre>
<p>you may use</p>
<pre>
./sysbench --test=tests/db/parallel_prepare.lua --oltp-tables-count=64 --num-threads=8 run
</pre>
<p>( please note that oltp-tables-count should be multiplier of num-threads)</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2011/04/29/sysbench-with-support-of-multi-tables-workload/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/04/sysbench-with-support-of-multi-tables-workload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Marcus Eriksson: Drizzle JDBC 1.1 &#8211; SSL support and multi queries</title>
		<link>http://www.weez.com/2011/04/marcus-eriksson-drizzle-jdbc-1-1-ssl-support-and-multi-queries/</link>
		<comments>http://www.weez.com/2011/04/marcus-eriksson-drizzle-jdbc-1-1-ssl-support-and-multi-queries/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 20:06:51 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Eriksson]]></category>
		<category><![CDATA[JDBC]]></category>
		<category><![CDATA[Marcus]]></category>
		<category><![CDATA[Multi]]></category>
		<category><![CDATA[queries.]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/04/marcus-eriksson-drizzle-jdbc-1-1-ssl-support-and-multi-queries/</guid>
		<description><![CDATA[Just pushed up Drizzle JDBC 1.1 with 2 quite big new features: SSL support &#8211; add ?useSSL=true in the connection string (and do the usual ssl-in-java magic to make it work. Check the MySQL documentation for more information, it is set up exactly the same way here) Multi queries &#8211; add ?allowMultiQueries=true to your connection string [...]]]></description>
			<content:encoded><![CDATA[<p>Just pushed up Drizzle JDBC 1.1 with 2 quite big new features:
<ul>
<li>SSL support &#8211; add <b>?useSSL=true</b> in the connection string (and do the usual ssl-in-java magic to make it work. Check the MySQL documentation for more information, it is set up exactly the same way here)</li>
<li>Multi queries &#8211; add <b>?allowMultiQueries=true</b> to your connection string to be able to send several queries in one round trip to the server.</li>
</ul>
<p>Note that these features are only supported when using the driver against a MySQL server &#8211; Drizzle does not have these features (yet).</p>
<p>Download it from the <a href="http://repo2.maven.org/maven2/org/drizzle/jdbc/drizzle-jdbc/">central maven repo</a> (should be synced within an hour or so)
<div class="blogger-post-footer"><img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/6543848899761399219-3695794560349191698?l=developian.blogspot.com" alt="" /></div>
<p>View full post on <a href="http://developian.blogspot.com/2011/04/drizzle-jdbc-11-ssl-support-and-multi.html">Planet Drizzle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/04/marcus-eriksson-drizzle-jdbc-1-1-ssl-support-and-multi-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Performance Blog: Percona Announces Drizzle Support</title>
		<link>http://www.weez.com/2011/04/mysql-performance-blog-percona-announces-drizzle-support/</link>
		<comments>http://www.weez.com/2011/04/mysql-performance-blog-percona-announces-drizzle-support/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 20:07:22 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Announces]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/04/mysql-performance-blog-percona-announces-drizzle-support/</guid>
		<description><![CDATA[As you might have heard, at the MySQL Conference this earlier this week we announced our launch of Drizzle support services. We added Drizzle to the list of database servers that is covered under our MySQL support contracts. This includes MySQL, Percona Server, Amazon RDS, MariaDB, and the XtraBackup and Maatkit tools. We&#8217;ve been advocates [...]]]></description>
			<content:encoded><![CDATA[<p>As you might have heard, at the MySQL Conference this earlier this week we <a href="http://www.prweb.com/releases/2011/4/prweb8295232.htm">announced</a> our launch of <a href="http://www.percona.com/mysql-support/drizzle/">Drizzle support</a> services.  We added Drizzle to the list of database servers that is covered under our MySQL support contracts.  This includes MySQL, Percona Server, Amazon RDS, MariaDB, and the XtraBackup and Maatkit tools.<span id="more-6075"></span></p>
<p>We&#8217;ve been advocates of the Drizzle project for a long time.  I&#8217;ve blogged several times about the investments that Drizzle developers are making in the project&#8217;s technical and social assets: a clean codebase and an engaged community.  I think Drizzle has a lot of things right to make a long-term play at producing a really good database server.</p>
<p>Now that Drizzle is GA, it would be downright strange if we didn&#8217;t offer commercial support for it.  We welcome current and prospective Drizzle users to contact us about Drizzle support (and consulting) contracts.  As always, we will do our best to give objective advice about its merits.  And you can watch this blog for much more technical content on Drizzle.</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2011/04/15/percona-announces-drizzle-support/">Planet Drizzle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/04/mysql-performance-blog-percona-announces-drizzle-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Percona Announces Drizzle Support</title>
		<link>http://www.weez.com/2011/04/percona-announces-drizzle-support/</link>
		<comments>http://www.weez.com/2011/04/percona-announces-drizzle-support/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 04:22:05 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Announces]]></category>
		<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Percona]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/04/percona-announces-drizzle-support/</guid>
		<description><![CDATA[As you might have heard, at the MySQL Conference this earlier this week we announced our launch of Drizzle support services. We added Drizzle to the list of database servers that is covered under our MySQL support contracts. This includes MySQL, Percona Server, Amazon RDS, MariaDB, and the XtraBackup and Maatkit tools. We&#8217;ve been advocates [...]]]></description>
			<content:encoded><![CDATA[<p>As you might have heard, at the MySQL Conference this earlier this week we <a href="http://www.prweb.com/releases/2011/4/prweb8295232.htm">announced</a> our launch of <a href="http://www.percona.com/mysql-support/drizzle/">Drizzle support</a> services.  We added Drizzle to the list of database servers that is covered under our MySQL support contracts.  This includes MySQL, Percona Server, Amazon RDS, MariaDB, and the XtraBackup and Maatkit tools.<span id="more-6075"></span></p>
<p>We&#8217;ve been advocates of the Drizzle project for a long time.  I&#8217;ve blogged several times about the investments that Drizzle developers are making in the project&#8217;s technical and social assets: a clean codebase and an engaged community.  I think Drizzle has a lot of things right to make a long-term play at producing a really good database server.</p>
<p>Now that Drizzle is GA, it would be downright strange if we didn&#8217;t offer commercial support for it.  We welcome current and prospective Drizzle users to contact us about Drizzle support (and consulting) contracts.  As always, we will do our best to give objective advice about its merits.  And you can watch this blog for much more technical content on Drizzle.</p>
<p>View full post on <a href="http://www.mysqlperformanceblog.com/2011/04/15/percona-announces-drizzle-support/">MySQL Performance Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/04/percona-announces-drizzle-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official Drizzle Blog: FreeBSD support is not going away just yet &#8211; UPDATED</title>
		<link>http://www.weez.com/2011/04/official-drizzle-blog-freebsd-support-is-not-going-away-just-yet-updated/</link>
		<comments>http://www.weez.com/2011/04/official-drizzle-blog-freebsd-support-is-not-going-away-just-yet-updated/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 20:06:41 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Away]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[going]]></category>
		<category><![CDATA[just]]></category>
		<category><![CDATA[Official]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[updated]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/04/official-drizzle-blog-freebsd-support-is-not-going-away-just-yet-updated/</guid>
		<description><![CDATA[Hi everyone! Just wanted to announce that Drizzle will stop supporting FreeBSD moving forward. We will continue to build on the platform, but will no longer run our test suite. If someone in the community wants to take over maintenance of Drizzle on FreeBSD, we would be delighted! It is simply a matter of it [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone!  Just wanted to announce that Drizzle will stop supporting FreeBSD moving forward.  We will continue to build on the platform, but will no longer run our test suite.</p>
<p>If  someone in the community wants to take over maintenance of Drizzle on FreeBSD, we would be delighted!  It is simply a matter of it taking too much of our limited time to keep things running on this system.</p>
<p>UPDATE:  As you can see below, we&#8217;ve had the FreeBSD port maintainer offer to help us keep things going.  Go open source! : )</p>
<p>View full post on <a href="http://blog.drizzle.org/2011/03/28/freebsd-support-is-going-away/">Planet Drizzle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/04/official-drizzle-blog-freebsd-support-is-not-going-away-just-yet-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD support is not going away just yet &#8211; UPDATED</title>
		<link>http://www.weez.com/2011/03/freebsd-support-is-not-going-away-just-yet-updated/</link>
		<comments>http://www.weez.com/2011/03/freebsd-support-is-not-going-away-just-yet-updated/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 20:08:17 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Away]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[going]]></category>
		<category><![CDATA[just]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[updated]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/03/freebsd-support-is-not-going-away-just-yet-updated/</guid>
		<description><![CDATA[Hi everyone! Just wanted to announce that Drizzle will stop supporting FreeBSD moving forward. We will continue to build on the platform, but will no longer run our test suite. If someone in the community wants to take over maintenance of Drizzle on FreeBSD, we would be delighted! It is simply a matter of it [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone!  Just wanted to announce that Drizzle will stop supporting FreeBSD moving forward.  We will continue to build on the platform, but will no longer run our test suite.</p>
<p>If  someone in the community wants to take over maintenance of Drizzle on FreeBSD, we would be delighted!  It is simply a matter of it taking too much of our limited time to keep things running on this system.</p>
<p>UPDATE:  As you can see below, we&#8217;ve had the FreeBSD port maintainer offer to help us keep things going.  Go open source! : )</p>
<p>View full post on <a href="http://blog.drizzle.org/2011/03/28/freebsd-support-is-going-away/">DrizzleBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/03/freebsd-support-is-not-going-away-just-yet-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joe Daly: Hierarchical Replication Support in Drizzle</title>
		<link>http://www.weez.com/2011/03/joe-daly-hierarchical-replication-support-in-drizzle/</link>
		<comments>http://www.weez.com/2011/03/joe-daly-hierarchical-replication-support-in-drizzle/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 20:06:50 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[Daly]]></category>
		<category><![CDATA[Hierarchical]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/03/joe-daly-hierarchical-replication-support-in-drizzle/</guid>
		<description><![CDATA[I took a look at how you would go about setting up a replication topology such as A-&#62;B-&#62;C (Server A replicating to Server B, Server B replicating to Server C). Specifically how to handle failures in the chain, choose a new master etc. Heres a example using the current replication implementation: Setup for Server A [...]]]></description>
			<content:encoded><![CDATA[<p>I took a look at how you would go about setting up a replication topology such as A-&gt;B-&gt;C (Server A replicating to Server B, Server B replicating to Server C). Specifically how to handle failures in the chain, choose a new master etc. Heres a example using the current replication implementation:</p>
<p>Setup for Server A</p>
<p>drizzled &#8211;datadir=/home/jdaly/drizzle/repos/inno_repl/tests/serverA &#8211;innodb.replication-log –-server-id=1 &#8211;drizzle-protocol.port=9307 &#8211;mysql-protocol.port=3307</p>
<p>Setup for Server B</p>
<p>drizzled &#8211;datadir=/home/jdaly/drizzle/repos/inno_repl/tests/serverB &#8211;server-id=2 &#8211;innodb.replication-log &#8211;plugin-add=slave &#8211;slave.config-file=/home/jdaly/drizzle/repos/inno_repl/tests/serverB/slave.config &#8211;drizzle-protocol.port=9308 &#8211;mysql-protocol.port=3308</p>
<p>slave.config</p>
<p>master-host=127.0.0.1<br />
master-port=9307<br />
master-user=test<br />
master-pass=me<br />
max-reconnects=1000<br />
seconds-between-reconnects=1</p>
<p>Setup for Server C</p>
<p>drizzled &#8211;datadir=/home/jdaly/drizzle/repos/inno_repl/tests/serverC &#8211;server-id=3 &#8211;innodb.replication-log &#8211;plugin-add=slave &#8211;slave.config-file=/home/jdaly/drizzle/repos/inno_repl/tests/serverC/slave.config &#8211;drizzle-protocol.port=9309 &#8211;mysql-protocol.port=3309</p>
<p>slave.config</p>
<p>master-host=127.0.0.1<br />
master-port=9308<br />
master-user=test<br />
master-pass=me<br />
max-reconnects=1000<br />
seconds-between-reconnects=1</p>
<p>Pretty easy to setup, now lets look at the data on Server A compared to Server C in the replication tables.</p>
<p>Server A</p>
<pre>drizzle&gt; create database serverA;</pre>
<pre>drizzle&gt; select ID,  SEGID, COMMIT_ID, END_TIMESTAMP from DATA_DICTIONARY.SYS_REPLICATION_LOG;</pre>
<pre>+------+-------+-----------+------------------+</pre>
<pre>| ID   | SEGID | COMMIT_ID | END_TIMESTAMP    |</pre>
<pre>+------+-------+-----------+------------------+</pre>
<pre>|  772 |     1 |         1 | 1300842502563167 |</pre>
<pre>|  818 |     1 |         2 | 1300842824136908 |</pre>
<pre>+------+-------+-----------+------------------+</pre>
<p>Server C</p>
<pre>drizzle&gt; select ID,  SEGID, COMMIT_ID, END_TIMESTAMP from DATA_DICTIONARY.SYS_REPLICATION_LOG;</pre>
<pre>+------+-------+-----------+------------------+</pre>
<pre>| ID   | SEGID | COMMIT_ID | END_TIMESTAMP    |</pre>
<pre>+------+-------+-----------+------------------+</pre>
<pre>|  772 |     1 |         1 | 1300842759914337 |</pre>
<pre>|  819 |     1 |         2 | 1300842830416566 |</pre>
<pre>+------+-------+-----------+------------------+</pre>
<p>This looks pretty straightforward if Server B were to fail, to point Server C at Server A. They both have two entries and both have a commit_id of 2. However this only works in this very simple example. If a backup was restored and replication enabled, or if Server C was stopped and restarted the entries would not be ordered so nicely. Both these events would throw the two tables out of sync. So you would be back to looking at the actual SQL statement that was last to execute on Server C to find where it matched in Server A.</p>
<p>To remedy this problem I added two new columns to the SYS_REPLICATION_LOG table, ORIGINATING_SERVER_ID and ORIGINATING_ID. These are the ID and SERVER_ID for the server that originally applied the changes. The table now looks like:</p>
<pre>drizzle&gt; describe DATA_DICTIONARY.SYS_REPLICATION_LOG;</pre>
<pre>+-----------------------+---------+------+---------+-----------------+-----------+</pre>
<pre>| Field                 | Type    | Null | Default | Default_is_NULL | On_Update |</pre>
<pre>+-----------------------+---------+------+---------+-----------------+-----------+</pre>
<pre>| ID                    | BIGINT  | YES  |         | NO              |           |</pre>
<pre>| SEGID                 | INTEGER | YES  |         | NO              |           |</pre>
<pre>| COMMIT_ID             | BIGINT  | YES  |         | NO              |           |</pre>
<pre>| END_TIMESTAMP         | BIGINT  | YES  |         | NO              |           |</pre>
<pre>| ORIGINATING_SERVER_ID | INTEGER | YES  |         | NO              |           |</pre>
<pre>| ORIGINATING_ID        | BIGINT  | YES  |         | NO              |           |</pre>
<pre>| MESSAGE_LEN           | INTEGER | YES  |         | NO              |           |</pre>
<pre>| MESSAGE               | BLOB    | YES  |         | NO              |           |</pre>
<pre>+-----------------------+---------+------+---------+-----------------+-----------+</pre>
<p>On Server A this looks like:</p>
<pre>drizzle&gt; create database serverA;</pre>
<pre>drizzle&gt; select ID,  SEGID, COMMIT_ID, END_TIMESTAMP, ORIGINATING_SERVER_ID,  ORIGINATING_ID from DATA_DICTIONARY.SYS_REPLICATION_LOG;</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<pre>| ID   | SEGID | COMMIT_ID | END_TIMESTAMP    | ORIGINATING_SERVER_ID | ORIGINATING_ID |</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<pre>|  772 |     1 |         1 | 1300839966870903 |                     1 |            772 |</pre>
<pre>|  861 |     1 |         2 | 1300840709527015 |                     1 |            861 |</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<p>On Server B this looks like:</p>
<pre>drizzle&gt; select ID,  SEGID, COMMIT_ID, END_TIMESTAMP, ORIGINATING_SERVER_ID,  ORIGINATING_ID from DATA_DICTIONARY.SYS_REPLICATION_LOG;</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<pre>| ID   | SEGID | COMMIT_ID | END_TIMESTAMP    | ORIGINATING_SERVER_ID | ORIGINATING_ID |</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<pre>|  772 |     1 |         1 | 1300840469433946 |                     2 |            772 |</pre>
<pre>|  855 |     1 |         2 | 1300840715001766 |                     1 |            861 |</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<p>On Server C this looks like:</p>
<pre>drizzle&gt;  select ID,  SEGID, COMMIT_ID, END_TIMESTAMP, ORIGINATING_SERVER_ID,  ORIGINATING_ID from DATA_DICTIONARY.SYS_REPLICATION_LOG;</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<pre>| ID   | SEGID | COMMIT_ID | END_TIMESTAMP    | ORIGINATING_SERVER_ID | ORIGINATING_ID |</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<pre>|  772 |     1 |         1 | 1300840574916708 |                     3 |            772 |</pre>
<pre>|  833 |     1 |         2 | 1300840715511684 |                     1 |            861 |</pre>
<pre>+------+-------+-----------+------------------+-----------------------+----------------+</pre>
<p>The last entry in each SYS_REPLICATION_LOG on all three servers has the same values for ORIGINATING_SERVER_ID and ORIGINATING_ID. Note: The first entry is a startup event and is unique to each server. How is this helpful? If Server B were to fail and Server C needed to be pointed to a new master it would be as simple as running this query on Server A:</p>
<p>select commit_id FROM DATA_DICTIONARY.SYS_REPLICATION_LOG WHERE originating_id= 861;</p>
<p>Then restarting Server C with that COMMIT_ID position.</p>
<p>This is still in design heavily, walking through this example it may be better to have the ORIGINATING_COMMIT_ID rather then ORIGINATING_ID in the table. I think that would then allow just reconfiguring the slave to point at the new master. The example also illustrates the need for more on the fly configuration such as configuring a slave to point to a different master without restarting it. The code for this is at:</p>
<p>lp:~skinny.moey/drizzle/hierarch_repl</p>
<p>Comments and design suggestions are more then welcome!</p>
<p>View full post on <a href="http://www.8bitsofbytes.com/?p=28">Planet Drizzle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/03/joe-daly-hierarchical-replication-support-in-drizzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>David Shrewsbury: Multi-Master Support in Drizzle Replication</title>
		<link>http://www.weez.com/2011/03/david-shrewsbury-multi-master-support-in-drizzle-replication/</link>
		<comments>http://www.weez.com/2011/03/david-shrewsbury-multi-master-support-in-drizzle-replication/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 20:06:44 +0000</pubDate>
		<dc:creator>Abidoon</dc:creator>
				<category><![CDATA[Drizzle]]></category>
		<category><![CDATA[David]]></category>
		<category><![CDATA[MultiMaster]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Shrewsbury]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.weez.com/2011/03/david-shrewsbury-multi-master-support-in-drizzle-replication/</guid>
		<description><![CDATA[So Brian asked me the other day what it would take to support multiple masters in our new Drizzle slave plugin. Not master to master replication, but multiple masters sending replication events to a single slave that simply ignores any conflicts and just chugs along. I told him I didn&#8217;t know, but considering how simple [...]]]></description>
			<content:encoded><![CDATA[<p>So <a href="http://krow.livejournal.com/">Brian</a> asked me the other day what it would take to support multiple masters in our new Drizzle slave plugin. Not master to master replication, but multiple masters sending replication events to a single slave that simply ignores any conflicts and just chugs along. I told him I didn&#8217;t know, but considering how simple the code is, it probably wouldn&#8217;t take much.</p>
<p>To get a better understanding of what exactly would be involved in supporting multiple masters, I decided to just start hacking it up. I did this mainly to get a sense of what would need to be changed, since my original design didn&#8217;t allow for this at all. (Shortsightedness on my part I suppose.)</p>
<p>So I have a beta version of my results available in this Launchpad branch:<br />
<blockquote><span class="Apple-style-span">lp:~dshrews/drizzle/beta-multi-master</span></p></blockquote>
<p>From my simple tests, it seems to work. I&#8217;m not real happy with the code (like I said, this was a hack), but functionality is there. I&#8217;m not promising this will go into Drizzle trunk just yet. I would like to make some improvements on it, and I&#8217;d really like to get some feedback from people on it.</p>
<p>To use it, you&#8217;ll first need to create a modified slave configuration file. Here is a sample one:<br />
<blockquote>
<pre>ignore-errors

[master1]master-host = foo.my.domainmaster-port = 3306master-user = user1master-pass = password

[master2]master-host = bar.my.domainmaster-port = 3306master-user = user2master-pass = password</pre>
</blockquote>
<p>Currently, a total of 10 masters are supported. This was an arbitrary number. It was simplest to just predetermine a set number of masters due to some complications with config file parsing which I wasn&#8217;t prepared to solve (this is one of the things I want to see fixed). One IO thread per master will be started, though we still use a single applier thread for the time being.</p>
<p>You&#8217;ll notice in the sample config a new option, <i><span class="Apple-style-span">ignore-errors</span></i>. If this option is present, the slave ignores any errors from replication events received from the masters that it executes locally. I highly recommend you have this option enabled. Also note the addition of the <i><span class="Apple-style-span">[master1]</span></i> and <i><span class="Apple-style-span">[master2]</span></i> sections that define options for each master. You can go all the way to a <i><span class="Apple-style-span">[master10]</span></i> section.</p>
<p>Nothing changes with how you start your slave or masters (see my post on <a href="http://dshrewsbury.blogspot.com/2011/03/simple-drizzle-replication-example.html">setting up a simple replication example</a>).</p>
<p>Give it a try and let me know how it works for you. Again, this is bleeding edge stuff (does any other database support this? &nbsp;:) ), so be prepared for bugs.
<div class="blogger-post-footer"><img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/3514705510593466065-6133415590034346398?l=dshrewsbury.blogspot.com" alt="" /></div>
<p>View full post on <a href="http://dshrewsbury.blogspot.com/2011/03/multi-master-support-in-drizzle.html">Planet Drizzle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weez.com/2011/03/david-shrewsbury-multi-master-support-in-drizzle-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

