<?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>PlanetMysql.ru - информация о СУБД MySQL</title>
	<atom:link href="http://planetmysql.ru/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetmysql.ru</link>
	<description>Блог о самой популярной СУБД MySQL</description>
	<lastBuildDate>Fri, 03 Sep 2010 14:10:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL Cluster: 5 Steps to Getting Started, then 5 More to Scale for the Web</title>
		<link>http://blogs.oracle.com/mysql/2010/09/mysql_cluster_5_steps_to_getting_started_then_5_more_to_scale_for_the_web.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-cluster-5-steps-to-getting-started-then-5-more-to-scale-for-the-web</link>
		<comments>http://blogs.oracle.com/mysql/2010/09/mysql_cluster_5_steps_to_getting_started_then_5_more_to_scale_for_the_web.html#comments</comments>
		<pubDate>Fri, 03 Sep 2010 14:10:00 +0000</pubDate>
		<dc:creator>Monica Kumar</dc:creator>
				<category><![CDATA[HA Database]]></category>
		<category><![CDATA[MySQL Cluster]]></category>
		<category><![CDATA[Real-Time Database]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">tag:blogs.oracle.com,2010:/mysql//3342.21887</guid>
		<description><![CDATA[Join us for a live and interactive webinar session where we will demonstrate how to start an evaluation of the
MySQL Cluster database in 5 easy steps, and then how to expand your
deployment for web &#38; telecoms-scale services.Just register here: http://www.mysql.com/news-and-events/web-seminars/display-566.htmlGetting Started will describe how to:

Get the softwareInstall itConfigure itRun itTest it

Scaling for HA and the web will describe how to:

Review the requirements for a HA configurationInstall the software on more serversUpdate &#38; extend the configuration from a single host to 4Roll out the changesOn-line scaling to add further nodesWhen: Wednesday, September 08, 2010: 09:00 Pacific time (America)




  Wed, Sep 08:&#160;11:00 Central time (America)


  Wed, Sep 08:&#160;12:00 Eastern time (America)


  Wed, Sep 08:&#160;16:00 UTC


  Wed, Sep 08:&#160;17:00 Western European time


  





   The presentation will be approximately 45 minutes long followed by Q&#38;A.
 ]]></description>
			<content:encoded><![CDATA[<span><img alt="MySQL.gif" src="http://blogs.oracle.com/mysql/2010/08/31/MySQL.gif" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left;" height="76" width="112" /></span><p>Join us for a live and interactive webinar session where we will demonstrate how to start an evaluation of the
MySQL Cluster database in 5 easy steps, and then how to expand your
deployment for web &amp; telecoms-scale services.</p><p><b>Just register here: </b><br /></p><p><a href="http://www.mysql.com/news-and-events/web-seminars/display-566.html">http://www.mysql.com/news-and-events/web-seminars/display-566.html</a><br /></p><p></p><p><br /></p><p>Getting Started will describe how to:</p>

<ul><li>Get the software</li><li>Install it</li><li>Configure it</li><li>Run it</li><li>Test it</li></ul>

<p>Scaling for HA and the web will describe how to:</p>

<ul><li>Review the requirements for a HA configuration</li><li>Install the software on more servers</li><li>Update &amp; extend the configuration from a single host to 4</li><li>Roll out the changes</li><li>On-line scaling to add further nodes</li></ul><br /><p><b>When: </b><b>Wednesday, September 08, 2010: 09:00 Pacific time (America)</b></p>
<table>
<tbody>

<tr>
  <td>Wed, Sep 08:&nbsp;</td><td>11:00 Central time (America)</td>
</tr>
<tr>
  <td>Wed, Sep 08:&nbsp;</td><td>12:00 Eastern time (America)</td>
</tr>
<tr>
  <td>Wed, Sep 08:&nbsp;</td><td>16:00 UTC</td>
</tr>
<tr>
  <td>Wed, Sep 08:&nbsp;</td><td>17:00 Western European time</td>
</tr>
<tr>
  <td><br /></td><td><br /></td>
</tr>

</tbody></table>

<p>
   The presentation will be approximately 45 minutes long followed by Q&amp;A.
 </p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25768&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25768&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://blogs.oracle.com/mysql/2010/09/mysql_cluster_5_steps_to_getting_started_then_5_more_to_scale_for_the_web.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dbbenchmark.com – configuring OpenBSD for MySQL benchmarking</title>
		<link>http://www.dbbenchmark.com/wordpress/2010/09/03/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dbbenchmark-com-%25e2%2580%2593-configuring-openbsd-for-mysql-benchmarking</link>
		<comments>http://www.dbbenchmark.com/wordpress/2010/09/03/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 03:51:12 +0000</pubDate>
		<dc:creator>Matt Reid</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dbbenchmark]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.dbbenchmark.com/wordpress/?p=127</guid>
		<description><![CDATA[Here are some quick commands for installing the proper packages and requirements for the MySQL dbbenchmark program.

export PKG_PATH="ftp://openbsd.mirrors.tds.net/pub/OpenBSD/4.7/packages/amd64/"
pkg_add -i -v wget
wget http://dbbenchmark.googlecode.com/files/dbbenchmark-version-0.1.beta_rev26.tar.gz
pkg_add -i -v python
Ambiguous: choose package for python
 a       0:
         1: python-2.4.6p2
         2: python-2.5.4p3
         3: python-2.6.3p1
Your choice: 2

pkg_add -i -v py-mysql
pkg_add -i -v mysql
pkg_add -i -v mysql-server
ln -s /usr/local/bin/python2.5 /usr/bin/python
gzip -d dbbenchmark-version-0.1.beta_rev26.tar.gz
tar -xvf dbbenchmark-version-0.1.beta_rev26.tar
cd dbbenchmark-version-0.1.beta_rev26
./dbbenchmark.py --print-sql
 - login to mysql and execute sql commands
./dbbenchmark.py
]]></description>
			<content:encoded><![CDATA[<p>Here are some quick commands for installing the proper packages and requirements for the MySQL dbbenchmark program.</p>
<pre>
export PKG_PATH="ftp://openbsd.mirrors.tds.net/pub/OpenBSD/4.7/packages/amd64/"
pkg_add -i -v wget
wget http://dbbenchmark.googlecode.com/files/dbbenchmark-version-0.1.beta_rev26.tar.gz
pkg_add -i -v python
Ambiguous: choose package for python
 a       0:
         1: python-2.4.6p2
         2: python-2.5.4p3
         3: python-2.6.3p1
Your choice: 2

pkg_add -i -v py-mysql
pkg_add -i -v mysql
pkg_add -i -v mysql-server
ln -s /usr/local/bin/python2.5 /usr/bin/python
gzip -d dbbenchmark-version-0.1.beta_rev26.tar.gz
tar -xvf dbbenchmark-version-0.1.beta_rev26.tar
cd dbbenchmark-version-0.1.beta_rev26
./dbbenchmark.py --print-sql
 - login to mysql and execute sql commands
./dbbenchmark.py
</pre><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25766&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25766&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://www.dbbenchmark.com/wordpress/2010/09/03/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replication and “the lost binlog”</title>
		<link>http://openquery.com/blog/replication-lost-binlog?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=replication-and-%25e2%2580%259cthe-lost-binlog%25e2%2580%259d</link>
		<comments>http://openquery.com/blog/replication-lost-binlog#comments</comments>
		<pubDate>Fri, 03 Sep 2010 01:26:44 +0000</pubDate>
		<dc:creator>Open Query</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql mariadb replication maatkit recovery sync_binlog fsync]]></category>

		<guid isPermaLink="false">http://openquery.com/blog/?p=1389</guid>
		<description><![CDATA[Unless you set sync_binlog = 1, a system crash on the master will likely fail any slave with an &#8220;Client requested master to start replication from impossible position&#8221; error. Generally, this kind of situation requires manual intervention. When we see this, we make sure things indeed failed &#8220;past the end&#8221; of a binlog (i.e. the bit that didn&#8217;t get to the physical platter before the crash), reposition the slave to the next binlog, and use the Maatkit tools to ensure the slave is properly synced.
sync_binlog=1 is a problem in itself, because it makes the server not just do one fsync per commit, but several and that&#8217;s serious overhead. sync_binlog is actually not a boolean but a &#8220;fsync binlog every N commits&#8221; where 0 meaning &#8220;never&#8221;. So you could set it to 10 (fsync every 10 commits) and thus reduce the loss a little bit while not doing too much harm to performance. But it&#8217;s not ideal and won&#8217;t always prevent the above error.]]></description>
			<content:encoded><![CDATA[<p>Unless you set sync_binlog = 1, a system crash on the master will likely fail any slave with an &#8220;Client requested master to start replication from impossible position&#8221; error. Generally, this kind of situation requires manual intervention. When we see this, we make sure things indeed failed &#8220;past the end&#8221; of a binlog (i.e. the bit that didn&#8217;t get to the physical platter before the crash), reposition the slave to the next binlog, and use the Maatkit tools to ensure the slave is properly synced.</p>
<p>sync_binlog=1 is a problem in itself, because it makes the server not just do one fsync per commit, but several and that&#8217;s serious overhead. sync_binlog is actually not a boolean but a &#8220;fsync binlog every N commits&#8221; where 0 meaning &#8220;never&#8221;. So you could set it to 10 (fsync every 10 commits) and thus reduce the loss a little bit while not doing too much harm to performance. But it&#8217;s not ideal and won&#8217;t always prevent the above error.</p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25765&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25765&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://openquery.com/blog/replication-lost-binlog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dbbenchmark.com – automated installer now available</title>
		<link>http://www.dbbenchmark.com/wordpress/2010/09/02/dbbenchmark-com-automated-installer-now-available/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dbbenchmark-com-%25e2%2580%2593-automated-installer-now-available</link>
		<comments>http://www.dbbenchmark.com/wordpress/2010/09/02/dbbenchmark-com-automated-installer-now-available/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 21:40:46 +0000</pubDate>
		<dc:creator>Matt Reid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql server]]></category>

		<guid isPermaLink="false">http://www.dbbenchmark.com/wordpress/?p=125</guid>
		<description><![CDATA[As previously mentioned, Darren Cassar has been working on a new automated installer for the DBbenchmark program. It&#8217;s now available for download: click here. All you need to do is save it to the directory that you want to install to and then make sure it&#8217;s executable: &#8220;chmod 700 installer.sh&#8221;, then run it &#8220;./installer.sh&#8221;. ]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://www.dbbenchmark.com/wordpress/2010/08/31/dbbenchmark-com-mysql-benchmarking-now-with-freebsd-support/">previously mentioned</a>, Darren Cassar has been working on a new automated installer for the DBbenchmark program. It&#8217;s now available for download: <a href="http://www.dbbenchmark.com/downloads/installer.sh">click here</a>. All you need to do is save it to the directory that you want to install to and then make sure it&#8217;s executable: &#8220;chmod 700 installer.sh&#8221;, then run it &#8220;./installer.sh&#8221;. </p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25764&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25764&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://www.dbbenchmark.com/wordpress/2010/09/02/dbbenchmark-com-automated-installer-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How long Innodb Shutdown may take</title>
		<link>http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-long-innodb-shutdown-may-take</link>
		<comments>http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 21:40:44 +0000</pubDate>
		<dc:creator>MySQL Performance Blog</dc:creator>
				<category><![CDATA[InnoDB]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=3534</guid>
		<description><![CDATA[How long it may take MySQL with Innodb tables to shut down ?   It can be quite a while.
In default configuration  innodb_fast_shutdown=ON  the main job Innodb has to do to complete shutdown is flushing dirty buffers.  The number of dirty buffers in the buffer pool varies depending on  innodb_max_dirty_pages_pct  as well as workload and innodb_log_buffer_size and  can be anywhere from 10 to 90% in the real life workloads. Innodb_buffer_pool_pages_dirty status will show you the actual data.     Now the flush speed also depends on number of factors.  First it is your storage configuration &#8211; you may be looking at less than 200 writes/sec for single entry level hard drive to tens of thousands of writes/sec for high end SSD card.    Flushing can be done using multiple threads (in XtraDB and Innodb Plugin at least) so it scales well with multiple hard drives.    The second important variable is your workload, especially how dirty pages would line up on the hard drive.  If there are a lot of sequential pages which are dirty Innodb will be able to use larger size IOs &#8211; up to 1MB flushing dirty pages which can be a lot faster than flushing data page by page. 
So if we have system with single hard drive doing 200 IO/ssc, 48G buffer pool which is 90% dirty and completely random page writes we&#8217;ll look  at 13500 seconds or  about 5min per 1GB of Buffer pool size.
This is worse case scenario though it is quite common in practice to see shutdown time of about 1min per GB of buffer pool per hard drive. 
Baron has written a nice post how to decrease innodb shutdown time which you may want to read on this topic.
    
    Entry posted by peter &#124;
      No comment
    Add to:  &#124;  &#124;  &#124;  &#124; ]]></description>
			<content:encoded><![CDATA[<p>How long it may take MySQL with Innodb tables to shut down ?   It can be quite a while.<br />
In default configuration  <strong>innodb_fast_shutdown=ON</strong>  the main job Innodb has to do to complete shutdown is flushing dirty buffers.  The number of dirty buffers in the buffer pool varies depending on <strong> innodb_max_dirty_pages_pct</strong>  as well as workload and <strong>innodb_log_buffer_size</strong> and  can be anywhere from 10 to 90% in the real life workloads. <strong>Innodb_buffer_pool_pages_dirty</strong> status will show you the actual data.     Now the flush speed also depends on number of factors.  First it is your storage configuration &#8211; you may be looking at less than 200 writes/sec for single entry level hard drive to tens of thousands of writes/sec for high end SSD card.    Flushing can be done using multiple threads (in XtraDB and Innodb Plugin at least) so it scales well with multiple hard drives.    The second important variable is your workload, especially how dirty pages would line up on the hard drive.  If there are a lot of sequential pages which are dirty Innodb will be able to use larger size IOs &#8211; up to 1MB flushing dirty pages which can be a lot faster than flushing data page by page. </p>
<p>So if we have system with single hard drive doing 200 IO/ssc, 48G buffer pool which is 90% dirty and completely random page writes we&#8217;ll look  at 13500 seconds or  about 5min per 1GB of Buffer pool size.<br />
This is worse case scenario though it is quite common in practice to see shutdown time of about 1min per GB of buffer pool per hard drive. </p>
<p>Baron has written a nice post how to <a href="http://www.mysqlperformanceblog.com/2009/04/15/how-to-decrease-innodb-shutdown-times/">decrease innodb shutdown time</a> which you may want to read on this topic.</p>
    <hr noshade style="margin:0;height:1px" />
    <p>Entry posted by peter |
      <a href="http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/#comments">No comment</a></p>
    <p>Add to: <a href="http://del.icio.us/post?url=http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/&amp;title=How%20long%20Innodb%20Shutdown%20may%20take" title="Bookmark this post on del.icio.us"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/delicious.png" alt="delicious" /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/&amp;title=How%20long%20Innodb%20Shutdown%20may%20take" title="Digg this post on Digg.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/digg.png" alt="digg" /></a> | <a href="http://reddit.com/submit?url=http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/&amp;title=How%20long%20Innodb%20Shutdown%20may%20take" title="Submit this post on reddit.com"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/reddit.png" alt="reddit" /></a> | <a href="http://www.netscape.com/submit/?U=http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/&amp;T=How%20long%20Innodb%20Shutdown%20may%20take" title="Vote for this article on Netscape"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/netscape.gif" alt="netscape" /></a> | <a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/&amp;title=How%20long%20Innodb%20Shutdown%20may%20take" title="Add to Google Bookmarks"><img src="http://www.mysqlperformanceblog.com/wp-content/themes/boxy-but-gold/images/google.png" alt="Google Bookmarks" /></a></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25763&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25763&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://www.mysqlperformanceblog.com/2010/09/02/how-long-innodb-shutdown-may-take/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dbbenchmark.com – vote on next supported OS now!</title>
		<link>http://www.dbbenchmark.com/wordpress/2010/09/02/dbbenchmark-com-vote-on-next-supported-os-now-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dbbenchmark-com-%25e2%2580%2593-vote-on-next-supported-os-now</link>
		<comments>http://www.dbbenchmark.com/wordpress/2010/09/02/dbbenchmark-com-vote-on-next-supported-os-now-2/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 20:24:20 +0000</pubDate>
		<dc:creator>Matt Reid</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.dbbenchmark.com/wordpress/?p=114</guid>
		<description><![CDATA[So far the benchmarking script supports Linux, FreeBSD, and OSX. I&#8217;m  installing virtual machines today to get ready for development on the  next OS that the community wants to have supported. Vote today for your  choice. Development will begin Friday 2010-09-03.
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.]]></description>
			<content:encoded><![CDATA[<p>So far the benchmarking script supports Linux, FreeBSD, and OSX. I&#8217;m  installing virtual machines today to get ready for development on the  next OS that the community wants to have supported. Vote today for your  choice. Development will begin Friday 2010-09-03.</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.<br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25762&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25762&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://www.dbbenchmark.com/wordpress/2010/09/02/dbbenchmark-com-vote-on-next-supported-os-now-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LucidDB has a new Logo/Mascot</title>
		<link>http://www.nicholasgoodman.com/bt/blog/2010/09/02/luciddb-has-a-new-logomascot/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=luciddb-has-a-new-logomascot</link>
		<comments>http://www.nicholasgoodman.com/bt/blog/2010/09/02/luciddb-has-a-new-logomascot/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 17:53:19 +0000</pubDate>
		<dc:creator>Nicholas Goodman</dc:creator>
				<category><![CDATA[DynamoBI]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.nicholasgoodman.com/bt/blog/?p=496</guid>
		<description><![CDATA[At yesterdays Eigenbase Developer Meetup at SQLstream&#8217;s offices in San Francisco we arrived at a new logo for LucidDB.  DynamoBI is thrilled to have supported and funded the design contest to arrive at our new mascot.  Over the coming months you&#8217;ll see the logo make it&#8217;s way out to the existing luciddb.org sites, wiki sites, etc.  I&#8217;m really happy to have a logo that matches the nature of our database - BAD ASS!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nicholasgoodman.com/bt/blog/wp-content/uploads/2010/09/5383087-smallcrop.gif"><img class="alignleft size-full wp-image-495" title="luciddb-small" src="http://www.nicholasgoodman.com/bt/blog/wp-content/uploads/2010/09/5383087-smallcrop.gif" alt="" width="180" height="140" /></a>At yesterdays <a href="http://www.meetup.com/San-Francisco-Eigenbase-Developers/calendar/14311008/">Eigenbase Developer Meetup</a> at <a href="http://sqlstream.com/">SQLstream</a>&#8217;s offices in San Francisco we arrived at a new logo for LucidDB.  DynamoBI is thrilled to have supported and funded the design contest to arrive at our new mascot.  Over the coming months you&#8217;ll see the logo make it&#8217;s way out to the existing <a href="http://www.luciddb.org">luciddb.org</a> sites, wiki sites, etc.  I&#8217;m really happy to have a logo that matches the nature of our database -<strong> BAD ASS!</strong></p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25751&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25751&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://www.nicholasgoodman.com/bt/blog/2010/09/02/luciddb-has-a-new-logomascot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading Tables with TokuDB 4.0</title>
		<link>http://tokutek.com/2010/09/loading-tables-with-tokudb-4-0/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=loading-tables-with-tokudb-4-0</link>
		<comments>http://tokutek.com/2010/09/loading-tables-with-tokudb-4-0/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 17:47:27 +0000</pubDate>
		<dc:creator>Tokuview Blog</dc:creator>
				<category><![CDATA[TokuView]]></category>

		<guid isPermaLink="false">http://tokutek.com/?p=1692</guid>
		<description><![CDATA[
Often, the first step in evaluating and deploying a database is to load an existing dataset into the database.  In the latest version, TokuDB makes use of multi-core parallelism to speed up loading (and new index creation).  Using the loader, MySQL tables using TokuDB load 5x-8x faster than with previous versions of TokuDB.

Measuring Load Performance

We generated several different datasets to measure the performance of TokuDB when doing a LOAD DATA INFILE &#8230; command.  To characterize performance, we vary


rows to load
keys per row
row length (including keys)


All generated keys, including the primary, are random, 8-byte values.   The remaining data, needed to pad out the row length to specified length, is text.


Two files files are produced as part of data generation.


data file, containing &#8216;&#124;&#8217; separated fields
sql file,  containing the CREATE TABLE command corresponding to the generated data


For instance, if the number of keys is 3 and the row length is 256 bytes, the following SQL statement is produced:


     CREATE TABLE load_table (\
         val0 BIGINT UNSIGNED NOT NULL,\
         val1 BIGINT UNSIGNED NOT NULL,\
         val2 BIGINT UNSIGNED NOT NULL,\
         pad VARCHAR(232) NOT NULL,\
         PRIMARY KEY (val0),\
         KEY valkey1 (val1),\
         KEY valkey2 (val2)\
         ) ENGINE=tokudb


We can make the data generation program available if anyone is interested.

Load Test

A simple shell script


creates the test table
performs a LOAD DATA INFILE &#60;datafile&#62; INTO TABLE load_table FIELDS TERMINATED BY &#8216;&#124;&#8217;
returns execution time


For the experiments to be meaningful, we created datasets that do not fit in memory.

Results

We ran our benchmark on an Amazon Web Services c1.large node with 8 cores and 7 GB of memory. The test loads 100M rows (NOT pre-sorted).  The data file was on a 2 disk RAID-0, the MySQL DB files on a different 2 disk RAID-0.

TokuDB Version 3 (~single-threaded) v. TokuDB Version 4 (multi-threaded)


  Keys         
  Row Len      
 v3 rows/s    
 v4 rows/s    
  Speedup      


 1    
 64   
 27K  
 142K 
 5.1  


 4    
 64   
 13K  
 82K  
 6.2  


 1    
 256  
 7K   
 54K  
 7.2  


 4    
 256  
 5K   
 43K  
 8.2  


Other metrics

Several metrics can be used to measure performance:


rows per second : data insert rate
key-value pairs per second : indicates how fast the primary and secondary indexes are being created
MB/s : how much raw data is being added to the database


Metrics for TokuDB v4:



  Keys         
  Row Len      
  Rows/sec     
 KV-pairs/sec 
  MB/sec       


 1    
 64   
 142K 
 142K 
 9.1  


 4    
 64   
 82K  
 330K 
 5.3  


 1    
 256  
 54K  
 54K  
 13.9 


 4    
 256  
 43K  
 173K 
 11.1 



These results show


significant parallelization (we believe larger CPU core count machines will see even larger benefits)
a significant jump in absolute load performance
speed-ups are not limited to tables with many keys &#8211; even the 1 key tables are 5-7x faster


We will report further results, especially speedups on larger CPU count machines, as they become available.]]></description>
			<content:encoded><![CDATA[<p>
Often, the first step in evaluating and deploying a database is to load an existing dataset into the database.  In the latest version, TokuDB makes use of multi-core parallelism to speed up loading (and new index creation).  Using the loader, MySQL tables using TokuDB load 5x-8x faster than with previous versions of TokuDB.
</p>
<h2>Measuring Load Performance</h2>
<p>
We generated several different datasets to measure the performance of TokuDB when doing a LOAD DATA INFILE &#8230; command.  To characterize performance, we vary
</p>
<ul  type="disc">
<li>rows to load</li>
<li>keys per row</li>
<li>row length (including keys)</li>
</ul>
<p>
All generated keys, including the primary, are random, 8-byte values.   The remaining data, needed to pad out the row length to specified length, is text.
</p>
<p>
Two files files are produced as part of data generation.
</p>
<ol>
<li>data file, containing &#8216;|&#8217; separated fields</li>
<li>sql file,  containing the CREATE TABLE command corresponding to the generated data</li>
</ol>
<p>
For instance, if the number of keys is 3 and the row length is 256 bytes, the following SQL statement is produced:
</p>
<pre>
     CREATE TABLE load_table (\
         val0 BIGINT UNSIGNED NOT NULL,\
         val1 BIGINT UNSIGNED NOT NULL,\
         val2 BIGINT UNSIGNED NOT NULL,\
         pad VARCHAR(232) NOT NULL,\
         PRIMARY KEY (val0),\
         KEY valkey1 (val1),\
         KEY valkey2 (val2)\
         ) ENGINE=tokudb
</pre>
<p>
We can make the data generation program available if anyone is interested.
</p>
<h3>Load Test</h3>
<p>
A simple shell script
</p>
<ul>
<li>creates the test table</li>
<li>performs a LOAD DATA INFILE &lt;datafile&gt; INTO TABLE load_table FIELDS TERMINATED BY &#8216;|&#8217;</li>
<li>returns execution time</li>
</ul>
<p>
For the experiments to be meaningful, we created datasets that do not fit in memory.
</p>
<h2>Results</h2>
<p>
We ran our benchmark on an Amazon Web Services c1.large node with 8 cores and 7 GB of memory. The test loads 100M rows (NOT pre-sorted).  The data file was on a 2 disk RAID-0, the MySQL DB files on a different 2 disk RAID-0.
</p>
<h4>TokuDB Version 3 (~single-threaded) v. TokuDB Version 4 (multi-threaded)</h4>
<table border=1>
<tr>
<td width="50" align="center">  Keys         </td>
<td width="75" align="center">  Row Len      </td>
<td width="110" align="center"> v3 rows/s    </td>
<td width="110" align="center"> v4 rows/s    </td>
<td width="75" align="center">  Speedup      </td>
</tr>
<tr>
<td align="center"> 1    </td>
<td align="center"> 64   </td>
<td align="center"> 27K  </td>
<td align="center"> 142K </td>
<td align="center"> 5.1  </td>
</tr>
<tr>
<td align="center"> 4    </td>
<td align="center"> 64   </td>
<td align="center"> 13K  </td>
<td align="center"> 82K  </td>
<td align="center"> 6.2  </td>
</tr>
<tr>
<td align="center"> 1    </td>
<td align="center"> 256  </td>
<td align="center"> 7K   </td>
<td align="center"> 54K  </td>
<td align="center"> 7.2  </td>
</tr>
<tr>
<td align="center"> 4    </td>
<td align="center"> 256  </td>
<td align="center"> 5K   </td>
<td align="center"> 43K  </td>
<td align="center"> 8.2  </td>
</tr>
</table>
<h4>Other metrics</h4>
<p>
Several metrics can be used to measure performance:
</p>
<ul>
<li>rows per second : data insert rate</li>
<li>key-value pairs per second : indicates how fast the primary and secondary indexes are being created</li>
<li>MB/s : how much raw data is being added to the database</li>
</ul>
<p>
Metrics for TokuDB v4:
</p>
<table border=1>
<tr>
<td width="50" align="center">  Keys         </td>
<td width="75" align="center">  Row Len      </td>
<td width="75" align="center">  Rows/sec     </td>
<td width="100" align="center"> KV-pairs/sec </td>
<td width="50" align="center">  MB/sec       </td>
</tr>
<tr>
<td align="center"> 1    </td>
<td align="center"> 64   </td>
<td align="center"> 142K </td>
<td align="center"> 142K </td>
<td align="center"> 9.1  </td>
</tr>
<tr>
<td align="center"> 4    </td>
<td align="center"> 64   </td>
<td align="center"> 82K  </td>
<td align="center"> 330K </td>
<td align="center"> 5.3  </td>
</tr>
<tr>
<td align="center"> 1    </td>
<td align="center"> 256  </td>
<td align="center"> 54K  </td>
<td align="center"> 54K  </td>
<td align="center"> 13.9 </td>
</tr>
<tr>
<td align="center"> 4    </td>
<td align="center"> 256  </td>
<td align="center"> 43K  </td>
<td align="center"> 173K </td>
<td align="center"> 11.1 </td>
</tr>
</table>
<p>
These results show
</p>
<ol>
<li>significant parallelization (we believe larger CPU core count machines will see even larger benefits)</li>
<li>a significant jump in absolute load performance</li>
<li>speed-ups are not limited to tables with many keys &#8211; even the 1 key tables are 5-7x faster</li>
</ol>
<p>
We will report further results, especially speedups on larger CPU count machines, as they become available.</p><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25750&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25750&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://tokutek.com/2010/09/loading-tables-with-tokudb-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at MySQL Sunday</title>
		<link>http://mysqlha.blogspot.com/2010/09/speaking-at-mysql-sunday.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=speaking-at-mysql-sunday</link>
		<comments>http://mysqlha.blogspot.com/2010/09/speaking-at-mysql-sunday.html#comments</comments>
		<pubDate>Thu, 02 Sep 2010 14:31:00 +0000</pubDate>
		<dc:creator>Mark Callaghan</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">tag:blogger.com,1999:blog-5915567578707286635.post-7633823412011969042</guid>
		<description><![CDATA[I am speaking at MySQL Sunday. The title for my talk is Success with MySQL and I will focus on things that &#160;operations and users can do to make a MySQL deployment succeed. There are many interesting talks scheduled for Sunday, including several at the same time as mine. I hope to see you there.]]></description>
			<content:encoded><![CDATA[I am speaking at MySQL Sunday. The title for my talk is <a href="http://www.oracle.com/us/openworld/mysql-sunday-078000.html">Success with MySQL</a> and I will focus on things that &nbsp;operations and users can do to make a MySQL deployment succeed. There are many interesting talks scheduled for Sunday, including several at the same time as mine. I hope to see you there.<div><img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/5915567578707286635-7633823412011969042?l=mysqlha.blogspot.com" alt="" /></div><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25749&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25749&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://mysqlha.blogspot.com/2010/09/speaking-at-mysql-sunday.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at MySQL Sunday</title>
		<link>http://mysqlha.blogspot.com/2010/09/speaking-at-mysql-sunday.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=speaking-at-mysql-sunday</link>
		<comments>http://mysqlha.blogspot.com/2010/09/speaking-at-mysql-sunday.html#comments</comments>
		<pubDate>Thu, 02 Sep 2010 14:31:00 +0000</pubDate>
		<dc:creator>Mark Callaghan</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">tag:blogger.com,1999:blog-5915567578707286635.post-7633823412011969042</guid>
		<description><![CDATA[I am speaking at MySQL Sunday. The title for my talk is Success with MySQL and I will focus on things that &#160;operations and users can do to make a MySQL deployment succeed. There are many interesting talks scheduled for Sunday, including several at the same time as mine. I hope to see you there.]]></description>
			<content:encoded><![CDATA[I am speaking at MySQL Sunday. The title for my talk is <a href="http://www.oracle.com/us/openworld/mysql-sunday-078000.html">Success with MySQL</a> and I will focus on things that &nbsp;operations and users can do to make a MySQL deployment succeed. There are many interesting talks scheduled for Sunday, including several at the same time as mine. I hope to see you there.<div><img width="1" height="1" src="https://blogger.googleusercontent.com/tracker/5915567578707286635-7633823412011969042?l=mysqlha.blogspot.com" alt="" /></div><br/>PlanetMySQL Voting:
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25749&vote=1&apivote=1">Vote UP</a> /
	 <a href="http://planet.mysql.com/entry/vote/?entry_id=25749&vote=-1&apivote=1">Vote DOWN</a>]]></content:encoded>
			<wfw:commentRss>http://mysqlha.blogspot.com/2010/09/speaking-at-mysql-sunday.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.501 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-03 19:23:15 -->
<!-- Compression = gzip -->