<?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>SoftLayer Blog &#187; managed services</title>
	<atom:link href="http://blog.softlayer.com/tag/managed-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.softlayer.com</link>
	<description>A Behind the Scenes Look at the Best Hosting Provider in the World</description>
	<lastBuildDate>Wed, 15 May 2013 15:33:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>MySQL Slow? Check for Fragmentation.</title>
		<link>http://blog.softlayer.com/2011/mysql-slow-check-for-fragmentation/</link>
		<comments>http://blog.softlayer.com/2011/mysql-slow-check-for-fragmentation/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 13:30:21 +0000</pubDate>
		<dc:creator>Lee Thompson</dc:creator>
				<category><![CDATA[Customer Service]]></category>
		<category><![CDATA[SoftLayer]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[fragmented]]></category>
		<category><![CDATA[managed hosting]]></category>
		<category><![CDATA[managed services]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.softlayer.com/2011/</guid>
		<description><![CDATA[Let&#8217;s say you have a website and you notice that any calls to your MySQL database take longer to render. If you don&#8217;t have a Database Administrator (DBA), this can be pretty frustrating. SoftLayer&#8217;s Managed Hosting line of business employs some of the best DBAs in the country and is one of the only managed [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you have a website and you notice that any calls to your MySQL database take longer to render. If you don&#8217;t have a Database Administrator (DBA), this can be pretty frustrating. SoftLayer&#8217;s <a href="http://www.softlayer.com/managed-ps">Managed Hosting</a> line of business employs some of the best DBAs in the country and is one of the only managed hosting providers that offers MySQL and MsSQL DBA services, and I don&#8217;t just say that because I&#8217;m one of them &#8230; We&#8217;ve got the certifications to prove it. <img src='http://blog.softlayer.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Given my area of expertise, I wanted to share a few some simple tips with you to help you tweak variables and improve the performance of your MySQL server. Given that every application is different, this isn&#8217;t necessarily a one-size-fits-all solution, but it&#8217;ll at least give you a starting point for troubleshooting.</p>
<p><strong>First: Get mysqltuner.pl.</strong> This is a fine script by Major Hayden that will give you some valuable information regarding the performance of your MySQL server. </p>
<p><strong>Second: Look for fragmented tables.</strong> What are fragmented tables? If there are random insertions into or deletions from the indexes of a table, the indexes may become fragmented. Fragmentation means that the physical ordering of the index pages on the disk is not close to the index ordering of the records on the pages or that there are many unused pages in the 64-page blocks that were allocated to the index. The symptoms of fragmented tables can be that table can take more disk space than needed or the results may return slower with more disk I/O than needed. <a href="http://www.innodb.com/">INNODB</a> users need to check the fragmentation often because when INNODB marks data as deleted, it never overwrites the blocks with new data &#8230; It just marks them as unusable. As a result, the data size is artificially inflated and data retrieval is slowed. </p>
<p>Fortunately, there is a way to see your table fragmentation and that is to run a query against the <code>information_schemea</code> to show all tables that are fragmented and the percentage of fragmentation:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">SELECT TABLE_SCHEMA, TABLE_NAME, CONCAT<span style="color: #7a0874; font-weight: bold;">&#40;</span>ROUND<span style="color: #7a0874; font-weight: bold;">&#40;</span>data_length <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #000000;">1024</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">1024</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #ff0000;">'MB'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> DATA, CONCAT<span style="color: #7a0874; font-weight: bold;">&#40;</span>ROUND<span style="color: #7a0874; font-weight: bold;">&#40;</span>data_free  <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #000000;">1024</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">1024</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #ff0000;">'MB'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>FREE from information_schema.TABLES where TABLE_SCHEMA NOT IN <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'information_schema'</span>,<span style="color: #ff0000;">'mysql'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> and Data_free <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000;">0</span>;</pre></div></div>

<p>Fixing the fragmentation is easy, but there are a few caveats. When defragmenting a table, it will lock the table, so make sure you can afford the lock. To fix fragmented tables, you can simply run <code>optimize table &lt;table name&gt;;</code> to rebuild the table and all indexes or you can change the engine of the table with <code>alter table &lt;table name&gt; engine = INNODB;</code></p>
<p>I have written a simple bash script in bash to go through, defragment and optimize your tables:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">MYSQL_LOGIN</span>=<span style="color: #ff0000;">'-u&lt;user name&gt; --password=&lt;passowrd&gt;'</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> db <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;SHOW DATABASES;&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #007800;">$MYSQL_LOGIN</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;Database&quot;</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;information_schema&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #007800;">TABLES</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;USE <span style="color: #007800;">$db</span>; SHOW TABLES;&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #007800;">$MYSQL_LOGIN</span> <span style="color: #000000; font-weight: bold;">|</span>  <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> Tables_in_<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Switching to database <span style="color: #007800;">$db</span>&quot;</span>
        <span style="color: #000000; font-weight: bold;">for</span> table <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$TABLES</span>
        <span style="color: #000000; font-weight: bold;">do</span>
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot; * Optimizing table <span style="color: #007800;">$table</span> ... &quot;</span>
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;USE <span style="color: #007800;">$db</span>; OPTIMIZE TABLE <span style="color: #007800;">$table</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> mysql <span style="color: #007800;">$MYSQL_LOGIN</span> <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;done.&quot;</span>
        <span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>You&#8217;d be surprised how much of an impact table fragmentation has on MySQL performance, and this is an easy way to quickly troubleshoot your database that &#8220;isn&#8217;t as fast as it used to be.&#8221; If you follow the above steps and still can&#8217;t make sense of what&#8217;s causing your database to lag, our Managed Hosting team is always here to work with you to get your servers back in shape &#8230; And with the flexibility of month-to-month contract terms and the ability to add managed capabilities to specific pieces of your infrastructure, we have to earn your business every month with spectacular service.</p>
<p>-Lee</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2011/mysql-slow-check-for-fragmentation/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Industry-Wide Language Barrier</title>
		<link>http://blog.softlayer.com/2008/industry-wide-language-barrier/</link>
		<comments>http://blog.softlayer.com/2008/industry-wide-language-barrier/#comments</comments>
		<pubDate>Fri, 09 May 2008 19:41:38 +0000</pubDate>
		<dc:creator>Doug Jackson</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[expectations]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[lingo]]></category>
		<category><![CDATA[managed]]></category>
		<category><![CDATA[managed services]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[provider]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[terminology]]></category>

		<guid isPermaLink="false">http://theinnerlayer.softlayer.com/?p=132</guid>
		<description><![CDATA[What language do we speak here at Softlayer? What language is spoken across the industry? Is it the same, or does everyone have their own code for translation? It seems that in the “on demand datacenter industry”, “hosting industry”, “dedicated server industry” (or whatever you prefer to call it) each company or provider has its [...]]]></description>
			<content:encoded><![CDATA[<p>What language do we speak here at Softlayer?  What language is spoken across the industry?  Is it the same, or does everyone have their own code for translation?</p>
<p>It seems that in the “on demand datacenter industry”, “hosting industry”, “dedicated server industry” (or whatever you prefer to call it) each company or provider has its own idea and way of projecting who they are.  These projections are seldom in line with one another and have a slight difference only to give some idea of separation.  </p>
<p>The biggest grey area that I have seen and something that gets distorted is the idea of managed services and just the term “management” in general seems to have lost any kind of universal meaning.  The thing that I run into most is when a customer asks us if we are a managed company.  I find this to be a loaded question knowing what I know of the industry and other providers.  The reason is that you can call your service anything you want to and even come up with clever and creative names for it, but at the end of the day creative marketing doesn’t get results when the rubber meets the road.  </p>
<p>It is imperative that the correct expectations are set so that customers aren’t lead astray and find themselves in a situation that they were unprepared for because they were disillusioned by gimmicky wording.  Softlayer has the reputation of being an honorable company and I am proud to be a part of that.  We do not consider ourselves to be a managed service, but we do offer support and help in many situations.  We have support staff here 24 hours every day of the year that can help you, or possibly help point you in a good direction for you to be able to help yourself.  We offer OS updates and patches at no additional charge automatically.  We strive to be as upfront and fair on everything from the bottom to the top, so I feel that it is my duty to explain this situation in more detail.  In fact, all of our sales representatives and many of our customers have felt this same way.  What I have found is that this upfront and honest explanation is a rarity and that many companies are not as forthcoming as they could be or should be when discussing “managed services”.   </p>
<p>There are a lot of companies who provide the exact same services as we do and call this being “fully managed”.  There are others who promise the moon and a shoe shine with their service and then just come up short on the efforts.  Now, this may not be entirely their fault because they may have excellent intentions, but a poor and impractical business model.  However, intentions don’t get results and customers are the ones who pay most for the misrepresentation.  The worst situation is when someone pays a huge premium for a service that is overpromised and then severely under delivered.  When I am able to talk to someone who has been in this situation they really appreciate the options and control that they have over every aspect of their service when choosing Softlayer as their provider.  The only satisfaction I can get is helping people that have been taken advantage of find a provider that they know they can count on and exactly what they can expect.  </p>
<p>This elaboration of services extends beyond server management.  No matter what buzz words a company may want to use to describe your company (“largest”, “best”, “heroic”, “ultimate”, really just fill in the blank on this if you’ve been around long enough.) the main thing that matters in this industry is functionality.  I am confident in saying that no other company can offer anything close to what Softlayer can provide.  Softlayer provides options and capabilities which are unparalleled in the industry in order to give customers complete control over their hardware and thus their own business.   There are some that have tried to copy our model and others who have tried to produce a stop-gap solution between what they offer and what we offer, but they have failed.  Is this, perhaps, a key reason why we have been able to sustain our high level of growth and remain stable?  Possibly. Is this a sign that the best is yet to come with Softlayer? Definitely.</p>
<p>If you want to talk about situations or projects you may have coming up, I would be happy to speak with you and help come up with a solution that will maximize your businesses potential.  In fact my entire team is here for this specific purpose. </p>
<p>-Doug</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softlayer.com/2008/industry-wide-language-barrier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
