<?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>beer planet &#187; solution</title> <atom:link href="http://beerpla.net/tag/solution/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Fri, 06 Jan 2012 08:50:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>How I Doubled My Android Phone&#039;s (HTC Hero) Battery Life or Just How Much Email Polling Affects Your Battery</title><link>http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/</link> <comments>http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/#comments</comments> <pubDate>Fri, 27 Nov 2009 07:47:15 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[battery]]></category> <category><![CDATA[check]]></category> <category><![CDATA[dead]]></category> <category><![CDATA[email]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[life]]></category> <category><![CDATA[period]]></category> <category><![CDATA[phone]]></category> <category><![CDATA[solution]]></category> <category><![CDATA[spare parts]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/HowIDoubledMyHTCHerosBatteryLifeJustHowM_14885/image.png" class="lightview" rel="gallery['1270']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowIDoubledMyHTCHerosBatteryLifeJustHowM_14885/image_thumb.png" width="150" height="102" /></a> It&#039;s not a secret that <a
href="http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/">my Sprint HTC Hero has been having trouble keeping battery charge</a> &#8211; by the time I came home from work, the battery level would oftentimes be at 10% or the phone would be simply dead.</p><p>One would give up and accept this futility but I had 2 reasons to keep trying to figure out why:</p><ul><li>my co-worker&#039;s battery would consistently hold twice as much charge as mine &#8211; by the time I was at 50%, he was at 75%</li><li>a wide range of responses on Internet forums and blog posts suggested some people experienced excellent battery life, while others, like me, did not have as much luck</li></ul><p><div
class="note"><div
class="notetip">I received</div></div>...<div
class=clear></div> <a
href="http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/HowIDoubledMyHTCHerosBatteryLifeJustHowM_14885/image.png" class="lightview" rel="gallery['1270']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowIDoubledMyHTCHerosBatteryLifeJustHowM_14885/image_thumb.png" width="150" height="102" /></a> It&#039;s not a secret that <a
href="http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/">my Sprint HTC Hero has been having trouble keeping battery charge</a> &#8211; by the time I came home from work, the battery level would oftentimes be at 10% or the phone would be simply dead.</p><p>One would give up and accept this futility but I had 2 reasons to keep trying to figure out why:</p><ul><li>my co-worker&#039;s battery would consistently hold twice as much charge as mine &#8211; by the time I was at 50%, he was at 75%</li><li>a wide range of responses on Internet forums and blog posts suggested some people experienced excellent battery life, while others, like me, did not have as much luck</li></ul><p><div
class="note"><div
class="notetip">I received feedback from many people that the solution outlined here has helped them double their battery lives not just on their Android phones but also their Pres, Windows Mobile, and others. These people, like me, did not realize the drastic effect of the settings described here on battery life.</div></div></p><p>I thought I tried everything:</p><ul><li>I kept WiFi and Bluetooth off when I didn&#039;t need them (I even got an app that turned WiFi on and off on schedule &#8211; <a
href="http://code.google.com/p/autosettings/" rel="nofollow">Timerriffic</a>; unfortunately until Hero gets Android 2.0 we won&#039;t see automatic Bluetooth scheduling) <br
/><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowIDoubledMyHTCHerosBatteryLifeJustHowM_14885/image_3.png" width="300" height="448" /></li><li>I tried to use the Spare Parts app which provided insight into battery usage history. I did not, however, find out anything significant <br
/><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowIDoubledMyHTCHerosBatteryLifeJustHowM_14885/image_4.png" width="300" height="448" /></li><li>I tried to avoid using GPS altogether &#8211; at one point Spare Parts told me GPS usage by Google Maps, Camera, and Bump were 5-6 hours each, even though I turned the GPS off. I think it&#039;s a bug in Spare Parts itself or what Android was recording but it made me paranoid.</li><li>I switched to using Handcent SMS due to the bug in default Message app (which was later <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">fixed in the firmware upgrade</a>).</li><li>I got a task manager (Advanced Task Manager) to see what apps are running and make sure especially heinous is eating up my resources. It would also automatically kill long running apps and certain apps I know I don&#039;t use and which I can&#039;t uninstall, such as IM, Gmail (I use Mail), and Finance.</li><li>On some days, I stopped using the phone altogether, just to see how long it would last. The result, however, was the same.</li></ul><p>Nothing worked. Consistently, my phone would run down to 80% by the time I got to work and by about 3pm, it would be at 50%.</p><h2>The Solution</h2><p>Finally, a few days ago, when comparing my phone with my co-worker&#039;s, I noticed he didn&#039;t set up automatic email checking, opting in for the manual method instead. I, on the other hand, set up my email the day I got my Hero and never revisited the settings since. &quot;How much power can downloading emails suck out?&quot; I thought. Boy, was I wrong…</p><p><div
class="note"><div
class="notetip">This solution is for people using the Mail app &#8211; not the Gmail app. The Gmail app uses the <a
href="http://en.wikipedia.org/wiki/Push_e-mail" rel="nofollow">push method</a> of getting emails &#8211; not pull, but doesn&#039;t suit my needs, which is why I am using the Mail app.</div></div></p><p>Turns out a LOT. I had 3 email accounts and they were checked at the following intervals:</p><ul><li>my gmail was being checked every <strong>5 minutes</strong> &#8211; I wanted near real-time notification but could not even fathom the consequences at the time</li><li>my beerpla.net account was hit every <strong>15 minutes</strong></li><li>my Plaxo work Exchange email fired every <strong>30 minutes</strong></li></ul><p>In order to change these intervals, load up each email account&#039;s inbox, click Menu, find Settings, go to Send &amp; Receive and then Set Download Frequency.</p><p>After I set each email account to check <strong>every hour </strong>instead, my battery life improved dramatically. To be fair, I watched the battery use for the last 3 days without changing my usage habits and recorded the results.</p><p>Here they are:</p><ul><li>by the time I left for work in the morning, before the change I would oftentimes be between <strong>85 and 90% battery</strong>. After the change, I was at <strong>95-97%</strong>.</li><li>by lunch time, my phone would usually run down to <strong>50-60%</strong>. After the change, the battery had <strong>75-80%</strong> juice.</li><li>by 9-10pm, after I came back from work, I would usually need to put the phone on a charger because it was <strong>&lt;15%</strong>. After the change, I was at least at <strong>50%</strong>!</li></ul><h2>The Side Effect</h2><p>Lately, I started to realize that having email notifications pop up this often was actually more distracting than useful. I was losing concentration and constant context switching made me less productive.</p><p>The fix for my battery problem was, incidentally, also the fix for my concentration problem.</p><h2>Conclusion</h2><p>Be very much aware of your email polling intervals or they will suck all the life out of your phone.</p><p>I would love to hear about your experiences with tweaking email settings and the effects those tweaks had on your battery life, as well as other dramatic Android battery saving tips. Feel free to share in the comments.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+Doubled+My+Android+Phone%27s+%28HTC+Hero%29+Battery+Life+or+Just+How+Much+Email+Polling+Affects+Your+Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20I%20Doubled%20My%20Android%20Phone%27s%20%28HTC%20Hero%29%20Battery%20Life%20or%20Just%20How%20Much%20Email%20Polling%20Affects%20Your%20Battery&amp;link=http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/&amp;notes=%20It%27s%20not%20a%20secret%20that%20my%20Sprint%20HTC%20Hero%20has%20been%20having%20trouble%20keeping%20battery%20charge%20-%20by%20the%20time%20I%20came%20home%20from%20work%2C%20the%20battery%20level%20would%20oftentimes%20be%20at%2010%25%20or%20the%20phone%20would%20be%20simply%20dead.%20%20One%20would%20give%20up%20and%20accept%20this%20futility%20but%20I%20had%202%20reasons%20to%20keep%20trying%20to%20figure%20out%20&amp;short_link=http://bit.ly/cIjiXg&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/" rel="bookmark" title="July 14, 2009">How To Fix Palm Pre&#039;s &quot;Error Sending Mail&quot; Problem</a></li><li><a
href="http://beerpla.net/2009/08/17/2-gmail-tricks-i-bet-you-didnt-know-about/" rel="bookmark" title="August 17, 2009">2 Gmail Tricks I Bet You Didn&#039;t Know About</a></li><li><a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/" rel="bookmark" title="November 18, 2009">Sprint And HTC Release The First HTC Hero Firmware Update 1.56: Fixes Major Bugs, Adds Small Tweaks</a></li><li><a
href="http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/" rel="bookmark" title="November 16, 2009">The Not So Good, The Bad, And The Ugly: My List Of 20+ Problems With HTC Hero</a></li><li><a
href="http://beerpla.net/2011/06/13/goodbye-outlook-i-dont-need-you-anymore-gmail-now-lets-you-paste-images-directly-from-clipboard/" rel="bookmark" title="June 13, 2011">[Updated x3] Goodbye Outlook, I Don&#039;t Need You Anymore &#8211; Gmail Now Lets You Paste Images Directly From Clipboard</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F11%2F26%2Fhow-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery%2F&amp;title=How%20I%20Doubled%20My%20Android%20Phone%26%23039%3Bs%20%28HTC%20Hero%29%20Battery%20Life%20or%20Just%20How%20Much%20Email%20Polling%20Affects%20Your%20Battery" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>Is Your Simplifymedia For Winamp Broken On A 64 Bit Windows 7? Here&#039;s How To Fix It</title><link>http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/</link> <comments>http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/#comments</comments> <pubDate>Tue, 17 Nov 2009 23:18:16 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[64]]></category> <category><![CDATA[64 bit]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[media]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[simplify]]></category> <category><![CDATA[simplifymedia]]></category> <category><![CDATA[solution]]></category> <category><![CDATA[winamp]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image.png" width="150" height="62" /></p><p><a
href="http://www.simplifymedia.com/">SimplifyMedia</a> is an extremely useful program, which allows super easy song and playlist sharing via streaming between multiple computers. It also works as a Winamp plugin, so the shared songs simply show up inside Winamp&#039;s own media library &#8211; each computer sharing music appears under the special &#34;Shared&#34; tab. And the beauty is &#8211; there is no need to muck around with network settings, open ports, or even touch your router.</p><p>Here&#039;s a screenshot of how it&#039;s supposed to work:</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image_thumb.png" width="143" height="167" /></p><h2>The Problem</h2><p>Since I recently installed Windows 7 64bit on my laptop, I wanted to set up SimplifyMedia on it and listen to some tracks in my favorite music player <a
href="http://www.winamp.com/">Winamp</a>. However, after I downloaded and...<div
class=clear></div> <a
href="http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image.png" width="150" height="62" /></p><p><a
href="http://www.simplifymedia.com/">SimplifyMedia</a> is an extremely useful program, which allows super easy song and playlist sharing via streaming between multiple computers. It also works as a Winamp plugin, so the shared songs simply show up inside Winamp&#039;s own media library &#8211; each computer sharing music appears under the special &quot;Shared&quot; tab. And the beauty is &#8211; there is no need to muck around with network settings, open ports, or even touch your router.</p><p>Here&#039;s a screenshot of how it&#039;s supposed to work:</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image_thumb.png" width="143" height="167" /></p><h2>The Problem</h2><p>Since I recently installed Windows 7 64bit on my laptop, I wanted to set up SimplifyMedia on it and listen to some tracks in my favorite music player <a
href="http://www.winamp.com/">Winamp</a>. However, after I downloaded and installed it and restarted Winamp, the Shared tab did not show up. The SimplifyMedia installer did tell me that a 64 bit version of Windows isn&#039;t explicitly supported but mentioned it should still work fine.</p><h2>The Solution</h2><p>After reinstalling, analyzing, and comparing with my other computers, I found that the SimplifyMedia installer didn&#039;t copy the needed Winamp plugin files, namely ml_simplify.dll and ml_simplifyexp.dll. After I copied them over into the Winamp/Plugins directory and restarted Winamp, the Shared tab showed up like a charm.</p><p><div
class="note"><div
class="notetip">If you are having the same problem, just copy the mentioned files from a known working SimplifyMedia installation or download them from here:</p><p><a
href="http://beerpla.net/wp-content/uploads/ml_simplify.dll">ml_simplify.dll</a></p><p><a
href="http://beerpla.net/wp-content/uploads/ml_simplifyexp.dll">ml_simplifyexp.dll</a></div></div></p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Is%20Your%20Simplifymedia%20For%20Winamp%20Broken%20On%20A%2064%20Bit%20Windows%207%3F%20Here%27s%20How%20To%20Fix%20It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/" rel="bookmark" title="October 6, 2009">Supercharge Your GNU Screen With A Power &quot;Taskbar&quot; And Never Feel Lost Again</a></li><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2008/11/16/jocko-sims-panics-rap-on-starz-show-crash-head-up-mp3/" rel="bookmark" title="November 16, 2008">Jocko Sims’ (Panic’s) Rap On Starz Show Crash &#8211; Head Up (MP3)</a></li><li><a
href="http://beerpla.net/2010/02/20/how-to-view-a-specific-svn-revision-in-your-browser/" rel="bookmark" title="February 20, 2010">How To View A Specific SVN Revision In Your Browser</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F11%2F17%2Fis-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it%2F&amp;title=Is%20Your%20Simplifymedia%20For%20Winamp%20Broken%20On%20A%2064%20Bit%20Windows%207%3F%20Here%26%23039%3Bs%20How%20To%20Fix%20It" id="wpa2a_4"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Fix Palm Pre&#039;s &quot;Error Sending Mail&quot; Problem</title><link>http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/</link> <comments>http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/#comments</comments> <pubDate>Tue, 14 Jul 2009 23:53:37 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[error]]></category> <category><![CDATA[IMAP]]></category> <category><![CDATA[incoming]]></category> <category><![CDATA[mail]]></category> <category><![CDATA[outgoing]]></category> <category><![CDATA[palm]]></category> <category><![CDATA[POP]]></category> <category><![CDATA[pop3]]></category> <category><![CDATA[pre]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[sending]]></category> <category><![CDATA[server]]></category> <category><![CDATA[settings]]></category> <category><![CDATA[smtp]]></category> <category><![CDATA[solution]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/</guid> <description><![CDATA[<h2><a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_4.png" class="lightview" rel="gallery['1090']" title="image"><img
style="margin: 0px 15px 15px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb_4.png" width="200" height="300" /></a>The Problem</h2><p>My fiancée Emilie has had her Palm Pre for about 2 weeks now, and one specific problem that started showing up last week has been incredibly annoying, causing us all kinds of trouble.</p><p>After Emilie got the phone, she added 3 email accounts &#8211; Gmail, Hotmail, and Yahoo. One day, after sending an email through the Pre, a popup showed up that said &#34;Error sending&#34; followed by the subject of that specific email. Swiping the error away didn&#039;t help &#8211; it just came back 5 minutes later. In fact, it has been coming back every 5 minutes of every day since, lighting up the screen each time. Thus, not only it was annoying, but it was running down...<div
class=clear></div> <a
href="http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2><a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_4.png" class="lightview" rel="gallery['1090']" title="image"><img
style="margin: 0px 15px 15px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb_4.png" width="200" height="300" /></a>The Problem</h2><p>My fiancée Emilie has had her Palm Pre for about 2 weeks now, and one specific problem that started showing up last week has been incredibly annoying, causing us all kinds of trouble.</p><p>After Emilie got the phone, she added 3 email accounts &#8211; Gmail, Hotmail, and Yahoo. One day, after sending an email through the Pre, a popup showed up that said &quot;Error sending&quot; followed by the subject of that specific email. Swiping the error away didn&#039;t help &#8211; it just came back 5 minutes later. In fact, it has been coming back every 5 minutes of every day since, lighting up the screen each time. Thus, not only it was annoying, but it was running down the battery like crazy &#8211; a full charge lasted between 1/2 and 3/4 of the day with very mild usage.</p><p>I deleted the problematic message from the Outbox a long time ago. The error didn&#039;t disappear and kept popping up. Additionally, whichever Outbox clicking on the annoying popup led to was having trouble refreshing, even though it wouldn&#039;t display what the error actually was &#8211; just a yellow exclamation sign would show up. Refreshing the folder didn&#039;t help and would take an unusually long time.</p><p>Well, finally, I got sick of waiting for Palm to update its OS with possible fixes and set out to find one myself.</p><p>Turns out a ton of people are having the same issue, as evident in all Palm Pre forums. For example, <a
href="http://forums.palm.com/palm/board/message?board.id=wireless_email&amp;thread.id=8394&amp;view=by_date_ascending&amp;page=1" rel="nofollow">Palm.com forum</a> or <a
href="http://forums.precentral.net/webos-synergy-synchronization/183313-error-sending-email.html" rel="nofollow">Precentral.net forum</a>. I really didn&#039;t like the common suggestion to delete and re-add the problematic account because</p><ul><li>that just most likely temporarily pushes the problem back as I&#039;m sure it would come back again to haunt me</li><li>this could potentially erase or disconnect all contacts associated with that account</li><li>my engineering mind would be left puzzled</li><li>I wasn&#039;t sure which account was having the problem (later it turned out the culprit was Yahoo)</li></ul><p>Surprisingly, I found <a
href="http://answers.yahoo.com/question/index?qid=20090624085549AAWWP7n" rel="nofollow">the clue</a> that led me to the solution on Yahoo Answers &#8211; yeah, that place where nothing intelligent is allowed to exist (with certain <a
href="http://imgur.com/mCUfG.jpg" class="lightview" rel="gallery['1090']" rel="nofollow">exceptions</a>).</p><h2>The Solution</h2><p>To make a long story short, Pre messed up Yahoo&#039;s outgoing mail settings. My particular problem was the SMTP (that&#039;s the <strong><em>outgoing</em> </strong>mail server) port was set to 995, which is in fact an <strong><em>incoming</em></strong> POP3 mail server port. I don&#039;t know how it happened or if it even worked in the first place but the fact is: the right outgoing port for secure (SSL) SMTP connections is 465. Also, for some reason the SMTP username was blank but the password was filled in. WTF, Pre?</p><p>When I changed SMTP port to 465 and entered the username, as specified in that <a
href="http://answers.yahoo.com/question/index?qid=20090624085549AAWWP7n" rel="nofollow">Yahoo Answers post</a> (without the @yahoo.com part), the error message went away and the Outbox refreshed just fine. BTW, my Pre has the incoming mail server set to POP3, while the Yahoo Answers post was set to IMAP &#8211; again, why the differences? I&#039;d frankly prefer IMAP anyway.</p><p>To get to your mail account settings, open up your email application, go to the <em>Email</em> menu in Pre&#039;s top left corner, tap <em>Preferences &amp; Accounts</em>, then tap the offending account, scroll down, and tap Change Login Settings. When you are done, just swipe back (half swipe from right to left in the gesture area). Here&#039;s a handy screenshot I took of the relevant area:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image.png" class="lightview" rel="gallery['1090']" title="image"><img
style="display: inline; margin-left: 0px; margin-right: 0px" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb.png" width="200" height="301" /></a> -&amp;gt; <a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_3.png" class="lightview" rel="gallery['1090']" title="image"><img
style="display: inline; margin-left: 0px; margin-right: 0px" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb_3.png" width="200" height="299" /></a></p><p><div
class="note"><div
class="notetip">Confused by all the technical definitions, like SMTP, IMAP, POP3, SSL, incoming and outgoing accounts? Have a look at <a
href="http://www.emailaddressmanager.com/tips/mail-servers.html" rel="nofollow">this helpful FAQ page</a>, hopefully it&#039;ll clear things up.</p><p>In the meantime, here&#039;s a handy excerpt with port numbers for various connection and server types:</p><p><ul>POP3 &#8211; port <strong>110</strong></ul><ul>IMAP &#8211; port <strong>143</strong></ul><ul>SMTP &#8211; port <strong>25</strong></ul><ul>HTTP &#8211; port <strong>80</strong></ul><ul>Secure SMTP (SSMTP) &#8211; port <strong>465</strong></ul><ul>Secure IMAP (IMAP4-SSL) &#8211; port <strong>585</strong></ul><ul>IMAP4 over SSL (IMAPS) &#8211; port <strong>993</strong></ul><ul>Secure POP3 (SSL-POP) &#8211; port <strong>995</strong></ul><p></div></div></p><p>If you are experiencing the same symptoms, check ALL your mail settings, not just the ones I mentioned. Who knows what else your Pre may have messed up?</p><p><strong>Update:</strong> if you are having trouble sending your mail only while on WiFi, it is possible that your home broadband router is blocking the needed ports. Try to edit the router configuration and open the ports used by your Pre&#039;s mail configuration &#8211; hopefully the problem will be solved.</p><h2>Conclusion</h2><p>Palm, are you hearing us? We are not happy with the bugs and the unhelpful error messages (or lack thereof altogether)! <a
href="http://kb.palm.com/wps/portal/kb/na/pre/p100eww/sprint/solutions/article/50607_en.html" rel="nofollow">3 measly updates</a> in the last 2 months is quite pathetic. I hope you are working on a much bigger update behind the scenes.</p><div
class='post_blob_1'>Looking for a new home broadband router? Broadband Genie allows you to <a
href="http://www.broadbandgenie.co.uk/broadband/comparison" rel="follow">compare broadband</a> deals and offers in an unbiased environment.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Fix%20Palm%20Pre%27s%20%26quot%3BError%20Sending%20Mail%26quot%3B%20Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/" rel="bookmark" title="November 26, 2009">How I Doubled My Android Phone&#039;s (HTC Hero) Battery Life or Just How Much Email Polling Affects Your Battery</a></li><li><a
href="http://beerpla.net/2008/06/14/top-10-reasons-why-digsby-rocks-or-why-you-should-try-digsby-right-now/" rel="bookmark" title="June 14, 2008">Top 10 Reasons Why Digsby ROCKS</a></li><li><a
href="http://beerpla.net/2009/08/17/2-gmail-tricks-i-bet-you-didnt-know-about/" rel="bookmark" title="August 17, 2009">2 Gmail Tricks I Bet You Didn&#039;t Know About</a></li><li><a
href="http://beerpla.net/2010/02/03/how-not-to-implement-a-web-application-that-handles-external-authentication-using-betwittered-com-as-an-example/" rel="bookmark" title="February 3, 2010">How *Not* To Implement A Web Application That Handles External Authentication, Using BeTwittered.com As An Example</a></li><li><a
href="http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/" rel="bookmark" title="May 18, 2009">How To Fix Redrawing Problems In Your VNC</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F07%2F14%2Fhow-to-fix-palm-pres-error-sending-mail-problem-7%2F&amp;title=How%20To%20Fix%20Palm%20Pre%26%23039%3Bs%20%26quot%3BError%20Sending%20Mail%26quot%3B%20Problem" id="wpa2a_6"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/feed/</wfw:commentRss> <slash:comments>36</slash:comments> </item> <item><title>MySQL Indexing Considerations Of Implementing A Priority Field In Your Application</title><link>http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/</link> <comments>http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/#comments</comments> <pubDate>Wed, 18 Mar 2009 14:00:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[asc]]></category> <category><![CDATA[desc]]></category> <category><![CDATA[how]]></category> <category><![CDATA[index]]></category> <category><![CDATA[order]]></category> <category><![CDATA[priority]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[solution]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/</guid> <description><![CDATA[<h2>Introduction</h2><p>If you, like me, are building or thinking of implementing a MySQL-powered application that has any need for prioritizing selecting certain data over other data, this article is for you.</p><h2>Example</h2><p>As a real world example, consider a queue-like video processing system. Your application receives new videos and processes them. The volume of incoming videos can at times be higher than the processing rate because the process is CPU bound, so occasionally a pretty long queue may form. You will try to process them as fast as you can but…</p><p><div
class="note"><div
class="noteclassic">Note that I am using a queue here, so the <strong>the next item to be processed is a result of sorting by some sort of field in a <em>ascending</em></strong></div></div>...<div
class=clear></div> <a
href="http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2>Introduction</h2><p>If you, like me, are building or thinking of implementing a MySQL-powered application that has any need for prioritizing selecting certain data over other data, this article is for you.</p><h2>Example</h2><p>As a real world example, consider a queue-like video processing system. Your application receives new videos and processes them. The volume of incoming videos can at times be higher than the processing rate because the process is CPU bound, so occasionally a pretty long queue may form. You will try to process them as fast as you can but…</p><p><div
class="note"><div
class="noteclassic">Note that I am using a queue here, so the <strong>the next item to be processed is a result of sorting by some sort of field in a <em>ascending </em>order</strong>, for example ORDER BY id or ORDER BY upload_date. I’ll pick the id sort here.</div></div></p><p>…suddenly, you need to process a video somewhere in the middle of the queue or an important video enters and needs immediate attention. What do you do?</p><p>An obvious solution is implementing a simple priority system where each item has a numeric priority field. Now you can sort first by priority from highest to lowest and then by id within the highest priority. Important and urgent items get a their priority changed to something higher and get processed first. There is only one problem.</p><h2>Problem</h2><p>The problem is pretty serious – let’s take a look at the SELECT statement. Before selecting, I’ve added 19 random rows to have some data to work on.</p><div
class="wp_syntax"><div
class="code"><pre>SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;</pre></div></div><p>What kind of index would you put on this table to speed up this query? You do want to add a proper index, don’t you? DO YOU? Ok, good.</p><p>&nbsp;</p><p>Here’s what happens without any indexes:</p><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; EXPLAIN SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;
+----+-------------+-------+------+---------------+------+---------+------+------+----------------+
| id | select_type | table | type | possible_keys | key  | key_len | ref  | rows | Extra          |
+----+-------------+-------+------+---------------+------+---------+------+------+----------------+
|  1 | SIMPLE      | queue | ALL  | NULL          | NULL | NULL    | NULL |   19 | Using filesort |
+----+-------------+-------+------+---------------+------+---------+------+------+----------------+
1 row in set (0.00 sec)</pre></div></div><p><em>Using filesort</em>, ugh, of course, due to sorting without an index.</p><p>&nbsp;</p><p>Let’s see, how about a combined index on (priority, id)?</p><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; ALTER TABLE `queue` ADD INDEX `priority_id`(`priority`, `id`);
Query OK, 19 rows affected (0.05 sec)
Records: 19  Duplicates: 0  Warnings: 0
&nbsp;
mysql&gt; EXPLAIN SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
| id | select_type | table | type  | possible_keys | key         | key_len | ref  | rows | Extra                       |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
|  1 | SIMPLE      | queue | index | NULL          | priority_id | 5       | NULL |   19 | Using index; Using filesort |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
1 row in set (0.00 sec)</pre></div></div><p>Better because an index is being used but not very good because filesort is still present. “Of course!”, you slap yourself on the forehead. The first ORDER BY uses a DESCENDING order, and our key is in ASCENDING order.</p><p>&nbsp;</p><p>So, let’s add the proper key with the right ordering instead.</p><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; ALTER TABLE `queue` DROP INDEX `priority_id`;
Query OK, 19 rows affected (0.05 sec)
Records: 19  Duplicates: 0  Warnings: 0
&nbsp;
mysql&gt; ALTER TABLE `queue` ADD INDEX `priority_id`(`priority` DESC, `id`);
Query OK, 19 rows affected (0.06 sec)
Records: 19  Duplicates: 0  Warnings: 0</pre></div></div><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; EXPLAIN SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
| id | select_type | table | type  | possible_keys | key         | key_len | ref  | rows | Extra                       |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
|  1 | SIMPLE      | queue | index | NULL          | priority_id | 5       | NULL |   19 | Using index; Using filesort |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
1 row in set (0.00 sec)</pre></div></div><pre></pre><p>What the deuce? This is the same result as with the previous index. Time to dig up the documentation.</p><p>&nbsp;</p><p>Here is what the MySQL manual has to say under the <a
href="http://dev.mysql.com/doc/refman/5.1/en/order-by-optimization.html">ORDER BY optimization</a> section:</p><blockquote><p>MySQL <em>cannot</em> use indexes to resolve the ORDER BY, although it still uses indexes to find the rows that match the WHERE clause … if you mix ASC and DESC:</p></blockquote><blockquote><div
class="wp_syntax"><div
class="code"><pre>SELECT * FROM t1 ORDER BY key_part1 DESC, key_part2 ASC;</pre></div></div></blockquote><p>Moreover, to confuse the user even more, the index creation command accepts the DESC instruction, without actually honoring it, as specified in the <a
href="http://dev.mysql.com/doc/refman/5.1/en/create-index.html" rel="nofollow">CREATE INDEX</a> section:</p><blockquote><p>An <em>index_col_name</em> specification can end with ASC or DESC. These keywords are allowed for future extensions for specifying ascending or descending index value storage. Currently, they are parsed but ignored; index values are always stored in ascending order.</p></blockquote><p>So, after so many years MySQL still doesn’t support such basic functionality – you are either stuck with a query that uses filesort or have to look for a workaround.</p><h2>Solution</h2><p>Since it’s not possible to mix order directions, the solution is then to change the meaning of the priority column to match your needs. Thus, in the new approach priority 1 is higher than priority 10, and the application logic needs to accommodate to that. If you caught this while the application is still young, the code may be easy to change, but otherwise it could be a major pain in the butt.</p><h2>Conclusion</h2><p>The moral here is: plan your queries ahead and don’t mix and match DESC and ASC ordering as MySQL will not be able to use an index to resolve it. Do it even sooner if you’re putting lots and lots of data into your tables.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL%20Indexing%20Considerations%20Of%20Implementing%20A%20Priority%20Field%20In%20Your%20Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-explain-demystified-tuesday-200p/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: EXPLAIN Demystified (Tuesday 2:00PM)</a></li><li><a
href="http://beerpla.net/2009/02/17/swapping-column-values-in-mysql/" rel="bookmark" title="February 17, 2009">Swapping Column Values in MySQL</a></li><li><a
href="http://beerpla.net/2009/05/11/mysql-deletingupdating-rows-common-to-2-tables-speed-and-slave-lag-considerations/" rel="bookmark" title="May 11, 2009">[MySQL] Deleting/Updating Rows Common To 2 Tables &#8211; Speed And Slave Lag Considerations</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-mysql-performance-under-a-microscope-the-tobias-and-jay-show-wednesday-200pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: MySQL Performance Under A Microscope: The Tobias And Jay Show (Wednesday 2:00PM)</a></li><li><a
href="http://beerpla.net/2008/04/17/mysql-conference-liveblogging-optimizing-mysql-for-high-volume-data-logging-applications-thursday-250pm/" rel="bookmark" title="April 17, 2008">MySQL Conference Liveblogging: Optimizing MySQL For High Volume Data Logging Applications (Thursday 2:50PM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F03%2F18%2Fmysql-indexing-considerations-of-implementing-a-priority-field-in-your-application%2F&amp;title=MySQL%20Indexing%20Considerations%20Of%20Implementing%20A%20Priority%20Field%20In%20Your%20Application" id="wpa2a_8"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>MySQL Slave Lag (Delay) Explained And 7 Ways To Battle It</title><link>http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/</link> <comments>http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/#comments</comments> <pubDate>Fri, 05 Sep 2008 17:00:40 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[delay]]></category> <category><![CDATA[featured]]></category> <category><![CDATA[help]]></category> <category><![CDATA[hint]]></category> <category><![CDATA[lag]]></category> <category><![CDATA[maatkit]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[replication]]></category> <category><![CDATA[slave]]></category> <category><![CDATA[solution]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/09/05/mysql-slave-delay-explained-and-7-ways-to-battle-it/</guid> <description><![CDATA[<p><img
style="margin: 0px 20px 10px 0px" src="http://forge.mysql.com/w/images/1/1e/Dolphin_Laptop_cropped-386x222.jpg" alt="http://forge.mysql.com/w/images/1/1e/Dolphin_Laptop_cropped-386x222.jpg" width="240" height="200" align="left" />Slave delay can be a nightmare. I battle it every day and know plenty of people who curse the serialization problem of replication. For those who are not familiar with it, replication on MySQL slaves runs commands in series &#8211; one by one, while the master may run them in parallel. This fact usually causes bottlenecks. Consider these 2 examples:</p><ul><li>Between 1 and 100 UPDATE queries are constantly running on the master in parallel. If the slave IO is only fast enough to handle 50 of them without lagging, as soon as 51 start running, the slaves starts to lag.</li><li>A more common problem is when one query takes an hour to run (let&#039;s say, it&#039;s an UPDATE with</li></ul><p>...<div
class=clear></div> <a
href="http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 20px 10px 0px" src="http://forge.mysql.com/w/images/1/1e/Dolphin_Laptop_cropped-386x222.jpg" alt="http://forge.mysql.com/w/images/1/1e/Dolphin_Laptop_cropped-386x222.jpg" width="240" height="200" align="left" />Slave delay can be a nightmare. I battle it every day and know plenty of people who curse the serialization problem of replication. For those who are not familiar with it, replication on MySQL slaves runs commands in series &#8211; one by one, while the master may run them in parallel. This fact usually causes bottlenecks. Consider these 2 examples:</p><ul><li>Between 1 and 100 UPDATE queries are constantly running on the master in parallel. If the slave IO is only fast enough to handle 50 of them without lagging, as soon as 51 start running, the slaves starts to lag.</li><li>A more common problem is when one query takes an hour to run (let&#039;s say, it&#039;s an UPDATE with a big WHERE clause that doesn&#039;t use an index). In this case, the query runs on the master for an hour, which isn&#039;t a big problem because it doesn&#039;t block other queries. However, when the query moves over to the slaves, all of them start to lag because it plugs up the single replication thread.</li></ul><p><div
class="note"><div
class="notewarning"><strong>Sidenote:</strong> when I hear an argument that a master has to be the most powerful machine in the group, I cringe at the logic.</p><p>If the master can crunch more INSERTs/UPDATEs after an upgrade to a better machine, then replication will fall behind even faster.</div></div></p><p>There is nothing you can do right now to fix <em><strong>the way</strong></em> MySQL handles replication. If the replication threads could run in parallel, I&#039;m guessing horrible things would happen to the data integrity due to race conditions, canceled queries, slave restarts, differences in query execution times due to server load and configuration, etc. Replication is already an asynchronous, prone to getting out of sync business (hint: use <a
href="http://www.maatkit.org">maatkit</a> tools by Baron Schwartz and specifically <a
href="http://maatkit.sourceforge.net/doc/mk-table-checksum.html">mk-table-checksum</a> and <a
href="http://maatkit.sourceforge.net/doc/mk-table-sync.html">mk-table-sync</a> to sync up your slaves).</p><p>In order to see if a slave is lagging, execute the &#039;show slave status&#039; command and look for the Seconds_Behind_Master value. The way this value is calculated can be slightly ambiguous and unclear, so I&#039;ll explain. It is simply a difference between the 2 timestamps &#8211; the time of the last received (and queued up in the relay log) query that already executed on the master and the time of the currently executing query on the slave. Thus this value is not real time (it is possible to catch up to the master much faster); it&#039;s an approximation, or special metrics if you will, that helps point out problems.</p><p>So what can you do if you start hitting replication lag? This is the ultimate question, and the answer depends on your application. Here are the things I came up with after dealing with MySQL for a few years (there are undoubtedly other techniques, but these all come from my own experience):</p><ol><li>Normalize your data, if it is not already. Non-normalized tables lead to repetition and is generally considered bad practice. More data &#8211; more IO in most cases. There can be cases, however, where you can normalize too much. Having JOINs is much slower than not having them, and it can hurt your queries if you JOIN a lot. Finally, the extreme case is mentioned at <a
href="http://highscalability.com">highscalability.com</a>: <a
href="http://highscalability.com/how-i-learned-stop-worrying-and-love-using-lot-disk-space-scale">How I Learned to Stop Worrying and Love Using a Lot of Disk Space to Scale</a>. &#034;<em>You&#8211;pause for dramatic effect&#8211;<strong>duplicate data instead of <strong>normalize</strong> it</strong>. *shudder*</em>&#034;. Flickr is provided as an example.</li><li>Shard (meaning, slice) your data, horizontally and vertically. For example, you can horizontally partition by some sort of key, hash, username, or other properties. You can also partition vertically by moving out some table columns into other databases. As an example, if you had a database of videos, storing view counts, number of favorites, etc. is OK but if these fields receive a lot of frequent updates, you are bound to have slave lag. Instead, separate these into a dedicated stats table(s). You don&#039;t have to shard all of your data &#8211; even sharding the most active bits helps immensely (for example, you can choose to shard your stats tables and leave the main one alone).</li><li>Upgrade machines running MySQL (first slaves, then master, for the reasons given above). 99% of the time, disk IO is the bottleneck, CPU being the other 1%. Move to RAIDed setups (RAID10 or RAID0) with 6-10 15K RPM SCSI or SSD drives. Add a lot of RAM. Make sure you&#039;re running a 64 bit OS if you have more than 3GB of RAM, so that the mysql process may utilize more of it. My <a
href="http://beerpla.net/2008/06/11/best-mysql-server-under-10k/">search for the best MySQL server under $10K</a> may be of some help here.</li><li>Separate your applications onto different MySQL instances. If you are running separate applications A, B, and C that don&#039;t depend on each other, consider giving them their own machines, otherwise a single long-running UPDATE or INSERT query in application A will delay all writes by application B and C. This is actually quite common &#8211; even though the server may not appear to be loaded, the annoying slave delay will still show its cowardly tail. I want to highlight this again: <span
style="font-size: medium;">the replication thread is shared between all databases on the server</span>.</li><li>Another solution to (4) is multiple MySQL instances, granted that the MySQL machine isn&#039;t generally overloaded already. In that case, installing more than 1 mysql daemons would separate replication threads and allow running multiple applications, like A, B, and C on one machine, without affecting each other. <a
href="https://launchpad.net/mysql-sandbox">MySQL sandbox</a> achieves just that &#8211; it is my preferred solution.</li><li>Split up longer running queries into shorter ones. This should be pretty straightforward &#8211; a single query on 10 million rows may run a few hours. Splitting it into batches of 50,000, for example, will give other queries a chance to run in between. Of course, you should take care of data integrity and generally double check what you are doing.</li><li>Don&#039;t overload the same slave by sending all queries to it, as it will just make the matter worse. You can round-robin the queries using either round-robin DNS (eww), round-robin within the application logic (better), smarter application logic, like checking slave load and status from time to time, or my personal favorite &#8211; using <a
href="http://forge.mysql.com/wiki/MySQL_Proxy">MySQL proxy</a> and having it pick the least lagging slave for you. An official solution utilizing mysql proxy, called <a
href="http://dev.mysql.com/doc/refman/5.1/en/load-balancer.html">MySQL load balancer</a>, is apparently in the works (I was promised beta access but haven&#039;t got it so far).</li></ol><p>As a bonus, I wanted to throw in this idea of helping minimize a certain corner case cause of slave delay and feed it to the hungry MySQL minds. I&#039;m not sure if it is mentioned anywhere else, as I have not Googled it. If it&#039;s a widely known fact, then I will consider this post as just adding my vote to the usefulness of the technique.</p><p><div
class="note"><div
class="notetip"><strong>Tip:</strong> If you have replication setups that use a lot of INSERT commands and you expect that most of such INSERTs would dupe with existing data (and you are using INSERT IGNORE, not REPLACE), consider replacing such queries with SELECTs, followed by only necessary INSERTs.</p><p>The reasoning is simple: INSERTs propagate to all the slaves and have to run on a master. SELECTs can run on any slave and don&#039;t propagate anywhere, so if only 0.01% of the queries result in new rows, this technique will get rid of a lot of unnecessary slave query traffic.</div></div></p><p>Well, there you have it. Comments are open, so feel free to share your own replication strategies and thoughts about mine.</p><div
class='post_blob_1'>Get advantage of our latest <a
href="http://www.test-king.com/exams/642-983.htm">642-983</a> exam products and pass your <a
href="http://www.test-king.com/exams/1Y0-A05.htm">1Y0-A05</a> as well as <a
href="http://www.test-king.com/exams/642-383.htm">642-383</a> exam on first try.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Slave+Lag+%28Delay%29+Explained+And+7+Ways+To+Battle+It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL%20Slave%20Lag%20%28Delay%29%20Explained%20And%207%20Ways%20To%20Battle%20It&amp;link=http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/&amp;notes=Slave%20delay%20can%20be%20a%20nightmare.%20I%20battle%20it%20every%20day%20and%20know%20plenty%20of%20people%20who%20curse%20the%20serialization%20problem%20of%20replication.%20For%20those%20who%20are%20not%20familiar%20with%20it%2C%20replication%20on%20MySQL%20slaves%20runs%20commands%20in%20series%20-%20one%20by%20one%2C%20while%20the%20master%20may%20run%20them%20in%20parallel.%20This%20fact%20usually%20c&amp;short_link=http://bit.ly/9XKLTz&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/05/11/mysql-deletingupdating-rows-common-to-2-tables-speed-and-slave-lag-considerations/" rel="bookmark" title="May 11, 2009">[MySQL] Deleting/Updating Rows Common To 2 Tables &#8211; Speed And Slave Lag Considerations</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-portable-scale-out-benchmarks-for-mysql-wednesday-1050am/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Portable Scale-out Benchmarks For MySQL (Wednesday 10:50AM)</a></li><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-performance-guide-for-mysql-cluster-tuesday-1050am/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: Performance Guide For MySQL Cluster (Tuesday 10:50AM)</a></li><li><a
href="http://beerpla.net/2008/04/17/mysql-conference-liveblogging-optimizing-mysql-for-high-volume-data-logging-applications-thursday-250pm/" rel="bookmark" title="April 17, 2008">MySQL Conference Liveblogging: Optimizing MySQL For High Volume Data Logging Applications (Thursday 2:50PM)</a></li><li><a
href="http://beerpla.net/2009/02/17/swapping-column-values-in-mysql/" rel="bookmark" title="February 17, 2009">Swapping Column Values in MySQL</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F09%2F05%2Fmysql-slave-lag-delay-explained-and-7-ways-to-battle-it%2F&amp;title=MySQL%20Slave%20Lag%20%28Delay%29%20Explained%20And%207%20Ways%20To%20Battle%20It" id="wpa2a_10"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/09/05/mysql-slave-lag-delay-explained-and-7-ways-to-battle-it/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> </channel> </rss>
