SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
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!

Mais conteúdo relacionado

Mais procurados

Grabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the TrunkGrabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the Trunk
Harold Giménez
 
Django book15 caching
Django book15 cachingDjango book15 caching
Django book15 caching
Shih-yi Wei
 
Engage 2013 - Multi Channel Data Collection
Engage 2013 - Multi Channel Data CollectionEngage 2013 - Multi Channel Data Collection
Engage 2013 - Multi Channel Data Collection
Webtrends
 

Mais procurados (20)

Grabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the TrunkGrabbing the PostgreSQL Elephant by the Trunk
Grabbing the PostgreSQL Elephant by the Trunk
 
Using memcache to improve php performance
Using memcache to improve php performanceUsing memcache to improve php performance
Using memcache to improve php performance
 
HA with Galera
HA with GaleraHA with Galera
HA with Galera
 
Cache hcm-topdev
Cache hcm-topdevCache hcm-topdev
Cache hcm-topdev
 
Django book15 caching
Django book15 cachingDjango book15 caching
Django book15 caching
 
MySQL always-up with Galera Cluster
MySQL always-up with Galera ClusterMySQL always-up with Galera Cluster
MySQL always-up with Galera Cluster
 
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
 
Speeding Up The Snail
Speeding Up The SnailSpeeding Up The Snail
Speeding Up The Snail
 
Memcache
MemcacheMemcache
Memcache
 
7 Ways To Crash Postgres
7 Ways To Crash Postgres7 Ways To Crash Postgres
7 Ways To Crash Postgres
 
Optimization_of_Virtual_Machines_for_High_Performance
Optimization_of_Virtual_Machines_for_High_PerformanceOptimization_of_Virtual_Machines_for_High_Performance
Optimization_of_Virtual_Machines_for_High_Performance
 
Optimize drupal
Optimize drupalOptimize drupal
Optimize drupal
 
Shootout at the PAAS Corral
Shootout at the PAAS CorralShootout at the PAAS Corral
Shootout at the PAAS Corral
 
Engage 2013 - Multi Channel Data Collection
Engage 2013 - Multi Channel Data CollectionEngage 2013 - Multi Channel Data Collection
Engage 2013 - Multi Channel Data Collection
 
Scaling WordPress
Scaling WordPressScaling WordPress
Scaling WordPress
 
PERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaPERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schema
 
Drupal feature proposal: two new stream-wrappers
Drupal feature proposal: two new stream-wrappersDrupal feature proposal: two new stream-wrappers
Drupal feature proposal: two new stream-wrappers
 
High performance WordPress
High performance WordPressHigh performance WordPress
High performance WordPress
 
GUC Tutorial Package (9.0)
GUC Tutorial Package (9.0)GUC Tutorial Package (9.0)
GUC Tutorial Package (9.0)
 
5 things MySql
5 things MySql5 things MySql
5 things MySql
 

Semelhante a 2008 MySQL Conference Recap

From One to a Cluster
From One to a ClusterFrom One to a Cluster
From One to a Cluster
guestd34230
 
Scaling Rails with memcached
Scaling Rails with memcachedScaling Rails with memcached
Scaling Rails with memcached
elliando dias
 
My Sql And Search At Craigslist
My Sql And Search At CraigslistMy Sql And Search At Craigslist
My Sql And Search At Craigslist
MySQLConference
 
Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)
WordCamp Cape Town
 
Cassandra at mahalo_com_scale_la_meetup_de
Cassandra at mahalo_com_scale_la_meetup_deCassandra at mahalo_com_scale_la_meetup_de
Cassandra at mahalo_com_scale_la_meetup_de
mahalomeetup
 
UKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL TuningUKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL Tuning
FromDual GmbH
 
Make Your Life Easier With Maatkit
Make Your Life Easier With MaatkitMake Your Life Easier With Maatkit
Make Your Life Easier With Maatkit
MySQLConference
 

Semelhante a 2008 MySQL Conference Recap (20)

From One to a Cluster
From One to a ClusterFrom One to a Cluster
From One to a Cluster
 
20080611accel
20080611accel20080611accel
20080611accel
 
MySQL Tuning
MySQL TuningMySQL Tuning
MySQL Tuning
 
Scaling Rails with memcached
Scaling Rails with memcachedScaling Rails with memcached
Scaling Rails with memcached
 
MySQL Server Backup, Restoration, and Disaster Recovery Planning
MySQL Server Backup, Restoration, and Disaster Recovery PlanningMySQL Server Backup, Restoration, and Disaster Recovery Planning
MySQL Server Backup, Restoration, and Disaster Recovery Planning
 
My Sql And Search At Craigslist
My Sql And Search At CraigslistMy Sql And Search At Craigslist
My Sql And Search At Craigslist
 
