Your SlideShare is downloading. ×
0
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
MySQL and SSD
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

MySQL and SSD

4,061

Published on

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,061
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
94
Comments
0
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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>

×