<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUcFQ3k6fip7ImA9WhBUEUw.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855</id><updated>2013-04-27T18:36:52.716-07:00</updated><category term="linux" /><category term="SolidDB" /><category term="Openfiler" /><category term="gridlayer 3Tera" /><category term="mysqltoolkit" /><category term="OCFS2" /><category term="OurDelta" /><category term="RAC" /><category term="MySQL" /><category term="NDB Cluster" /><category term="LVM" /><category term="MySQL proxy" /><category term="Replication" /><category term="Benchmark" /><category term="DBA Kata" /><category term="Maatkit" /><category term="popular" /><category term="Slave" /><category term="Error" /><category term="Oracle" /><category term="Multi-Master" /><category term="EC2" /><category term="mysqlslap" /><category term="roadmap" /><title>DBA Dojo</title><subtitle type="html">A place on the way of the DBA "Tao DBA"

Oracle, MySQL databases and more on EC2.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.dbadojo.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/DbaDojo" /><feedburner:info uri="dbadojo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>DbaDojo</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;CU8NSXk_fCp7ImA9WhNRGEs.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-7697819737559155627</id><published>2012-11-13T19:31:00.000-08:00</published><updated>2012-11-13T19:31:38.744-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-13T19:31:38.744-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Re-constructing directory structure on Linux</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/7697819737559155627/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=7697819737559155627" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/7697819737559155627?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/7697819737559155627?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/ZPdwvpwsrmk/re-constructing-directory-structure-on.html" title="Re-constructing directory structure on Linux" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>1</thr:total><content type="html">If ever you need to re-construct the directory structure on Linux/Unix on a different machine you can just run this command.

# Generates a list of mkdir commands to re-construct the directory structure from current location

find . -type d| while read -r line; do echo "mkdir -p $line"; done

If you are wanting to copy files as well, just use scp or rsync