Os Wilhelm
Os WilhelmOs Wilhelm
Os Wilhelm
 
OpenSolaris Web Stack MySQL BOF
OpenSolaris Web Stack MySQL BOFOpenSolaris Web Stack MySQL BOF
OpenSolaris Web Stack MySQL BOF
 
20081022cca
20081022cca20081022cca
20081022cca
 
Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)
 
Memcached Study
Memcached StudyMemcached Study
Memcached Study
 
Spark 2.x Troubleshooting Guide
Spark 2.x Troubleshooting GuideSpark 2.x Troubleshooting Guide
Spark 2.x Troubleshooting Guide
 
Shootout at the AWS Corral
Shootout at the AWS CorralShootout at the AWS Corral
Shootout at the AWS Corral
 
Cassandra at mahalo_com_scale_la_meetup_de
Cassandra at mahalo_com_scale_la_meetup_deCassandra at mahalo_com_scale_la_meetup_de
Cassandra at mahalo_com_scale_la_meetup_de
 
UKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL TuningUKOUG 2011: Practical MySQL Tuning
UKOUG 2011: Practical MySQL Tuning
 
Make Your Life Easier With Maatkit
Make Your Life Easier With MaatkitMake Your Life Easier With Maatkit
Make Your Life Easier With Maatkit
 
OSDC 2016 - Tuning Linux for your Database by Colin Charles
OSDC 2016 - Tuning Linux for your Database by Colin CharlesOSDC 2016 - Tuning Linux for your Database by Colin Charles
OSDC 2016 - Tuning Linux for your Database by Colin Charles
 
Hong Qiangning in QConBeijing
Hong Qiangning in QConBeijingHong Qiangning in QConBeijing
Hong Qiangning in QConBeijing
 
M|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocksM|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocks
 
Optimize Your Hardware for Drupal
Optimize Your Hardware for DrupalOptimize Your Hardware for Drupal
Optimize Your Hardware for Drupal
 

Mais de Chris Barber

Cassandra - Say Goodbye to the Relational Database (5-6-2010)
Cassandra - Say Goodbye to the Relational Database (5-6-2010)Cassandra - Say Goodbye to the Relational Database (5-6-2010)
Cassandra - Say Goodbye to the Relational Database (5-6-2010)
Chris Barber
 

Mais de Chris Barber (11)

Remote IP Power Switches
Remote IP Power SwitchesRemote IP Power Switches
Remote IP Power Switches
 
Node.js/io.js Native C++ Addons
Node.js/io.js Native C++ AddonsNode.js/io.js Native C++ Addons
Node.js/io.js Native C++ Addons
 
Titanium 3.2 CLI - TiAppCamp2 - 11/2/2013
Titanium 3.2 CLI - TiAppCamp2 - 11/2/2013Titanium 3.2 CLI - TiAppCamp2 - 11/2/2013
Titanium 3.2 CLI - TiAppCamp2 - 11/2/2013
 
Exploring the Titanium CLI - Codestrong 2012
Exploring the Titanium CLI - Codestrong 2012Exploring the Titanium CLI - Codestrong 2012
Exploring the Titanium CLI - Codestrong 2012
 
Intro to PECL/mysqlnd_ms (4/7/2011)
Intro to PECL/mysqlnd_ms (4/7/2011)Intro to PECL/mysqlnd_ms (4/7/2011)
Intro to PECL/mysqlnd_ms (4/7/2011)
 
Cassandra - Say Goodbye to the Relational Database (5-6-2010)
Cassandra - Say Goodbye to the Relational Database (5-6-2010)Cassandra - Say Goodbye to the Relational Database (5-6-2010)
Cassandra - Say Goodbye to the Relational Database (5-6-2010)
 
Debugging Dojo Applications (2/10/2010)
Debugging Dojo Applications (2/10/2010)Debugging Dojo Applications (2/10/2010)
Debugging Dojo Applications (2/10/2010)
 
Titanium Powered Desktop & Mobile Apps (11/21/2009)
Titanium Powered Desktop & Mobile Apps (11/21/2009)Titanium Powered Desktop & Mobile Apps (11/21/2009)
Titanium Powered Desktop & Mobile Apps (11/21/2009)
 
Dojo - Javascript's Swiss Army Knife (7/15/2009)
Dojo - Javascript's Swiss Army Knife (7/15/2009)Dojo - Javascript's Swiss Army Knife (7/15/2009)
Dojo - Javascript's Swiss Army Knife (7/15/2009)
 
High Availability With DRBD & Heartbeat
High Availability With DRBD & HeartbeatHigh Availability With DRBD & Heartbeat
High Availability With DRBD & Heartbeat
 
Memcached And MySQL
Memcached And MySQLMemcached And MySQL
Memcached And MySQL
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

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