MySQL Conference
  2008 Edition
     Chris Barber
   http://www.cb1inc.com
Who, What, When?
●   April 14-17, 2008
●   Santa Clara, CA
●   Over 2000 people (more than last year)
●   160 speakers
●  ...
What's New?
●   Sun
●   MySQL 5.1 GA (still)
●   MySQL Workbench GA
    –   Windows only right now
●   Hot backup extensio...
memcached
●   Memcached storage engine
●   Memcached functions for MySQL
    –   SELECT memc_set('fruit', 'apple');
    – ...
Testing
●   DBUnit for database - http://www.dbunit.org
    –   PHPUnit for PHP - http://phpunit.de
    –   phpUnderContro...
EC2
●   New! Persistent storage
●   Storage caching mysteries
●   High availability is difficult
    –   Can't do heartbea...
Gearman
●   Server daemon than can do back-end stuff
●   http://www.danga.com/gearman/
    –   From the people that made m...
Query Cache
●   Only SELECT statements
●   Viewing cache statistics:
    –   SHOW GLOBAL STATUS LIKE 'qcache%';
    –   SH...
LVM Snapshots for Backups
●   Linux                             ●   mylvmbackup
●   Procedure                             ...
innodb
●   Google actively improving it
    –   Updated mutex code (CAS instead of mutex)
●   New release! 1.0!
    –   Da...
Flickr Stats – Massive Inserts
●   Tracks images
●   HTTP_REFERRER
●   Custom Java daemon to pool, bulk insert
Hardware Stuff
●   Use 64-bit                ●   Storage
●   Use lots of RAM               –   SAN, DAS, NAS
    –   32GB ...
Hardware Stuff
  ●   Violin Memory                                      ●   Kickfire
  ●   500GB RAM Drive                ...
Scaling MySQL: Up or Out?
●   MySQL, Sun, Flickr,
    FotoLog, Wikipedia,
    Facebook, YouTube
●   Facebook has over 1800...
Other stuff
●   High Availability – DRBD
●   information_schema
    –   Alternative to MySQL's SHOW command
    –   Make p...
Questions?




 Thank you!
Upcoming SlideShare
Loading in …5
×

2008 MySQL Conference Recap

2,816 views

Published on

This was my presentation at the May 2008 Twin Cities MySQL User Group.

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,816
On SlideShare
0
From Embeds
0
Number of Embeds
121
Actions
Shares
0
Downloads
65
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

2008 MySQL Conference Recap

  1. MySQL Conference 2008 Edition Chris Barber http://www.cb1inc.com
  2. Who, What, When? ● April 14-17, 2008 ● Santa Clara, CA ● Over 2000 people (more than last year) ● 160 speakers ● 16 tutorials ● 128 sessions
  3. What's New? ● Sun ● MySQL 5.1 GA (still) ● MySQL Workbench GA – Windows only right now ● Hot backup extension http://www.theopenforce.com/2008/04/burning-the- boa.html ● Monty's talk: – http://monty-says.blogspot.com/2008/04/mysql- conference-good-bad-and-ugly.html – http://www.scribd.com/doc/2575733/The-future-of- MySQL-The-Project
  4. memcached ● Memcached storage engine ● Memcached functions for MySQL – SELECT memc_set('fruit', 'apple'); – SELECT memc_get('fruit');
  5. Testing ● DBUnit for database - http://www.dbunit.org – PHPUnit for PHP - http://phpunit.de – phpUnderControl - http://www.phpundercontrol.org v
  6. EC2 ● New! Persistent storage ● Storage caching mysteries ● High availability is difficult – Can't do heartbeat ● Previous machine's host remnants – Need to zero out drive... can take 5 hours!
  7. Gearman ● Server daemon than can do back-end stuff ● http://www.danga.com/gearman/ – From the people that made memcached ● netgearman – PHP library for Gearman – http://code.google.com/p/netgearman/
  8. Query Cache ● Only SELECT statements ● Viewing cache statistics: – SHOW GLOBAL STATUS LIKE 'qcache%'; – SHOW GLOBAL STATUS LIKE 'query_cache%'; ● 16MB by default ● Invalidates easily ● Can become fragmented
  9. LVM Snapshots for Backups ● Linux ● mylvmbackup ● Procedure – http://lenz.homelinux. org/mylvmbackup/ – flush tables – flush tables with read lock – Perl script – lvcreate -s – show master/slave status – unlock tables – mount snapshot, perform backup – unmount and discard the snapshot
  10. innodb ● Google actively improving it – Updated mutex code (CAS instead of mutex) ● New release! 1.0! – Data compression – Fast index creation – information_schema tables
  11. Flickr Stats – Massive Inserts ● Tracks images ● HTTP_REFERRER ● Custom Java daemon to pool, bulk insert
  12. Hardware Stuff ● Use 64-bit ● Storage ● Use lots of RAM – SAN, DAS, NAS – 32GB is cheap – Independent storage – Allocate all RAM to – RAID 10 innodb except 2GB – SAS vs. SATA ● 2 x dual core or 1 x – Battery backed cache quad core ● Write through vs. write back
  13. Hardware Stuff ● Violin Memory ● Kickfire ● 500GB RAM Drive ● Database appliance ● PCI-Express ● SQL chip ● Linux support ● Custom storage engine ● 84 x 6GB sticks ● Transparent http://www.flickr.com/photos/fallenpegasus/2424290836/
  14. Scaling MySQL: Up or Out? ● MySQL, Sun, Flickr, FotoLog, Wikipedia, Facebook, YouTube ● Facebook has over 1800 MySQL servers! http://www.flickr.com/photos/x180/2419466880/
  15. Other stuff ● High Availability – DRBD ● information_schema – Alternative to MySQL's SHOW command – Make plugins ● PrimeBase – PBXT Storage Engine ● High Performance MySQL – June 19, 2008
  16. Questions? Thank you!

×