The use case for these kind of commands &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=ZPdwvpwsrmk:6wFoNgNYDTM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2012/11/re-constructing-directory-structure-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4HSHk_eSp7ImA9WhRTFUs.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-1199829729741805981</id><published>2011-11-06T00:57:00.000-07:00</published><updated>2011-11-06T01:08:59.741-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-06T01:08:59.741-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><title>Oracle Fun with Predicate pushdown</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/1199829729741805981/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=1199829729741805981" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/1199829729741805981?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/1199829729741805981?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/gmAKrfwrpis/oracle-fun-with-predicate-pushdown.html" title="Oracle Fun with Predicate pushdown" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">I had some fun recently with a Oracle database choosing a poor execution plan.The problem was with a view which had a column which was explicitly cast to a value.For example:create table vw_tempasselectcast(ID) as NUMBER(19,0) as ID,Name varchar2(50)from very_large_table ajoin large_table b on a.ID = b.IDwhere Name = 'whatever' ;Oracle in this case was unable to use the ability to push predicates&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=gmAKrfwrpis:VXB3E8cMFuM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2011/11/oracle-fun-with-predicate-pushdown.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4BQnkyeCp7ImA9WhZTF00.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-8926250133305597095</id><published>2011-03-21T04:11:00.000-07:00</published><updated>2011-03-21T04:29:13.790-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T04:29:13.790-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="RAC" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Oracle RAC on EC2 redux</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/8926250133305597095/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=8926250133305597095" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8926250133305597095?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8926250133305597095?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/8VldH7INgB0/oracle-rac-on-ec2-redux.html" title="Oracle RAC on EC2 redux" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">I was reading some RSS feeds the other day and noticed that Jeremy Schneider over at Ardent Performance Computing was working on getting Oracle RAC working on Amazon EC2.http://www.ardentperf.com/2011/03/04/byo-oracle-rac-on-ec2/He looks to have solved the whole Virtual IP issue by using another instance. Nice solution!When I get a spare moment (don't believe for a minute that the lack of posts &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=8VldH7INgB0:lLvQh80n4k0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2011/03/oracle-rac-on-ec2-redux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04ERXw7cSp7ImA9Wx5TFUg.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-9052293236197471696</id><published>2010-07-30T21:33:00.000-07:00</published><updated>2010-07-30T21:51:44.209-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-30T21:51:44.209-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="mysqlslap" /><title>mysqlslap howto</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/9052293236197471696/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=9052293236197471696" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/9052293236197471696?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/9052293236197471696?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/a31xbjfxbpU/mysqlslap-howto.html" title="mysqlslap howto" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">I noticed that people were hitting the site for information on how to run mysqlslap.To help out those searchers, here is a quick mysqlslap howtoMake sure you have mysql 5.1.4 or higher. Download MySQL from the MySQL websiteMake sure your MySQL database is running.Run mysqlslap, using progressively more concurrent threads: mysqlslap  --concurrency=1,25,50,100 --iterations=10 --number-int-cols=2 \-&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=a31xbjfxbpU:GYtJCJLVhLY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2010/07/mysqlslap-howto.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQCRns9eip7ImA9Wx9VFkk.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-3720090135408532683</id><published>2009-10-05T22:44:00.000-07:00</published><updated>2011-02-02T02:59:27.562-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-02T02:59:27.562-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Error" /><category scheme="http://www.blogger.com/atom/ns#" term="Replication" /><category scheme="http://www.blogger.com/atom/ns#" term="DBA Kata" /><category scheme="http://www.blogger.com/atom/ns#" term="Slave" /><title>MySQL Error: error reconnecting to master</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/3720090135408532683/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=3720090135408532683" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/3720090135408532683?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/3720090135408532683?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/RZw95DbjQRE/mysql-error-error-reconnecting-to.html" title="MySQL Error: error reconnecting to master" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>5</thr:total><content type="html">Error message:Slave I/O thread: error reconnecting to masterLast_IO_Error: error connecting to masterDiagnosis:Check that the slave can connect to the master instance, using the following steps:Use ping to check the master is reachable.  eg ping master.yourdomain.comUse ping with ip address to check that DNS isn't broken. eg. ping 192.168.1.2Use mysql client to connect from slave to master. eg &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=RZw95DbjQRE:yWnOuKc3Xs0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2009/10/mysql-error-error-reconnecting-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04AQ3g_fip7ImA9WxJaGUQ.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-8410997235509426403</id><published>2009-08-09T00:24:00.001-07:00</published><updated>2009-08-11T04:59:02.646-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-11T04:59:02.646-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="roadmap" /><title>Upcoming articles for 2009</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/8410997235509426403/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=8410997235509426403" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8410997235509426403?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8410997235509426403?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/zff0uHqnXwE/upcoming-articles-for-2009.html" title="Upcoming articles for 2009" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">I was reviewing what I had written over the last 2 years, and how people had reacted via comments and page views, even what keywords were most popular.  Here is the first draft (pending input from interested readers via adding a comment)     More dbt2 benchmark articles.     Amazon EC2 LVM snapshots vs EBS snapshots.     Backup software for MySQL and specifically on EC2.     Benchmarking Amazon &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=zff0uHqnXwE:hHPv1_0EoSo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2009/08/upcoming-articles-for-2009.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8MSX0zfip7ImA9WxJaGE0.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-3574619365401147372</id><published>2009-08-08T23:53:00.001-07:00</published><updated>2009-08-08T23:54:48.386-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-08T23:54:48.386-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="popular" /><title>Top 9 Posts for the last 12 months</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/3574619365401147372/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=3574619365401147372" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/3574619365401147372?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/3574619365401147372?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/ybPs6jPvPns/top-9-posts-for-last-12-months.html" title="Top 9 Posts for the last 12 months" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">If you were ever wondering what other people check out on this site, here are the most popular articles by pageviews for the last 12 months.  Seems most people like the LVM snapshots article, articles about running multiple MySQL instances and the various benchmark articles.     mysql backups using lvm snapshots     oracle 11g on ec2 using silent install     mysql multi master master replication &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=ybPs6jPvPns:EFro0hILK3g:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2009/08/top-9-posts-for-last-12-months.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkADQ3oyfyp7ImA9WxJXFUw.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-6683362629102317519</id><published>2009-06-08T18:00:00.000-07:00</published><updated>2009-06-08T18:26:12.497-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-08T18:26:12.497-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="OurDelta" /><title>OurDelta MySQL on EC2 - updating binaries</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/6683362629102317519/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=6683362629102317519" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/6683362629102317519?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/6683362629102317519?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/KtTi4dcNwIQ/ourdelta-mysql-on-ec2-updating-binaries.html" title="OurDelta MySQL on EC2 - updating binaries" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">Given the amount of time since my last post on installing OurDelta MySQL on EC2. It allowed me to show quickly how to get your OurDelta MySQL install up-to-date.Prerequisites:You have already installed the OurDelta Repository as per this documentationhttp://ourdelta.org/centosTo update:Now just yum update to get the latest version:http://ourdelta.org/release-5077-d8yum update MySQL-OurDelta*It is&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/DbaDojo?a=KtTi4dcNwIQ:1t0otcoLfGc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/DbaDojo?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2009/06/ourdelta-mysql-on-ec2-updating-binaries.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YCSHcycCp7ImA9WxVXEUU.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-8853513943045135411</id><published>2009-02-09T03:44:00.000-08:00</published><updated>2009-02-09T04:06:09.998-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-09T04:06:09.998-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="OurDelta" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>OurDelta MySQL on EC2 - install</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/8853513943045135411/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=8853513943045135411" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8853513943045135411?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8853513943045135411?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/nkX6i2npZ0s/ourdelta-mysql-on-ec2-install.html" title="OurDelta MySQL on EC2 - install" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>4</thr:total><content type="html">Summary:Arjen would give me an earful if I got this wrong or poorly worded."OurDelta produces enhanced builds for MySQL, with OurDelta and third-party patches, for common production platforms" from http://ourdelta.org/aboutOver the next series of articles I am going to put the many additions to the MySQL 5.0 baseline through their paces on Amazon EC2.Using a base CentOS 4.4 I had lying around on &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=dS5sVQ4Y"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2009/02/ourdelta-mysql-on-ec2-install.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04MRX4-fyp7ImA9WxRXE0U.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-140973634377661685</id><published>2008-09-01T17:51:00.000-07:00</published><updated>2008-10-18T21:19:44.057-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-18T21:19:44.057-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Benchmark" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Sysbench fileio vs small EC2 with EBS</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/140973634377661685/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=140973634377661685" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/140973634377661685?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/140973634377661685?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/UkX7Z2SfAUA/sysbench-fileio-vs-small-ec2-with-ebs.html" title="Sysbench fileio vs small EC2 with EBS" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>2</thr:total><content type="html">Background:I got a request from a reader to repeat the sysbench fileio benchmarks against the new Amazon EBS (Elastic Block Store).As mentioned elsewhere as this is similar to network attached storage (NAS) it will be constrained by the speed of network.The past series on sysbench fileio on EC2Sysbench fileio vs EC2 Part 1Sysbench fileio vs Large EC2 Part 2seeker io benchmark vs EC2Results:As &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=vWjFOXEG"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/09/sysbench-fileio-vs-small-ec2-with-ebs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QCRXs9eSp7ImA9WxdSGE0.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-6385884815448021676</id><published>2008-05-26T04:13:00.000-07:00</published><updated>2008-05-26T04:29:24.561-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-26T04:29:24.561-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Benchmark" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>How to use EC2 mountpoints</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/6385884815448021676/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=6385884815448021676" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/6385884815448021676?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/6385884815448021676?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/298SnplkqmA/how-to-use-ec2-mountpoints.html" title="How to use EC2 mountpoints" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">It has been quiet around here.  My workload has been high and I have been spending my down time reading, rather than experimenting and hence publishing.Frederic commented in a recent post about Sysbench fileio benchmark.If you want to see whole set of posts use EC2 BenchmarkThere were three questions and my reply was going to be long. So now it is a post.Questions:/dev/sda/ : do you mean that it &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=JnfNyIgb"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/05/how-to-use-ec2-mountpoints.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYAR3o7eip7ImA9WxRaEUk.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-8918323391151446461</id><published>2008-04-16T04:00:00.000-07:00</published><updated>2008-12-12T20:39:06.402-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-12T20:39:06.402-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Benchmark" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Sysbench fileio vs XLarge EC2 Part 3</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/8918323391151446461/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=8918323391151446461" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8918323391151446461?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8918323391151446461?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/MsMWToPv43Y/sysbench-fileio-vs-xlarge-ec2-part-3.html" title="Sysbench fileio vs XLarge EC2 Part 3" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_x9zkhcrll-c/SAXmEZ00T7I/AAAAAAAAAEI/RKxIZbVq5n8/s72-c/sysbench_fileio_xlarge_instance_EC2.gif" height="72" width="72" /><thr:total>3</thr:total><content type="html">Background:If you have been following the series. I have gone back to checking the raw IO performance of all the Amazon EC2 instances.Sysbench fileio vs EC2 Part 1Sysbench fileio vs Large EC2 Part 2seeker io benchmark vs EC2In the meantime Amazon has finally announced that they are providing persistent storage for all EC2 instances. This has removed a bunch of complexity from running a database &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=YFPlbvV4"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/04/sysbench-fileio-vs-xlarge-ec2-part-3.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUICRno_fip7ImA9WxZUFEU.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-7681496994475067209</id><published>2008-04-05T18:28:00.001-07:00</published><updated>2008-04-06T05:06:07.446-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-06T05:06:07.446-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Is EC2 useful as a database server</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/7681496994475067209/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=7681496994475067209" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/7681496994475067209?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/7681496994475067209?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/mjIQHJG1YkA/is-ec2-useful-as-database-server.html" title="Is EC2 useful as a database server" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>4</thr:total><content type="html">Plenty of people have been excited by the prospect of Amazon EC2 and the ability to scale out your databases as load increases from your original configuration. I noticed Morgan Tocker and Carl Mercier are going to be presenting on this topic at the upcoming MySQL ConferenceHowever almost immediately people are worried about the lack of persistent of data across instance terminations.In a sense &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=HJAovDal"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/04/is-ec2-useful-as-database-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYAR3s_fip7ImA9WxRaEUk.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-6714986396587413597</id><published>2008-03-25T06:35:00.000-07:00</published><updated>2008-12-12T20:39:06.546-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-12T20:39:06.546-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Benchmark" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Sysbench fileio vs Large EC2 Part 2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/6714986396587413597/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=6714986396587413597" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/6714986396587413597?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/6714986396587413597?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/COSq7YQEUlM/sysbench-fileio-vs-large-ec2-part-2.html" title="Sysbench fileio vs Large EC2 Part 2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_x9zkhcrll-c/R-jVMQUiAAI/AAAAAAAAADk/uyysboDTr_8/s72-c/sysbench_fileio_large_instance_EC2.gif" height="72" width="72" /><thr:total>0</thr:total><content type="html">Overview:I reran the sysbench fileio benchmarking tool on a large EC2 instance. This is basically the middle range offering from Amazon. The large instance runs a 64 bit OS of your choice and safely sits in the commodity PC/Server range (with a little extra memory).If you missed the first article, I ran the same sysbench fileio benchmark on the small EC2 instanceInstall:Follow the instructions to&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=9UffLowI"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/03/sysbench-fileio-vs-large-ec2-part-2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMERHk5eSp7ImA9WxZVFEk.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-2741765837865860062</id><published>2008-03-25T03:39:00.000-07:00</published><updated>2008-03-25T04:26:45.721-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-25T04:26:45.721-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Benchmark" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Seeker io benchmark on small EC2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/2741765837865860062/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=2741765837865860062" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/2741765837865860062?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/2741765837865860062?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/vS5CNHqVo3s/seeker-io-benchmark-on-small-ec2.html" title="Seeker io benchmark on small EC2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>1</thr:total><content type="html">Frederic posted an interesting link to the seeker io script in the sysbench fileio vs small EC2 article.He was concerned that the seeker was showing difference numbers to sysbench fileio, especially on the /mnt mountpoint.I read the thread and there was another comment made concerning how Xen could use a sparse file image to improve the io performance. I tested that theory out and found as soon &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=qoXo1Q2b"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/03/seeker-io-benchmark-on-small-ec2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYAR3YyfCp7ImA9WxRaEUk.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-5788531857546852</id><published>2008-03-12T03:22:00.000-07:00</published><updated>2008-12-12T20:39:06.894-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-12T20:39:06.894-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Benchmark" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Sysbench fileio vs EC2 Part 1</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/5788531857546852/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=5788531857546852" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5788531857546852?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5788531857546852?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/8QV_81Dyf2U/sysbench-fileio-vs-ec2-part-1.html" title="Sysbench fileio vs EC2 Part 1" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_x9zkhcrll-c/R9fGJJ692gI/AAAAAAAAADU/-tR4g9A_Lgs/s72-c/sysbench_EC2.gif" height="72" width="72" /><thr:total>6</thr:total><content type="html">Overview:Peter Zaitsev's recent article about Evaluating IO subsystem performance for MySQL spurred my interest in doing something similar on EC2.I have covered running sysbench against MySQL on EC2 however not specifically used sysbench to test IO. Rather I had used bonnie++ and iozone to do that.I don't have a lot of respect for the EC2 small instance. Whilst it was reasonable in the middle of &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=ZobbJnlZ"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/03/sysbench-fileio-vs-ec2-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUECQX4yfip7ImA9WxZXFk8.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-5028436415482708501</id><published>2008-03-04T02:19:00.000-08:00</published><updated>2008-03-04T02:47:40.096-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-04T02:47:40.096-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Maatkit" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>MySQL Master-Master replication table sync</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/5028436415482708501/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=5028436415482708501" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5028436415482708501?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5028436415482708501?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/P_WQtFQHiS8/mysql-master-master-replication-table.html" title="MySQL Master-Master replication table sync" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">I saw a post by Baron mentioning that his tool maatkit is best for handling situations where a master-master replication setup has got out of sync.If you think Baron was blowing his own trumpet he has good reason to. I have used his mk-archiver tool as part of the Maatkit to make the problem of archiving and purging data much easier. This was much easier than rolling my own solution.Anyhow. I &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=3XheeiUu"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/03/mysql-master-master-replication-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMAQn4yfip7ImA9WxNXGEw.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-182545550074141268</id><published>2008-02-26T03:41:00.000-08:00</published><updated>2009-10-06T00:17:23.096-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-06T00:17:23.096-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Replication" /><category scheme="http://www.blogger.com/atom/ns#" term="Multi-Master" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>MySQL Multi Master-Master on EC2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/182545550074141268/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=182545550074141268" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/182545550074141268?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/182545550074141268?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/BBhVETQsHFw/mysql-multi-master-master-on-ec2.html" title="MySQL Multi Master-Master on EC2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>3</thr:total><content type="html">Background:As I mentioned in the previous post on running multiple mysql instances on EC2 using mysqld_multi. This was the first step in running 2 or more EC2 Amazon Machine Image (AMI) as a Multi-instance Master-Master (MIMM)  replication cluster.The idea cames from a blog article from Apokalyptik.comIt is about improving the availability of your databases on EC2 and allowing easy backups &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=q2tX2KZL"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/02/mysql-multi-master-master-on-ec2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIARH0yeSp7ImA9WxZRGEQ.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-389649190397614719</id><published>2008-02-13T01:56:00.001-08:00</published><updated>2008-02-13T02:29:05.391-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-13T02:29:05.391-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="SolidDB" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>MySQL SolidDB vs MySQLSlap EC2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/389649190397614719/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=389649190397614719" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/389649190397614719?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/389649190397614719?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/BxKnMMb1-OU/mysql-soliddb-vs-mysqlslap-ec2.html" title="MySQL SolidDB vs MySQLSlap EC2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">Overview:I am always keen to try and test out new technologies. The idea of having a choice in storage engines is a great feature of MySQL. In MySQL 5.1, the MySQL engine API is available to write your own storage engine.In the meantime, there are a couple of MySQL storage engines produced by 3rd party companies. SolidDB is one of them.I wanted to install and then test the SolidDB engine against &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=p9epHeTq"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/02/mysql-soliddb-vs-mysqlslap-ec2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUICQns5fip7ImA9WxZREU0.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-2814667754811567951</id><published>2008-02-02T16:03:00.000-08:00</published><updated>2008-02-03T22:46:03.526-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-03T22:46:03.526-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="mysqlslap" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>MySQL vs MySQLSlap Round 3</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/2814667754811567951/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=2814667754811567951" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/2814667754811567951?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/2814667754811567951?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/3UMnTezGHiQ/mysql-vs-mysqlslap-round-3.html" title="MySQL vs MySQLSlap Round 3" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>2</thr:total><content type="html">In this continuing series on using mysqlslap to pound mysql databases.http://blog.dbadojo.com/2007/08/mysql-vs-mysqlslap.htmlhttp://blog.dbadojo.com/2008/01/mysql-vs-mysqlslap-round-2.htmlI was moving towards running mysqlslap to test any concurrency limits inherent in mysql-proxy. However I was unable to get the small instances on EC2 to handle even small concurrent levels (500 concurrent users)&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=DKOpf3kc"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/02/mysql-vs-mysqlslap-round-3.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08BSH4zcCp7ImA9WxZVE0g.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-1924176992761856880</id><published>2008-01-23T02:07:00.000-08:00</published><updated>2008-03-24T02:44:19.088-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-24T02:44:19.088-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="mysqlslap" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>MySQL vs MySQLslap round 2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/1924176992761856880/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=1924176992761856880" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/1924176992761856880?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/1924176992761856880?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/JW9vDYWEK98/mysql-vs-mysqlslap-round-2.html" title="MySQL vs MySQLslap round 2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>2</thr:total><content type="html">I was going to post some more on the clash of the titans i.e. mysql-proxy vs mysqlslap, however after doing some retesting, I never got past ramping the number of concurrent sessions in mysqlslap.I wanted to make sure the Mysql database could handle the raw load, before adding another layer in the form of mysql-proxy.Back in August I did some preliminary work with MySQL and mysqlslap.So given &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=oTkcJU4l"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/01/mysql-vs-mysqlslap-round-2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4CQHs7eyp7ImA9WxZTE0w.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-8914903709066152319</id><published>2008-01-14T03:22:00.000-08:00</published><updated>2008-01-14T03:42:41.503-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-14T03:42:41.503-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="MySQL proxy" /><title>MySQL-Proxy vs MySQLSlap Round 1</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/8914903709066152319/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=8914903709066152319" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8914903709066152319?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/8914903709066152319?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/ImQJsOMK8wA/mysql-proxy-vs-mysqlslap-round-1.html" title="MySQL-Proxy vs MySQLSlap Round 1" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>2</thr:total><content type="html">Outline:Given the mysql-proxy is moving toward a production ready version (at some point). I thought it would be useful to put it up against mysqlslap and see how it fared.In this round, I wanted to see if mysql-proxy could handle various workloads and concurrent connections in the plain vanilla load-balancing state.Essentially we are building on past experience.http://blog.dbadojo.com/2007/12/&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=UvYEvf9a"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/01/mysql-proxy-vs-mysqlslap-round-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4ERXY_fCp7ImA9WB9aFE8.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-5784540557032673113</id><published>2008-01-03T03:57:00.000-08:00</published><updated>2008-01-03T22:08:24.844-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-03T22:08:24.844-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Multiple MySQL instances on EC2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/5784540557032673113/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=5784540557032673113" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5784540557032673113?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5784540557032673113?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/koKFvtOlpP0/multiple-mysql-instances-on-ec2.html" title="Multiple MySQL instances on EC2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>3</thr:total><content type="html">Overview:I am keen to see what other people's thoughts of MySQL and using MySQL on EC2 are in general. So I read any blogs which discuss them with interest.In the latter part of last year I read an interesting article on proposing to run multiple MySQL instances on a single EC2.Running multiple MySQL instances on one box is reasonably straightforward. Most of the exposure I have seen is either &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=21LKitWy"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2008/01/multiple-mysql-instances-on-ec2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8NQHo9fip7ImA9WB9aFE8.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-5143179446941028408</id><published>2007-12-08T20:54:00.000-08:00</published><updated>2008-01-03T22:08:11.466-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-03T22:08:11.466-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="MySQL proxy" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>MySQL Proxy on EC2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/5143179446941028408/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=5143179446941028408" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5143179446941028408?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5143179446941028408?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/8TfR492Ludw/mysql-proxy-on-ec2.html" title="MySQL Proxy on EC2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>0</thr:total><content type="html">MySQL Proxy is a tool to sit between the client and database. It can load balance, redirect queries, track slow queries amongst other possible uses.http://dev.mysql.com/doc/refman/5.0/en/mysql-proxy.htmlhttp://forge.mysql.com/wiki/MySQL_ProxyThere is a ramp up within MySQL to get MySQL Proxy into a production ready product. So it is time to check out the product and see if the stated simple &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=rONyEi6W"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2007/12/mysql-proxy-on-ec2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08BSH4zcSp7ImA9WxZVE0g.&quot;"><id>tag:blogger.com,1999:blog-3247171317808202855.post-5225827458149500862</id><published>2007-11-30T20:49:00.000-08:00</published><updated>2008-03-24T02:44:19.089-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-24T02:44:19.089-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="LVM" /><category scheme="http://www.blogger.com/atom/ns#" term="EC2" /><title>Making Logical Volumes on EC2</title><link rel="replies" type="application/atom+xml" href="http://blog.dbadojo.com/feeds/5225827458149500862/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=3247171317808202855&amp;postID=5225827458149500862" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5225827458149500862?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3247171317808202855/posts/default/5225827458149500862?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/DbaDojo/~3/VjuWOV3K-14/making-logical-volumes-on-ec2.html" title="Making Logical Volumes on EC2" /><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://static.flickr.com/35/65473653_e73dfa530b_m.jpg" /></author><thr:total>1</thr:total><content type="html">The MySQL backups using LVM Snapshots post is now by far the most popular post.Here is shell script which helps get the Logical Volumes (LV) setup in the first place.### START OF SCRIPT ####!/bin/sh# Name: make_mnt_LV.sh# Script to make EC2 /mnt into a LVM volumemodprobe dm-snapshotumount /mntpvcreate /dev/sda2vgcreate vg /dev/sda2lvcreate -L30720M -n myvmdisk1 vgmkfs -t ext3 /dev/vg/&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/DbaDojo?a=3cm8jaCa"&gt;&lt;img src="http://feeds.feedburner.com/~f/DbaDojo?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.dbadojo.com/2007/11/making-logical-volumes-on-ec2.html</feedburner:origLink></entry></feed>
