<?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>ShainMiley.com</title>
	<atom:link href="http://www.shainmiley.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.shainmiley.com/wordpress</link>
	<description>Techmology...what is it allabout?</description>
	<lastBuildDate>Sat, 17 Apr 2010 16:20:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>O&#8217;Reilly MySQL Conference &amp; Expo 2010 Keynote Vidoes</title>
		<link>http://www.shainmiley.com/wordpress/?p=191</link>
		<comments>http://www.shainmiley.com/wordpress/?p=191#comments</comments>
		<pubDate>Fri, 16 Apr 2010 16:39:58 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[NPR]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=191</guid>
		<description><![CDATA[For those of us who were not able to attend this years Mysql Conference in Santa Clara, CA, the  keynote videos have been posted online for your viewing pleasure!
UPDATE:
Here is a link to another location (Youtube), that has some more of the videos from the Mysql Conference, including the one given on Oracle to [...]]]></description>
			<content:encoded><![CDATA[<p>For those of us who were not able to attend this years Mysql Conference in Santa Clara, CA, the <a href="http://www.youtube.com/view_play_list?p=57E661D0569B26EE"> keynote videos</a> have been posted online for your viewing pleasure!</p>
<p>UPDATE:</p>
<p>Here is a link to another location (Youtube), that has some more of the videos from the Mysql Conference, including the one given on <a href="http://www.youtube.com/watch?v=V3XjuGTQVQk&amp;feature=channel">Oracle to Mysql migration</a> given by NPR&#8217;s own Joanne Garlow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=191</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raid Controller Caching Options</title>
		<link>http://www.shainmiley.com/wordpress/?p=187</link>
		<comments>http://www.shainmiley.com/wordpress/?p=187#comments</comments>
		<pubDate>Fri, 16 Apr 2010 14:50:51 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=187</guid>
		<description><![CDATA[Here is a quick link to a blog post that talks about RAID caching for various database workloads.  The post also lists some of the popular RAID cards that are being put into use today, as well as  some interesting features that the author feels are missing from these current lineup of available RAID cards.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://venublog.com/2010/04/15/raid-controllers-cache-management-missing-features/">Here</a> is a quick link to a blog post that talks about RAID caching for various database workloads.  The post also lists some of the popular RAID cards that are being put into use today, as well as  some interesting features that the author feels are missing from these current lineup of available RAID cards.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=187</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NPR developer talk at O&#8217;Reilly MySQL Conference and Expo 2010</title>
		<link>http://www.shainmiley.com/wordpress/?p=181</link>
		<comments>http://www.shainmiley.com/wordpress/?p=181#comments</comments>
		<pubDate>Mon, 12 Apr 2010 16:09:49 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[NPR]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=181</guid>
		<description><![CDATA[Joanne Garlow one of the Senior developers here at NPR , will be giving a talk this Tuesday at the 2010 O&#8217;Reilly MySQL Conference and Expo in Santa Clara, CA.  The talk is entitled &#8216;Migration from Oracle to Mysql : An NPR Case Study&#8217; and will focus on some of the &#8216;lessons learned&#8217; during our [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.oreilly.com/mysql2010/public/schedule/speaker/76480">Joanne Garlow</a> one of the Senior developers here at <a href="http://npr.org">NPR</a><a href="http://en.oreilly.com/mysql2010/public/schedule/speaker/76480"> </a>, will be giving a <a href="http://en.oreilly.com/mysql2010/public/schedule/detail/13404">talk</a> this Tuesday at the 2010 O&#8217;Reilly MySQL Conference and Expo in <span id="main" style="visibility: visible;"><span id="search" style="visibility: visible;">Santa Clara, CA.  The talk is entitled &#8216;Migration from Oracle to Mysql : An NPR Case Study&#8217; and will focus on some of the &#8216;lessons learned&#8217; during our recent Oracle to Mysql migration, it will also cover some of the tools that we found useful during the migration as well as some of the issues we encountered concerning character encoding and </span></span>concurrency.</p>
<p>If you are thinking about converting your backend databases from Oracle to Mysql and you are attending this conference, you should attend this talk, as I am sure it will be very informative and quite helpful to you going forward.</p>
<p><span id="main" style="visibility: visible;"><span id="search" style="visibility: visible;"><br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=181</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql slow log parsing with Maatkit</title>
		<link>http://www.shainmiley.com/wordpress/?p=160</link>
		<comments>http://www.shainmiley.com/wordpress/?p=160#comments</comments>
		<pubDate>Mon, 12 Apr 2010 15:43:33 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maatkit]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=160</guid>
		<description><![CDATA[One of the tools that is included with Maatkit is called &#8216;mk-query-digest&#8217;.  If you have Mysql slow logging enabled, this perl script can me used to examine these entries, and provide a very useful and user friendly report that will help you understand the queries that are exceeding your current slow log threshold.  You can [...]]]></description>
			<content:encoded><![CDATA[<p>One of the tools that is included with <a href="http://www.maatkit.org/">Maatkit</a> is called &#8216;mk-query-digest&#8217;.  If you have Mysql slow logging enabled, this perl script can me used to examine these entries, and provide a very useful and user friendly report that will help you understand the queries that are exceeding your current slow log threshold.  You can then take the results and determine whether or not you have opportunity to do some schema and/or query optimization.</p>
<p>In order to get the ball rolling all you need to do is execute the following command:</p>
<p>&#8216;perl /path/to/mk-query-digest /path/to/slow.log&#8217;</p>
<p>Once you do you will be presented with a report similar to the following:</p>
<p># 200ms user time, 10ms system time, 9.59M rss, 11.17M vsz<br />
# Overall: 199 total, 8 unique, 0.92 QPS, 3.44x concurrency ______________<br />
#                    total     min     max     avg     95%  stddev  median<br />
# Exec time           745s      1s     15s      4s      9s      3s      3s<br />
# Lock time            4ms       0   159us    21us    66us    18us    16us<br />
# Rows sent         16.35M       0 381.59k  84.16k 298.06k  81.83k  76.03k<br />
# Rows exam         16.35M       0 381.59k  84.16k 298.06k  81.83k  76.03k<br />
# Time range        2010-03-04 18:32:44 to 2010-03-04 18:36:21<br />
# bytes             55.53k       6   7.67k  285.75  313.99  519.23  271.23</p>
<p><span id="more-160"></span></p>
<p># Query 1: 1.18 QPS, 4.96x concurrency, ID 0&#215;46C7739F1C54146B at byte 88363<br />
# This item is included in the report because it matches &#8211;limit.<br />
#              pct   total     min     max     avg     95%  stddev  median<br />
# Count         72     144<br />
# Exec time     81    605s      1s     15s      4s     10s      3s      3s<br />
# Lock time     59     3ms    10us    31us    17us    21us     3us    16us<br />
# Rows sent     93  15.31M  36.79k 381.59k 108.88k 298.06k  80.73k  76.03k<br />
# Rows exam     93  15.31M  36.79k 381.59k 108.88k 298.06k  80.73k  76.03k<br />
# Users                  1 service_manager<br />
# Hosts                  1 localhost<br />
# Databases              1     mem<br />
# Time range 2010-03-04 18:34:19 to 2010-03-04 18:36:21<br />
# bytes         72  40.09k     267     332  285.08  313.99   17.02  271.23<br />
# Query_time distribution<br />
#   1us<br />
#  10us<br />
# 100us<br />
#   1ms<br />
#  10ms<br />
# 100ms<br />
#    1s  ################################################################<br />
#  10s+  ####<br />
# Tables<br />
#    SHOW TABLE STATUS FROM `mem` LIKE &#8216;dc_ng_long_now&#8217;\G<br />
#    SHOW CREATE TABLE `mem`.`dc_ng_long_now`\G<br />
# EXPLAIN<br />
SELECT end_time, end_time /*begin_time*/, value, 1 /* value_count */, instance_attribute_id<br />
FROM dc_ng_long_now<br />
WHERE<br />
instance_attribute_id IN ( 172933,172907,172908,172925,172924,172988,172989,172887,172886,172868 )<br />
AND end_time &lt;= 1267727680328<br />
AND end_time &gt;= 1265308420328<br />
ORDER BY instance_attribute_id, end_time ASC\G</p>
<p>&#8230;&#8230;&#8230;&#8230;..</p>
<p># Profile<br />
# Rank Query ID                   Response time     Calls  R/Call         Item<br />
# ==== ===========    =========     === ====    ==========<br />
#    1 0&#215;46C7739F1C54146B   604.8944 85.1%  144    4.2007    SELECT dc_ng_long_now<br />
#    2 0&#215;36DEFABC1BFA37A0  40.2883   5.7%     16    2.5180    UPDATE inventory_instance_attributes<br />
#    3 0&#215;8B68CA21D4CB9519  37.5560   5.3%     11    3.4142    SELECT dc_ng_double_now<br />
#    4 0&#215;813031B8BBC3B329   27.8052  3.9%      17    1.6356    COMMIT</p>
<p>You will see some overall statistics at the very top, followed by a list of individual queries with specific details, and finally a summery of the results.</p>
<p>You can also use this tool to look at server statistics in real-time, without the use of the slow log, for example:</p>
<p>&#8216;perl mk-query-digest &#8211;user adminuser &#8211;password adminpasswd &#8211;processlist localhost &#8211;interval 0.01&#8242;</p>
<p>This command will login to the mysql server running on localhost,  using the administrator username and password and look at the processlist every 0.01 seconds and produce the same type of report (after you exit the script) using real-time data instead of the entries from the mysql slow log.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying ethernet interface order in Debian</title>
		<link>http://www.shainmiley.com/wordpress/?p=144</link>
		<comments>http://www.shainmiley.com/wordpress/?p=144#comments</comments>
		<pubDate>Mon, 01 Mar 2010 05:15:49 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=144</guid>
		<description><![CDATA[Sometimes after a fresh Debian Etch install  (I am not sure if this is fixed yet in Lenny or not), the order of your ethernet interfaces will be incorrect. You may also be in a position where you have more then two NIC cards and and you wish to swap eth0 and eth1 with eth2 [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes after a fresh Debian Etch install  (I am not sure if this is fixed yet in Lenny or not), the order of your ethernet interfaces will be incorrect. You may also be in a position where you have more then two NIC cards and and you wish to swap eth0 and eth1 with eth2 and eth3, for consistency purposes for example.</p>
<p>In order to do so, you&#8217;ll need to make a change to the udev configuration file which controls which interfaces receive which names. You need to edit the following file:</p>
<p>&#8216;/etc/udev/rules.d/z25_persistent-net.rules&#8217;</p>
<p>Simply make sure that you match the proposed interface with the correct MAC address and you are all set.</p>
<p>Go ahead and restart the server and you should be all set with the correctly labeled interfaces.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=144</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subnet scanning with Nmap</title>
		<link>http://www.shainmiley.com/wordpress/?p=136</link>
		<comments>http://www.shainmiley.com/wordpress/?p=136#comments</comments>
		<pubDate>Mon, 01 Mar 2010 04:08:12 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nmap]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=136</guid>
		<description><![CDATA[If you are ever wondering which ip addresses on your network are currently being used, you can use nmap to find out.
For example to scan an entire class C subnet you can use the following command:
&#8216;nmap -sP -R 192.168.1.0/24 &#124;grep up&#8217;
This will produce a list of ip addresses which are currently being used.
You can also [...]]]></description>
			<content:encoded><![CDATA[<p>If you are ever wondering which ip addresses on your network are currently being used, you can use <a title="nmap" href="http://nmap.org" target="_blank">nmap</a> to find out.</p>
<p>For example to scan an entire class C subnet you can use the following command:</p>
<p>&#8216;nmap -sP -R 192.168.1.0/24 |grep up&#8217;</p>
<p>This will produce a list of ip addresses which are currently being used.</p>
<p>You can also use this command to find a list of inactive ip addresses when you are looking to add devices to your network:</p>
<p>&#8216;nmap -sP -R 192.168.1.0/24 |grep down&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=136</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Maatkit</title>
		<link>http://www.shainmiley.com/wordpress/?p=124</link>
		<comments>http://www.shainmiley.com/wordpress/?p=124#comments</comments>
		<pubDate>Mon, 22 Feb 2010 20:49:57 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maatkit]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=124</guid>
		<description><![CDATA[Maatkit is a group of perl scripts that provide advanced methods of administration for Mysql.
Here are a few of the more useful things that Maatkit allows you do to:

Monitor MySQL replication delay
Make a MySQL slave server lag behind its master.
Ensuring slaves have the same data as masters
Find duplicate indexes and foreign keys on MySQL tables.
Execute SQL [...]]]></description>
			<content:encoded><![CDATA[<p>Maatkit is a group of perl scripts that provide advanced methods of administration for Mysql.</p>
<p>Here are a few of the more useful things that Maatkit allows you do to:</p>
<ol>
<li>Monitor MySQL replication delay</li>
<li>Make a MySQL slave server lag behind its master.</li>
<li>Ensuring slaves have the same data as masters</li>
<li>Find duplicate indexes and foreign keys on MySQL tables.</li>
<li>Execute SQL statements and print statistics.</li>
<li>Execute queries on multiple servers and check for differences.</li>
</ol>
<p><a href="http://www.maatkit.org/">Here</a> is the link to the Maatkit website which provides more details on each of the scripts.  I will be providing some real world examples of Maatkit usage in another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=124</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Percona patches for mysql 5.1</title>
		<link>http://www.shainmiley.com/wordpress/?p=117</link>
		<comments>http://www.shainmiley.com/wordpress/?p=117#comments</comments>
		<pubDate>Thu, 11 Feb 2010 22:18:49 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=117</guid>
		<description><![CDATA[Percona has recently released some of their performance patches for Mysql 5.1.  Previous to these patches were only available for the 5.0.x codebase.
You can read more about it here. The link also provides from interesting benchmarks as well, pitting these patches vs the standard storage engine setup.
To be clear, these patches work against the built [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Percona" href="http://www.percona.com/" target="_blank">Percona</a> has recently released some of their performance patches for Mysql 5.1.  Previous to these patches were only available for the 5.0.x codebase.</p>
<p>You can read more about it<a title="here" href="http://www.mysqlperformanceblog.com/2010/02/09/introducing-percona-patches-for-5-1/" target="_self"> here.</a> The link also provides from interesting benchmarks as well, pitting these patches vs the standard storage engine setup.</p>
<p>To be clear, these patches work against the built in version of Innodb with comes standard with the Mysql server.</p>
<p>You can<a title="Xtradb" href="https://launchpad.net/percona-xtradb"> xtradb</a> if you wish to use some of the Percona patches that pertain to the Innodb plugin that is offered by Innobase</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=117</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streming media server</title>
		<link>http://www.shainmiley.com/wordpress/?p=110</link>
		<comments>http://www.shainmiley.com/wordpress/?p=110#comments</comments>
		<pubDate>Thu, 11 Feb 2010 22:09:10 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=110</guid>
		<description><![CDATA[If you are looking for a way to stream media to either your xbox360 or your ps3 from a linux machine, then I highly recommend that you have a look at this project.  Ps3 Media Server is a java app that you can use to stream all kinds of content to either device.
I have been [...]]]></description>
			<content:encoded><![CDATA[<p>If you are looking for a way to stream media to either your xbox360 or your ps3 from a linux machine, then I highly recommend that you have a look at this <a title="project" href="http://ps3mediaserver.blogspot.com/" target="_blank">project</a>.  Ps3 Media Server is a java app that you can use to stream all kinds of content to either device.</p>
<p>I have been using it for almost a year now on Ubuntu and it has proven to be  extremely stable.</p>
<p>It also offers &#8216;on the fly&#8217; transcoding which will allow you to play audio and video formats that might not be natively supported.</p>
<p><a title="Here" href="http://otmanix.de/english/2009/05/21/java-ps3-media-server-for-dummies-chapter-4b-configuration/" target="_blank">Here</a> is the most well documented configuration guide I have come across while looking for tips and tricks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=110</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Packet Loss with Cisco 3750</title>
		<link>http://www.shainmiley.com/wordpress/?p=99</link>
		<comments>http://www.shainmiley.com/wordpress/?p=99#comments</comments>
		<pubDate>Fri, 29 Jan 2010 19:21:59 +0000</pubDate>
		<dc:creator>shainmiley</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.shainmiley.com/wordpress/?p=99</guid>
		<description><![CDATA[Over the last few weeks we have been encountering some strange networking issues at our off site data center.  The problem was characterized by slow ping times, packet loss, service timeouts, etc.  After checking all of the network devices on the outside facing link, we turned to the internal infrastructure, our new Cisco 3750 series [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks we have been encountering some strange networking issues at our off site data center.  The problem was characterized by slow ping times, packet loss, service timeouts, etc.  After checking all of the network devices on the outside facing link, we turned to the internal infrastructure, our new Cisco 3750 series routers.</p>
<p>After reviewing the configuration using the &#8217;show running-config&#8217; command, we checked each of our bonded networking interfaces with &#8216;the show interface&#8217; command to see if we could uncover any errors, dropped packets, etc.</p>
<p>Next we decided to check the switches available resources.  We used &#8217;show proc cpu&#8217; in order to check the cpu usage.  This is when we saw the following line:</p>
<p>&#8216;CPU utilization for five seconds: 97%/0%; one minute: 97%; five minutes: 98%&#8217;</p>
<p>We immediately knew that this is what we were looking for.  After contacting Cisco support&#8230;we learned that there exists an obscure bug in this version of IOS which causes this kind of behavior.  If you are interested in learning more about this specific issue,<span> refer to Cisco bug ID</span> &#8216;CSCsd95669&#8242;.</p>
<p>The only known fixes at this point are upgrade your version of IOS or restart your switch.  We have decided to restart the switch and monitor the cpu at regular intervals.  If this problem were to appear again, at that point we would obviously choose to upgrade.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shainmiley.com/wordpress/?feed=rss2&amp;p=99</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->