Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Jifty
Next
Download to read offline and view in fullscreen.

5

Share

Download to read offline

MySQL and SSD

Download to read offline

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

MySQL and SSD

  1. MySQL and SSD Gea-Suan Lin [email_address] PIXNET Digital Media Corporation
  2. Outline <ul><li>Introduction to MySQL and SSD </li></ul><ul><li>SSD Spec </li></ul><ul><li>Comparsion in Speed and Price </li></ul><ul><li>Something interesting... </li></ul><ul><li>Conculsion </li></ul>
  3. MySQL and SSD <ul><li>MySQL </li></ul><ul><ul><li>Open source database </li></ul></ul><ul><ul><li>Very popular to Web-based company </li></ul></ul><ul><li>SSD </li></ul><ul><ul><li>Solid-state drive </li></ul></ul><ul><ul><li>2006~2007 </li></ul></ul><ul><ul><li>Very fast random access ( in theory ) </li></ul></ul><ul><ul><ul><li>Fit database characteristic </li></ul></ul></ul>
  4. Conculsion First! <ul><li>Don't Use SSD to run database </li></ul><ul><ul><li>At least MySQL... </li></ul></ul><ul><li>Unless </li></ul><ul><ul><li>I/O bound </li></ul></ul><ul><ul><li>Enough Budget </li></ul></ul>
  5. SSD Spec <ul><li>Mtron </li></ul><ul><ul><li>MSP 7000, MSD 3000, MSD 1000 </li></ul></ul><ul><li>Memoright </li></ul><ul><ul><li>MR25.2 </li></ul></ul><ul><li>RiData </li></ul><ul><ul><li>Ultra-S, Ultra S-Plus </li></ul></ul><ul><li>Transcend </li></ul><ul><ul><li>TS32GSSD25S-M </li></ul></ul>
  6. SSD Spec
  7. Test in real environment <ul><li>Linux 2.6.18 (Debian, testing) </li></ul><ul><li>XFS, noatime, nodiratime </li></ul><ul><li>MySQL 5.1.{21,22,23}, MyISAM </li></ul><ul><li>Replication (Slave) </li></ul><ul><li>Data size: my boss said we cannot talk about real database size, so don't ask. </li></ul>
  8. Test <ul><li>Warm up speed </li></ul><ul><li>Write speed (Replication write) </li></ul><ul><li>Read speed (Query) </li></ul>
  9. Comparsion <ul><li>Mtron MSP-7000, Memoright MR25.2 </li></ul><ul><li>RAID1+0 15KRPM SAS (4 disks) </li></ul><ul><li>RAID0 15KRPM SAS (2 disks) </li></ul><ul><li>Mtron MSD-3000 </li></ul><ul><li>Mtron MSD-1000 </li></ul><ul><li>RAID0 10KRPM SATA (2 disks) </li></ul><ul><li>Others... (RiData and Transcend) </li></ul>
  10. Something interesting... <ul><li>No, these won't appear in this slide. </li></ul>
  11. Suggestion Again! <ul><li>Don't use SSD in Master server. </li></ul><ul><li>Don't use SSD in Slave servers unless need. </li></ul><ul><ul><li>I/O bound that RAID cannot solve </li></ul></ul><ul><ul><ul><li>In most cases, you need to buy books to optimize your query statements, not buy SSD. </li></ul></ul></ul><ul><ul><ul><li>In some cases, you need to reconstruct your architecture. </li></ul></ul></ul><ul><ul><li>Budget </li></ul></ul>
  12. Q&A <ul><li>Any Question ? </li></ul>
  • ssuser1b577c

    Jun. 23, 2012
  • fire9

    Mar. 31, 2010
  • c1n

    Sep. 9, 2009
  • albertlee

    Aug. 29, 2008
  • cangi

    Aug. 27, 2008

Views

Total views

5,338

On Slideshare

0

From embeds

0

Number of embeds

668

Actions

Downloads

99

Shares

0

Comments

0

Likes

5

×