2008 MySQL Conference Recap
Upcoming SlideShare
Loading in...5
×
 

2008 MySQL Conference Recap

on

  • 2,791 views

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

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

Statistics

Views

Total Views
2,791
Views on SlideShare
2,614
Embed Views
177

Actions

Likes
1
Downloads
63
Comments
0

6 Embeds 177

http://www.cb1inc.com 128
http://www.planetmysql.org 38
http://cb1inc.com 8
http://surf.googlemashups.com 1
http://www.xianguo.com 1
http://www.slideshare.net 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

2008 MySQL Conference Recap 2008 MySQL Conference Recap Presentation Transcript

  • 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 ● 16 tutorials ● 128 sessions
  • 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
  • memcached ● Memcached storage engine ● Memcached functions for MySQL – SELECT memc_set('fruit', 'apple'); – SELECT memc_get('fruit');
  • Testing ● DBUnit for database - http://www.dbunit.org – PHPUnit for PHP - http://phpunit.de – phpUnderControl - http://www.phpundercontrol.org v
  • 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!
  • 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/
  • 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
  • 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
  • innodb ● Google actively improving it – Updated mutex code (CAS instead of mutex) ● New release! 1.0! – Data compression – Fast index creation – information_schema tables
  • 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 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
  • 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/
  • 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/
  • 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
  • Questions? Thank you!