Your SlideShare is downloading. ×
My sql 5.5_product_update
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

My sql 5.5_product_update

956
views

Published on

Published in: Technology, Business

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
956
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
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. <Insert Picture Here> Marcelo.t.souza@oracle.com Gerente de Contas MySQL Henrique.Leandro@oracle.com Consultor MySQLMySQL Product Update
  • 2. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.© 2010 Oracle Corporation – Proprietary and Confidential
  • 3. Oracle’s Investment in Open Source • Supported popular open source projects for many years • Part of Oracle’s Complete, Open, Integrated strategy • Speed up time-to-innovation • Expand the developer community© 2010 Oracle Corporation – Proprietary and Confidential
  • 4. Industry’s most complete LAMP Stack • Oracle Enterprise Linux Applications • Oracle VM (Xen-based) Eclipse Netbeans • Apache, Glassfish Apache Glassfish • MySQL MySQL • PHP, Perl, Python, Ruby, Java, C, C++ Oracle Enterprise Linux & Oracle VM© 2010 Oracle Corporation – Proprietary and Confidential
  • 5. Investment in MySQL • Make MySQL a Better MySQL • #1 Open Source Database for Web Applications • Develop, Promote and Support MySQL • Improve engineering, consulting and support • Leverage 24x7, World-Class Oracle Support • MySQL Community Edition • Source and binary releases • GPL license© 2010 Oracle Corporation – Proprietary and Confidential
  • 6. Investment in MySQL • MySQL Focus Areas • Web, Embedded & Telecom • LAMP • Windows • Oracle + MySQL Customers • Oracle Enterprise Manager • Oracle Secure Backup • Oracle Audit Vault • Oracle GoldenGate© 2010 Oracle Corporation – Proprietary and Confidential
  • 7. Investment in MySQL • MySQL Focus Areas • Web, Embedded & Telecom • LAMP • Windows • Oracle + MySQL Customers • Oracle Enterprise Manager • Oracle Secure Backup • Oracle Audit Vault • Oracle GoldenGate “According to IDC, the DB Market was $19bn in 2008, Oracle had 44% of the market share, with a 13% revenue growth”© 2010 Oracle Corporation – Proprietary and Confidential
  • 8. Investment in MySQL • MySQL Focus Areas • Web, Embedded & Telecom • LAMP • Windows • Oracle + MySQL Customers • Oracle Enterprise Manager • Oracle Secure Backup • Oracle Audit Vault • Oracle GoldenGate© 2010 Oracle Corporation – Proprietary and Confidential
  • 9. MySQL Architecture© 2010 Oracle Corporation – Proprietary and Confidential
  • 10. Storage Engine - MyISAM Highlights  Default MySQL engine (v5.1 and earlier)  No practical limits on data storage  Very efficient storage  Easily handles high-speed data loads  Has B-tree, R-tree, and Full-text Indexes  Supported by special index memory caches  Offers compressed data option  Supports geospatial operations  Uses table level locks  Does not do transactions  Backup/point-in-time recovery supported Best Use Cases  Data warehouse MyISAM  High-traffic web sites© 2010 Oracle Corporation – Proprietary and Confidential
  • 11. Storage Engine - InnoDB Highlights  Provides ACID transaction support  64TB data storage limit per tablespace  Higher storage cost  Slower data load speed than most other engines  Offers MVCC/Snapshot read  Has B-tree and clustered indexes  Supported by special data & index memory caches  Provides foreign key support  Does not offer compressed data option  Uses row level locks and has custom isolation levels  Has crash recovery  Backup/point-in-time recovery supported InnoDB Best Use Cases  OLTP© 2010 Oracle Corporation – Proprietary and Confidential
  • 12. Product Announcements© 2010 Oracle Corporation – Proprietary and Confidential
  • 13. MySQL 5.5 GA Improved Performance and Scalability • InnoDB becomes default storage engine • Better metadata locking within transactions • Improved performance and scalability on Windows • InnoDB Improvements Improved Availability • Semi-synchronous Replication • Replication Heartbeat Improved Usability • SIGNAL/RESIGNAL • More Partitioning Options • PERFORMANCE_SCHEMA© 2010 Oracle Corporation – Proprietary and Confidential
  • 14. MySQL 5 Evolution Reliability Performance Ease of Use• SQL Mode • Stored Procedures • Instance Manager 5.0• Triggers & Views • Cluster query push down • Information Schema• Precision Math • Query optimisations • Cursors• Increased object support • Archive Engine • Enterprise Backup & Recovery• Enteprise Monitoring Tool • InnoDB storage improvements Manager 5.1• Row-Based Replication •Table/Index Partitioning • XML/XPath Support• Disk-based Cluster • Full-Text Index Improvements • Task Scheduler• Cluster Replication with • Faster ALTER TABLE • Storage Engine Plug-in API Conflict Resolution • Faster ADD/DROP Index • CSV Storage Engine• Enterprise Query Analyser • Parallel Data Import• Default InnoDB (Barracuda) • Multiple Buffer Pool and •SIGNAL/RESIGNAL 5.5β• Semi-Sync Replication Rollback Segment • NDB_INFO Schema• Enterprise Connectors • Eliminated Lock bottlenecks • MySQL Cluster Manager• Enterprise Support Diagnostics • Extended Change Buffering & • MySQL Workbench 5.2• MySQL Cluster on Windows Purge Scheduling • MySQL Cluster Connectors• Fast InnoDB Recovery • PERFORMANCE_SCHEMA • MySQL Enterprise Backup • Multithreaded Cluster© 2010 Oracle Corporation – Proprietary and Confidential
  • 15. InnoDB 1.1 (included in MySQL 5.5) GA Performance Improvements • Improved recovery performance • Multiple buffer pool instances • Multiple rollback segments • Native asynchronous I/O for Linux • Extended change buffering Scalability Improvements • Improved Log Sys Mutex • Separate Flush List Mutex • Improved purge scheduling Better Instrumentation and Diagnostics • InnoDB stats in PERFORMANCE_SCHEMA© 2010 Oracle Corporation – Proprietary and Confidential
  • 16. Improved Recovery Performance “Standard SysBench recovery improved from 7 hours to 14 minutes” • In many circumstances, recovery time is downtime. • Only MySQL Replication can avoid this situation, but it is not always applicable© 2010 Oracle Corporation – Proprietary and Confidential
  • 17. Multiple Buffer Pool • 5.1: 1 Buffer Pool • 5.5: up to 64 Buffer Pools The Car Park Analogy •In 5.1, the Car Park had 1 entrance and 1 exit •In 5.5, the Car Park has 64 entrances and 64 exits •The number of spaces available is the same, but cars can get in and out quicker© 2010 Oracle Corporation – Proprietary and Confidential
  • 18. Multiple Rollback Segments • 5.1: 1 Rollback Segment can handle up to 1023 concurrent “write” transactions • 5.5: 128 Rollback Segments can handle up to 128k concurrent “write” transactions The Highway Analogy •In 5.1, the highway had 1 lane •In 5.5, the highway has 128 lanes •Each lane can still handle up to 1023 cars per hour and cars run at the same speed, but 128 lanes can handle 128k cars per hour in total© 2010 Oracle Corporation – Proprietary and Confidential
  • 19. MySQL 5.5 SysBench Benchmarks MySQL 5.5.4 (New InnoDB) MySQL 5.1.40 (InnoDB Plug-in) MySQL 5.1.40 (InnoDB built-in) 200% performance gain Intel Xeon X7460 x86_64 4 CPU x 6 Cores/CPU 2.66 GHz, 32GB RAM for MySQL 5.5 over 5.1.40; at scale Fedora 10© 2010 Oracle Corporation – Proprietary and Confidential
  • 20. MySQL 5.5 SysBench Benchmarks MySQL 5.5.4 (New InnoDB) MySQL 5.1.40 (InnoDB Plug-in) MySQL 5.1.40 (InnoDB built-in) 364% performance gain Intel Xeon X7460 x86_64 4 CPU x 6 Cores/CPU 2.66 GHz, 32GB RAM for MySQL 5.5 over 5.1.40; at scale Fedora 10© 2010 Oracle Corporation – Proprietary and Confidential
  • 21. MySQL HA Solutions Clustering & Geographical Redundancy MySQL Cluster Clustering Technologies DRBD Replication Technologies MySQL + Shared-Disk Well-Managed MySQL Replication Unmanaged ISPs & Telco Small Data Banking Military Business Mainstream Business Centers Medical Defense 9 9 . 9 9 9 35 days 4 days 8 hours 50 mins 5 mins %© 2010 Oracle Corporation – Proprietary and Confidential
  • 22. MySQL 5.5 with Java Applications Cost per Transaction MySQL 5.1 MySQL 5.1/Plugin MySQL 5.5 Read Intensive 0.78 0.75 0.68 Write Intensive 1.02 0.90 0.80 Mixed 0.88 0.82 0.74© 2010 Oracle Corporation – Proprietary and Confidential
  • 23. MySQL Replication Application Application Replication Slave Master MySQL MySQL I/O SQL Confirm SE1 SE2 SE1 SE2 Storage Storage Engines Engines Binlog Relay© 2010 Oracle Corporation – Proprietary and Confidential
  • 24. MySQL Cluster X NDB Memory X Storage Engine & Disk© 2010 Oracle Corporation – Proprietary and Confidential
  • 25. MySQL 5.5 with PhP Applications Cost per Transaction MySQL 5.1 MySQL 5.1/Plugin MySQL 5.5 Read Intensive 1.41 1.11 0.75 Write Intensive 1.98 1.47 1.02 Mixed 1.65 1.26 0.86© 2010 Oracle Corporation – Proprietary and Confidential
  • 26. What Facebook is saying I previously tested InnoDB on an 8-core server to determine how many IOPs it can do for a simple IO-bound workload. The limits were ~12k disk reads/second for MySQL 5.0 and ~18k reads/second for MySQL 5.1. I just repeated the tests using a 16-core server and the results are much better. I can get 20,000 to 30,000 disk reads/second using InnoDB 5.1. InnoDB 5.5 appears to be capable of 50,000 to 70,000 disk reads/second courtesy of support for multiple buffer pools (innodb_buffer_pool_instances). Mark Callaghan’s Blog, Facebook – June 21, 2010http://www.facebook.com/note.php?note_id=403975340932
  • 27. What Facebook is sayinghttp://www.facebook.com/note.php?note_id=403975340932
  • 28. Replication with MySQL 5.5 • 5.1: Asynchronous Replication • 5.5: Asynchronous Replication + Semi-Synchronous Replication + Replication Heartbeat • In 5.1, in case of Master fault, you may lose some data • In 5.5, in case of Master fault, your data is already saved on a Slave server • This is the same HA approach adopted by other vendors.© 2010 Oracle Corporation – Proprietary and Confidential
  • 29. Replication: Asynchronous vs Semi-SynchronousAsynchronous Semi-Synchronous•Ideal for scalability •Ideal for availability•In case of Master fault, you •In case of Master fault, you may lose some data will not lose data•Replication has no impact on •Replication has an impact on write operations write operations© 2010 Oracle Corporation – Proprietary and Confidential
  • 30. MySQL Cluster 7.1 – Key Enhancements GA Reducing Cost of Operations •Simplified Management & Monitoring: •ndbinfo real-time monitoring •MySQL Cluster Manager •Faster system restarts Delivering up to 10x higher Java Throughput •MySQL Cluster Connector for Java: •Native Java API •OpenJPA Plug-In Windows Support •GA Version - Ready for production© 2010 Oracle Corporation – Proprietary and Confidential
  • 31. MySQL Cluster Manager and NDB_INFO • 7.0: DBAs had to rely on scripts and different tools administer and monitor Cluster • 7.1: Administration is simplified and free from human errors; monitoring is easier mysql> use ndbinfomysql> show tables; +-------------------+ | Tables_in_ndbinfo | +-------------------+ | blocks | | config_params | | counters | | logbuffers | | logspaces | | memoryusage | | nodes | | resources | | transporters | +-------------------+© 2010 Oracle Corporation – Proprietary and Confidential
  • 32. Java Access Performance© 2010 Oracle Corporation – Proprietary and Confidential
  • 33. MySQL Enterprise Monitor 2.3 GA • Performance Optimization for Java and .NET applications • Improved Performance Monitoring • MySQL Enterprise Connector Plugins to Query Analyzer • MySQL Query Analyzer Advanced Search Options • New Query Analyzer Execution Notices • Filter for Specific Query Problems • Full Table Scans, Bad Indexes • Improved User/Security Model • New Read Only User • New LDAP Authentication • Improved Integration with MySQL Support • New MySQL Support Diagnostic Reports© 2010 Oracle Corporation – Proprietary and Confidential
  • 34. Enterprise Connector Plugins • 2.1: All the traffic for Query Analyzer should pass through a proxy system • 2.2: Java and .NET applications can send query data directly to the Monitoring System, with no or very little overhead Application Server MySQL Database (SQL statements & result sets)‫‏‬ 3. Connector/J, NET 3306 4. Plugin for Connector/J, NET 2. MySQL Agent (SQL performance data: statements, examples, EXPLAINs, aggregated stats)‫‏‬ (MySQL & OS monitoring data)‫‏‬ 18080 1. MySQL Enterprise Monitor (Service Manager, Dashboard)‫‏‬© 2010 Oracle Corporation – Proprietary and Confidential
  • 35. MySQL Enterprise Backup • Formerly “InnoDB Hot Backup” • Online, non-locking backup & recovery • Tables, Indexes • Server, database, or object-level • Logical and physical backups • Full or incremental backups • Supports InnoDB and MyISAM • Cross-Platform (Windows, Linux, Unix) • Features • Point-in-time recovery • Compressed backups • Partial Backup© 2010 Oracle Corporation – Proprietary and Confidential
  • 36. MySQL Workbench 5.2 GA • Three Tools in One Product • SQL Editor • Database Administrator • Data Modeler • Cross Platform and Native UI • Windows • Linux • Mac OS X© 2010 Oracle Corporation – Proprietary and Confidential
  • 37. Benefits of MySQL 5.5 Cut Costs, Better Tools, and Better IntegrationCut Costs in Improve Efficiencies – Eliminate downtime & related business and IT costs – More options for HA and Replication – Easily scale vertically and/or horizontally as demand growsBetter Tools for Managing Change – MySQL Workbench – All-In-One Administration, Modeling, SQL Editor – MySQL Enterprise Monitor – proactive problem resolution – API and Application Language EnhancementsBetter integration – With Oracle products – LAMP – Windows© 2010 Oracle Corporation – Proprietary and Confidential
  • 38. The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.© 2010 Oracle Corporation – Proprietary and Confidential
  • 39. © 2010 Oracle Corporation – Proprietary and Confidential