Hacking with PHP has been updated for PHP 7 - click here! >>

Consider switching OS

Most people who have had the opportunity to test MySQL on Linux and Windows have reported that running on Linux gave superior performance results - this is partially due to the fact that Unix is a more mature development environment, partially because the core development of MySQL is done on Unix, but also partially because there are many features that cannot be implemented properly on the Windows environment as of yet.

If you have the chance to compare operating systems for MySQL, give both Linux and Windows a try - it is always best to test things out using your own code, as everyone's mileage may vary.


If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Spot slow queries >>

Previous chapter: Be wary of locks

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.