MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt

Click here to load reader

  • date post

    26-Jan-2015
  • Category

    Software

  • view

    109
  • download

    0

Embed Size (px)

description

MariaDB und mehr Presented by Ralf Gebhardt at the MariaDB Roadshow Germany: 4.7.2014 in Hamburg, 8.7.2014 in Berlin and 11.7.2014 in Frankfurt.

Transcript of MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt

  • 1. MariaDBundmehr MariaDBRoadshow2014 Hamburg-Berlin-Frankfurt RalfGebhardt,SalesEngineer [email protected]

2. MariaDBToday AfreeforkofMySQLwith extrafeatures BackwardcompaNble Communitydeveloped, Enterpriseready 3. SkySQLTheMariaDBCompany WhereisMariaDB? DistribuNons: RedHatEnterpriseLinux,Debian,Ubuntu,Fedora,Mageia, openSUSE,Gentoo,Slackware,Arch,ALTLinux,TurboLinux,Chakra Project,Kdu,andmanyothers. FreeBSD,OpenBSD MacOSXwithMacPortsorHomebrew FromMariaDB.org sources,binariesin.tar.gzor.zip(Windows) WindowsMSIinstaller MariaDBaptandyumrepositories Inthecloud OnAmazon,OpenStackpublicandprivateclouds 4. MariaDBTimeline MariaDB5.1,GAFebruary2010 Table elimination, new storage engines, code cleanup, better tests, pool of threads 5. MariaDBTimeline MariaDB5.1,GAFebruary2010 MariaDB5.2,GANovember2010 Table elimination, new storage engines, code cleanup, better tests, pool of threads Virtual columns, extended user statistics, segmented MyISAM keycache 6. MariaDBTimeline MariaDB5.1,GAFebruary2010 MariaDB5.2,GANovember2010 MariaDB5.3,GAFebruary2012 Table elimination, new storage engines, code cleanup, better tests, pool of threads Virtual columns, extended user statistics, segmented MyISAM keycache Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket 7. MariaDBTimeline MariaDB5.1,GAFebruary2010 MariaDB5.2,GANovember2010 MariaDB5.3,GAFebruary2012 MariaDB5.5,GAApril2012 Table elimination, new storage engines, code cleanup, better tests, pool of threads Virtual columns, extended user statistics, segmented MyISAM keycache Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc. 8. MariaDBTimeline MariaDB5.1,GAFebruary2010 MariaDB5.2,GANovember2010 MariaDB5.3,GAFebruary2012 MariaDB5.5,GAApril2012 MariaDBGaleraCluster,GAMarch2013 Table elimination, new storage engines, code cleanup, better tests, pool of threads Virtual columns, extended user statistics, segmented MyISAM keycache Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc. Galera Synchronous Replication 9. MariaDBTimeline MariaDB5.1,GAFebruary2010 MariaDB5.2,GANovember2010 MariaDB5.3,GAFebruary2012 MariaDB5.5,GAApril2012 MariaDBGaleraCluster,GAMarch2013 MariaDB10.0.10(March2014) Table elimination, ew storage engines, code cleanup, better tests, pool of threads Virtual columns, extended user statistics, segmented MyISAM keycache Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc. Galera Synchronous Replication 10. MariaDBTimeline MariaDB5.1,GAFebruary2010 MariaDB5.2,GANovember2010 MariaDB5.3,GAFebruary2012 MariaDB5.5,GAApril2012 MariaDBGaleraCluster,GAMarch2013 MariaDB10.0.10(March2014) MariaDBGaleraCluster10,July2014 Table elimination, ew storage engines, code cleanup, better tests, pool of threads Virtual columns, extended user statistics, segmented MyISAM keycache Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc. Galera Synchronous Replication 11. OtherMariaDBProjects MaxScale Connectors/Drivers MariaDBCClientLibrary(LGPL) MariaDBJDBCdriver(LGPL) MariaDBODBCdriver(LGPL) MariaDBAuditPlugin 12. CommunityContribuNons [email protected]: PerthreadmemorycounNngand usage BasecodeandideabyLixun Peng,Taobao MulN-sourcereplicaNon BasecodebyLixunPeng,Taobao GET_LOCK CodebyKonstanNn"Kostja" Osipov,mail.ru CONNECTstorageengine CodebyOlivierBertrand https://mariadb.com/kb/en/log-of-mariadb-contributions/ Spiderstorageengine metadata_lock_infoInformaNon schema CodebyKentokuShiba,SpiralArm Roles CodebyVicenNuCiorbaru,Google SummerofCode2013 PCRERegularExpressions CodebySudheeraPalihakkara, GoogleSummerofCode2013 GlobalTransacNonIDs SomepatchesbyPavelIvanov, Google 13. MariaDB10inanutshell MariaDB5.5features+ MySQL5.6backportedfeatures-InnoDB/XtraDB, PERFORMANCE_SCHEMA,onlineALTERTABLEetc. MulN-sourcereplicaNon GlobalTransacNonID ParallelSlaveThread TokuDB,Spider,Connect,Cassandrastorageengines SSDandFlashstorageenhancements Userroles MoreadministraNonandinstrumentaNoncommands... 14. OpNmizerImprovements Of 29 distinct enhancements noted, 28 are in MariaDB 10. Just 1 only in MySQL 5.6. Enhancements include: Disk access optimizations. JOIN optimizations. Subquery optimizations. Optimized derived tables and views. Execution control. Optimizer control. EXPLAIN improvements. 15. Fusion-IOpagecompression Atomicwritesgivesa performanceincreaseofabout 30%.Byenablingfastchecksum forXtraDBits50% Byusingpagecompressionthe compressionraNoisleadingto bemerperformanceandthere arelesswritestodisk. MulN-threadedushprovides bemerthroughputand decreasesoperaNonlatencies deliveringaperformanceboost h"ps://blog.mariadb.org/signicant-performance-boost-with-new-mariadb-page-compression-on-fusionio 16. GroupCommit binlog_commits Totalnumberof transacNonscommimedto thebinarylog binlog_group_commits Totalnumberofgroupsof transacNonscommimedto thebinarylog Whensync_binlog=1itisthe numberoffsync()s 17. GlobalTransacNonID 18. ParallelSlaveThreadReplicaNon SponsoredbyGoogle TransacNonsareappliedinparalleliftheyhavebeenexecutedinparallelonthe master. ItworksbeyondtheboundariesofMySQL5.6parallelslave Parallelthreadsapplyto: Queriesthatarerunonthemasterinonegroupcommit. Queriesthatarefromdierentdomains. Queriesfromdierentmasters (whenusingmulN-source replicaNon). slave_parallel_threads Numberofparallelthreadson theslavenode slave_parallel_max_queued Memoryusedtoreadahead inrelaylog 19. MulN-sourceReplicaNon DataparNNonedovermany masterscanbepulled togetherontooneslavefor analyNcalqueries Manymasterscanreplicateto thesameslaveandacomplete backupcanbedoneontheslave Newerhardwareusuallyprovidesmore performance.Usuallyallhardwareisntupgradedat onceandmulN-sourcecanbeusedforreplicaNng manymasterstoapowerfulnewslave. Upto64masters 20. SkySQLTheMariaDBCompany MariaDBGaleraCluster Read&Writeaccesstoany node Clientcanconnecttoany node Therecanbeseveralnodes AutomaNcnode provisioning ReplicaNonissynchronous Galera Replication MariaDB MariaDB MariaDB 21. SkySQLTheMariaDBCompany TokuDB Drop-inreplacementforInnoDB/XtraDB developedbyTokutek. Advancedindexingand compressionalgorithms. Upto20xperformancegain forinserts/updates. Upto90%lessdiskstorage. Onlineschemachangesandonlinebackup features. SimpliedadministraNon 22. SkySQLTheMariaDBCompany Spider Spiderisastorageenginebasedonthe MySQLparNNoningfeatures,withbuilt-in shardingcapabiliNes TablesofdierentMariaDBinstancesare handledasiftheyareonthesameinstance ItsupportsXAtransacNonsandmulNple storageengines(InnoDB,MyISAMetc.) DevelopedbyKentokuShiba, availableonLaunchpad, rstintroducedin2008 andnowavailablein MariaDB10 23. SkySQLTheMariaDBCompany Connect ConnectenablesMariaDBtouseexternal dataastheywerestandardtablesinthe server DataisnotloadedintoMariaDB Integrates/accessdatadirectlyinmanynon- MariaDBformats SimpliestheETLproceduresin BusinessIntelligenceand BusinessAnalyNcs Simpliestheexport/importof datafrom/toMariaDB,to/from otherdatasources 24. SkySQLTheMariaDBCompany DynamicColumns StoreUnstructuredData Store unstructured data in MariaDB tables with a simple API. Use MariaDBs indexing and transactions to manipulate document style data fast and consistently. Nest sets of dynamic columns inside of other dynamic columns - hierarchical structuring. Include multiple rows with dynamic columns in transactions.Process unstructured data in the same way as NoSQL ,but with the power of MariaDB Cust IDAccount BalanceDyn_Col_BLOBs2035$154.04NAME: John Smith|LOC: 45.35243, -74.98348|IMAGE: x27A8B8C ...2036$929.10NAME: Jane Doe|LOC: 45.35243, -74.98348|AGE: 32| GENDER: F...2037$377.53NAME: Carol Jones|AGE: 43|GENDER: F||IMAGE: xA9674DE678 ... 25. SkySQLTheMariaDBCompany EvenmoreinnovaNvefeatures Role-basedaccesscontrol SHOWEXPLAINFORthread Explainonslowquerylog Cassandrastorageengine Virtualanddynamiccolumns HandlerSocketplugin AuditandPAMplugins 26. SkySQLTheMariaDBCompany MariaDB10.1 SingledistribuNonforclusteredandnon-clusteredMariaDB 5.6,5.7andWebscaleSQLfeatures Portabletablespaces Improvedthreadmanagement KerberosauthenNcaNonsupport GISimprovements WindowingfuncNons innerandouterdatabasesecurityandencrypNon MoreNoSQLenhancements h"ps://mariadb.atlassian.net/secure/ReleaseNote.jspa?projectId=10000&version=12200 27. SkySQLTheMariaDBCompany BeyondMariaDB Business [email protected] 28. SkySQLTheMariaDBCompany BeyondMariaDB Business [email protected] Unlimited Scalability 29. SkySQLTheMariaDBCompany BeyondMariaDB Business [email protected] Unlimited Scalability Systems [email protected] 30. SkySQLTheMariaDBCompany BeyondMariaDB Business [email protected] Unlimited Scalability Systems [email protected] Systems [email protected] 31. SkySQLTheMariaDBCompany MaxScale Adatabase-centricproxy, genericinnature Highlyscalable Lightweightwithsmallfootprint Minimumpossiblelatency Highlyavailable Extendible Integratedwithsystemssecurity CompaNblewithanyversionof MySQL/MariaDBserversand applicaNons(4.1+) 32. SkySQLTheMariaDBCompany MariaDBEnterprise:IntegraNngthe CompleteSoluNon MariaDB EnterpriseSubscriptionsDevOpsAdminNoSQL Sharding ClusteringInnovationSupportConsultingTrainingRDBAPortalNRECustomer Care Partner Products 33. Fragen? www.mariadb.com www.facebook.com/mariadb.dbms www.twimer.com/mariadb VielenDank! MariaDBundmehr Copyright 2014 SkySQL Corporation Ab. SkySQL and MariaDB are trademarks or registered trademarks of SkySQL Corporation Ab in the European Union and United States of America and/or other countries. MySQL is a trademark of Oracle Corporation Inc. Other names may be trademarks of their respective owners.