<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: When would you use SAN with MySQL ?</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:23:57 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Robert Hodges</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-513516</link>
		<dc:creator>Robert Hodges</dc:creator>
		<pubDate>Fri, 20 Mar 2009 16:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-513516</guid>
		<description>@Chad, 

Have a look at what we are doing with Tungsten Replicator (http://www.continuent.com/community/tungsten-replicator).  One of the problems with multiple slaves is that you have difficulty promoting a slave to master because the other slaves are holding references to the original files in the old master&#039;s binlog directory.  We use global replication IDs which solves that problem.  There are other solutions mentioned above (like DRBD); however, I think the slave promotion problem is a substantial reason for the popularity of MMM.  

Cheers, Robert</description>
		<content:encoded><![CDATA[<p>@Chad, </p>
<p>Have a look at what we are doing with Tungsten Replicator (<a href="http://www.continuent.com/community/tungsten-replicator)" rel="nofollow">http://www.continuent.com/community/tungsten-replicator)</a>.  One of the problems with multiple slaves is that you have difficulty promoting a slave to master because the other slaves are holding references to the original files in the old master&#8217;s binlog directory.  We use global replication IDs which solves that problem.  There are other solutions mentioned above (like DRBD); however, I think the slave promotion problem is a substantial reason for the popularity of MMM.  </p>
<p>Cheers, Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nils</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-508677</link>
		<dc:creator>Nils</dc:creator>
		<pubDate>Mon, 16 Mar 2009 15:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-508677</guid>
		<description>Scott:

Usually Supermicro boxes are just commodity hardware, you don&#039;t have to use their boards with the chassis. Also the choice of RAID Controller is usually yours to make (which is nice, given that there are at least some vendors who ship *decent* CLI tools for linux like 3ware, not just drivers). I don&#039;t buy directly from supermicro though, I don&#039;t know if you can even get a complete server (loaded with CPUs, disks, RAM and so on) from them. The reason to buy IBM, Dell, Sun or HP (forgot anyone?) is usually Service Level Agreements, you&#039;ll always have the same guys to yell at when something breaks (be it disk, fan, PSU, whatever) ;)</description>
		<content:encoded><![CDATA[<p>Scott:</p>
<p>Usually Supermicro boxes are just commodity hardware, you don&#8217;t have to use their boards with the chassis. Also the choice of RAID Controller is usually yours to make (which is nice, given that there are at least some vendors who ship *decent* CLI tools for linux like 3ware, not just drivers). I don&#8217;t buy directly from supermicro though, I don&#8217;t know if you can even get a complete server (loaded with CPUs, disks, RAM and so on) from them. The reason to buy IBM, Dell, Sun or HP (forgot anyone?) is usually Service Level Agreements, you&#8217;ll always have the same guys to yell at when something breaks (be it disk, fan, PSU, whatever) <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-508246</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 16 Mar 2009 06:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-508246</guid>
		<description>I would recommend avoiding Supermicro machines in production server enviroments. This past august I replaced 3 older super micro machines with IBM Servers.  I prefer having technologies like RSA, Server raid, memory chip kill, ability to obtain parts fairly easly even after the server is 3 years old. Also with RSA you can restart the server if its hard locked as well as obtain a fairly good idea whats wrong with the server without visiting your data center. Server raid is a great tool as well, sends you notifications when something is wrong with drives or raid controller. Also we had a number of IBM servers that were purchased initally without power supplies and we had very little trouble tracking down additional power supplies for these machines even after 3 years. All i can say about supermicro after 3 years is good luck even finding a firmware update after 3 years.

I pulled a number of supermicro servers out of production that were running fedora and i tried to replace with CentOS 4 and 5 and found that it was extremely hard to make the raid controllers on most of these machines work unlike the IBM machines. I&#039;m not 100% sure how fedora was even installed on these machines, best guess is someone spent hours trying all kinds of experaments with drivers disk before find something that worked. 

Also i love being able to download all the firmware and drivers for the machines from one place and being able to punch in a machine type into a search box and get everything i need for the machine.  If you want a server that holds lots of disk have a look at the sun storage servers that have 50 disks in them. I&#039;m not a big fan of sun hardware due to some bad experiences with Sun V20 servers, but i like these machines. Were looking into deploying a vmware esxi solution for our App servers with NAS storage and these would be a great idea.</description>
		<content:encoded><![CDATA[<p>I would recommend avoiding Supermicro machines in production server enviroments. This past august I replaced 3 older super micro machines with IBM Servers.  I prefer having technologies like RSA, Server raid, memory chip kill, ability to obtain parts fairly easly even after the server is 3 years old. Also with RSA you can restart the server if its hard locked as well as obtain a fairly good idea whats wrong with the server without visiting your data center. Server raid is a great tool as well, sends you notifications when something is wrong with drives or raid controller. Also we had a number of IBM servers that were purchased initally without power supplies and we had very little trouble tracking down additional power supplies for these machines even after 3 years. All i can say about supermicro after 3 years is good luck even finding a firmware update after 3 years.</p>
<p>I pulled a number of supermicro servers out of production that were running fedora and i tried to replace with CentOS 4 and 5 and found that it was extremely hard to make the raid controllers on most of these machines work unlike the IBM machines. I&#8217;m not 100% sure how fedora was even installed on these machines, best guess is someone spent hours trying all kinds of experaments with drivers disk before find something that worked. </p>
<p>Also i love being able to download all the firmware and drivers for the machines from one place and being able to punch in a machine type into a search box and get everything i need for the machine.  If you want a server that holds lots of disk have a look at the sun storage servers that have 50 disks in them. I&#8217;m not a big fan of sun hardware due to some bad experiences with Sun V20 servers, but i like these machines. Were looking into deploying a vmware esxi solution for our App servers with NAS storage and these would be a great idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-505568</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Sat, 14 Mar 2009 05:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-505568</guid>
		<description>@Peter, @Baron,

Thanks a lot for the information, appreciate it. Have found distributors for the Supermicro machines. It&#039;s pretty amazing to see this 24 drives machine.

Peter: &quot;if you use LVM you can also get another shelf of drives and so expand storage.&quot; - but limited to local drives or external SCSI, right?</description>
		<content:encoded><![CDATA[<p>@Peter, @Baron,</p>
<p>Thanks a lot for the information, appreciate it. Have found distributors for the Supermicro machines. It&#8217;s pretty amazing to see this 24 drives machine.</p>
<p>Peter: &#8220;if you use LVM you can also get another shelf of drives and so expand storage.&#8221; &#8211; but limited to local drives or external SCSI, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-505443</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 14 Mar 2009 03:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-505443</guid>
		<description>Shomi,

Regarding growth - if you use LVM you can also get another shelf of drives and so expand storage.  
Regarding drives the 8 is the classic limit these days though many offer external directly attached storage which is more expensive than just internal drives but far cheaper than SAN.

What Baron tells about Drives is true. Check this out:
http://www.supermicro.com/products/chassis/2U/216/SC216A-R900U.cfm

This is 2U chassis from the inexpensive vendor which offers 24 drives</description>
		<content:encoded><![CDATA[<p>Shomi,</p>
<p>Regarding growth &#8211; if you use LVM you can also get another shelf of drives and so expand storage.<br />
Regarding drives the 8 is the classic limit these days though many offer external directly attached storage which is more expensive than just internal drives but far cheaper than SAN.</p>
<p>What Baron tells about Drives is true. Check this out:<br />
<a href="http://www.supermicro.com/products/chassis/2U/216/SC216A-R900U.cfm" rel="nofollow">http://www.supermicro.com/products/chassis/2U/216/SC216A-R900U.cfm</a></p>
<p>This is 2U chassis from the inexpensive vendor which offers 24 drives</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-505422</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 14 Mar 2009 02:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-505422</guid>
		<description>Marki,

I&#039;m comparing the same number of drives.   Note if you have SAN with 200 drives you will likely have multiple servers compared to it which all will share resources.  For example it could be compared to 10 servers with shelf of 20 drives compared to it.    Indeed because the servers may have spikes at different types there is the potential for the gains.   With a lot of Sharded applications with MySQL the load is however very ballanced and predictable with spikes well aligned so gain is less.  Also note the complication with performance analisis - Virtual volume is not predictable - sometimes you have performance of 200 drives dedicated to you and sometimes you may end up competing with 20 applications for the same. 

Now regarding write acknowledgment.  Indeed you get no more than 1ms for SAN while you get  something like 50 microseconds  for the BBU on the local RAID - you just have PCI Express to reach the cache which is a bit shorter. 

And again you mention the cost here quite correctly.  My point is SAN is rarely a path to cost efficient performance.</description>
		<content:encoded><![CDATA[<p>Marki,</p>
<p>I&#8217;m comparing the same number of drives.   Note if you have SAN with 200 drives you will likely have multiple servers compared to it which all will share resources.  For example it could be compared to 10 servers with shelf of 20 drives compared to it.    Indeed because the servers may have spikes at different types there is the potential for the gains.   With a lot of Sharded applications with MySQL the load is however very ballanced and predictable with spikes well aligned so gain is less.  Also note the complication with performance analisis &#8211; Virtual volume is not predictable &#8211; sometimes you have performance of 200 drives dedicated to you and sometimes you may end up competing with 20 applications for the same. </p>
<p>Now regarding write acknowledgment.  Indeed you get no more than 1ms for SAN while you get  something like 50 microseconds  for the BBU on the local RAID &#8211; you just have PCI Express to reach the cache which is a bit shorter. </p>
<p>And again you mention the cost here quite correctly.  My point is SAN is rarely a path to cost efficient performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chad</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-505013</link>
		<dc:creator>chad</dc:creator>
		<pubDate>Fri, 13 Mar 2009 20:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-505013</guid>
		<description>Peter, Baron,
I&#039;ve seen a few posts here mention MMM. Do you guys generally set things up in master-master? I guess I&#039;ve always set things up in Master-Slave(*x), I&#039;d worry that we&#039;d run out of read capacity with just two nodes.</description>
		<content:encoded><![CDATA[<p>Peter, Baron,<br />
I&#8217;ve seen a few posts here mention MMM. Do you guys generally set things up in master-master? I guess I&#8217;ve always set things up in Master-Slave(*x), I&#8217;d worry that we&#8217;d run out of read capacity with just two nodes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-502438</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 11 Mar 2009 13:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-502438</guid>
		<description>@Aurimas,
With regard to sharing OS disks with data disks - those are good points. I myself am not a sys admin expert, and so tend to rely on conservative conventions. Will ask around, though, to learn of various opinions.
Running out of memory before running out of disk space - well, those two are related, I guess. The larger the dataset, the larger the buffer pool you would want to allocate. As for running out of CPUs - with InnoDB you don&#039;t get much gain over 8 cores (if at all?). Maybe Falcon would be different...

@Baron,
I always wondered why they don&#039;t design our normal family vehicles after cool racing cars. It&#039;s just the bending... Everything in our world revolves around that, I suppose...
Good to head about &#039;supermicro&#039;. Will look them up. Need to check if they bring these to my country.

Shlomi</description>
		<content:encoded><![CDATA[<p>@Aurimas,<br />
With regard to sharing OS disks with data disks &#8211; those are good points. I myself am not a sys admin expert, and so tend to rely on conservative conventions. Will ask around, though, to learn of various opinions.<br />
Running out of memory before running out of disk space &#8211; well, those two are related, I guess. The larger the dataset, the larger the buffer pool you would want to allocate. As for running out of CPUs &#8211; with InnoDB you don&#8217;t get much gain over 8 cores (if at all?). Maybe Falcon would be different&#8230;</p>
<p>@Baron,<br />
I always wondered why they don&#8217;t design our normal family vehicles after cool racing cars. It&#8217;s just the bending&#8230; Everything in our world revolves around that, I suppose&#8230;<br />
Good to head about &#8217;supermicro&#8217;. Will look them up. Need to check if they bring these to my country.</p>
<p>Shlomi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-502425</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Wed, 11 Mar 2009 13:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-502425</guid>
		<description>Shlomi,

The limitations on local disks are usually because the manufacturers want to limit you, not because it&#039;s impossible to do.  They have higher margins on SAN and other external storage devices which are not commodity items.  But some manufacturers (supermicro, for example) will let you put lots of disks inside the chassis itself.</description>
		<content:encoded><![CDATA[<p>Shlomi,</p>
<p>The limitations on local disks are usually because the manufacturers want to limit you, not because it&#8217;s impossible to do.  They have higher margins on SAN and other external storage devices which are not commodity items.  But some manufacturers (supermicro, for example) will let you put lots of disks inside the chassis itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aurimas Mikalauskas</title>
		<link>http://www.mysqlperformanceblog.com/2009/03/09/when-would-you-use-san-with-mysql/comment-page-1/#comment-502366</link>
		<dc:creator>Aurimas Mikalauskas</dc:creator>
		<pubDate>Wed, 11 Mar 2009 11:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=640#comment-502366</guid>
		<description>Shlomi,

sure, OS being on separate disks will not hurt, all I say - they could help a lot if MySQL had more disks to operate on i.e. 6 rather than 4 in the case with 6 slots you mentioned with OS sleeping on 5G in the corner anyway. Also, I&#039;m not sure I understand reasoning behind using smallest disks for OS - except for the price of course, though difference ain&#039;t significant these days.

Regarding &quot;OS is above all else and should always function&quot; - on a dedicated MySQL server I see no big difference whether OS (and MySQL) is down or only MySQL in case of say 2-disk failure in RAID-5 - in both cases MySQL service is not available and you have to physically fix the server anyway (or do some trick over KVM if it is fixable). Filesystem corruption is different case, but sure I agree MySQL is better off on different file system than OS.

Disk space needs indeed can be very dynamic, but quite often disk space and other resource needs for MySQL-backed applications correlate while scaling and I happen to find server needs more memory or CPUs [than it can accommodate] sooner. This is just my experience and it varies a lot from application to application - indeed &quot;you never know&quot; ;)

Cheers!</description>
		<content:encoded><![CDATA[<p>Shlomi,</p>
<p>sure, OS being on separate disks will not hurt, all I say &#8211; they could help a lot if MySQL had more disks to operate on i.e. 6 rather than 4 in the case with 6 slots you mentioned with OS sleeping on 5G in the corner anyway. Also, I&#8217;m not sure I understand reasoning behind using smallest disks for OS &#8211; except for the price of course, though difference ain&#8217;t significant these days.</p>
<p>Regarding &#8220;OS is above all else and should always function&#8221; &#8211; on a dedicated MySQL server I see no big difference whether OS (and MySQL) is down or only MySQL in case of say 2-disk failure in RAID-5 &#8211; in both cases MySQL service is not available and you have to physically fix the server anyway (or do some trick over KVM if it is fixable). Filesystem corruption is different case, but sure I agree MySQL is better off on different file system than OS.</p>
<p>Disk space needs indeed can be very dynamic, but quite often disk space and other resource needs for MySQL-backed applications correlate while scaling and I happen to find server needs more memory or CPUs [than it can accommodate] sooner. This is just my experience and it varies a lot from application to application &#8211; indeed &#8220;you never know&#8221; <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
