Features of TMySQL/TSpider port into MariaDB

Slides:



Advertisements
Similar presentations
Refeng Wu CQ5 WCM System Administrator
Advertisements

Copyright Hub Software Engineering Ltd 2010All rights reserved Hub Document Manager Product Overview.
2 Proprietary & Confidential What is Sharding Benefits of Sharding Alternatives of Sharding When to start Sharding Agenda.
Drop in replacement of MySQL. Agenda MySQL branch GPL licence Maria storage engine Virtual columns FederatedX storage engine PBXT storage engine XtraDB.
Oracle 10g Database Administrator: Implementation and Administration
G51FSE Version Control Naisan Benatar. Lecture 5 - Version Control 2 On today’s menu... The problems with lots of code and lots of people Version control.
ADVANCE REPLICATION Oracle Coretech Surabaya (OCS) One Day Seminar Surabaya, August 30 th 2008.
Copyright © 2013 NetEase 马进 app DDB introduce.
Database Design for DNN Developers Sebastian Leupold.
Microsoft ® SQL Server ® 2008 and SQL Server 2008 R2 Infrastructure Planning and Design Published: February 2009 Updated: January 2012.
Open Source Backup 1 Cloud Backup of Distributed MySQL Applications Taking snapshot of a thousand dancing dolphins Chander Kant Paddy.
Online Database Support Experiences Diana Bonham, Dennis Box, Anil Kumar, Julie Trumbo, Nelly Stanfield.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Window NT File System JianJing Cao (#98284).
1 Software Development Configuration management. \ 2 Software Configuration  Items that comprise all information produced as part of the software development.
& Dev Ops. Sherwin-Williams & DevOps Introduction to Sherwin-Williams.
DBA’s, Oracle Designer and the Development Life Cycle By Peter Wilkinson, Mercury International Ltd. Leslie Tierstein, SCI Consulting, Inc.
Git – versioning and managing your software L. Grewe.
MySQL. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn The main subsystems in MySQL architecture The different storage.
Copyright 2006 MySQL AB The World’s Most Popular Open Source Database MySQL Cluster: An introduction Geert Vanderkelen MySQL AB.
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
000000_1 Confidential and proprietary information of Ingram Micro Inc. — Do not distribute or duplicate without Ingram Micro's express written permission.
The Roadmap to New Releases Derek Wright Computer Sciences Department University of Wisconsin-Madison
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
SQL Server 2005 Implementation and Maintenance Chapter 12: Achieving High Availability Through Replication.
CS525: Big Data Analytics MapReduce Computing Paradigm & Apache Hadoop Open Source Fall 2013 Elke A. Rundensteiner 1.
Sofia Event Center May 2014 Martin Kulov Git For TFS Developers.
Coupling Facility. The S/390 Coupling Facility (CF), the key component of the Parallel Sysplex cluster, enables multisystem coordination and datasharing.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
ATS code development workflow Group Name: TST WG Source: Mahdi Ben Alaya, TST WG vice chair, SENSINOV, Miguel.
BIG DATA/ Hadoop Interview Questions.
1 Build Your Own MySQL Time Machine Chuck Bell, PhD Mats Kindahl, PhD Replication and Backup Team Sun Microsystems 1.
Introducing Hekaton The next step in SQL Server OLTP performance Mladen Prajdić
SysPlex -What’s the problem Problems are growing faster than uni-processor….1980’s Leads to SMP and loosely coupled Even faster than SMP and loosely coupled.
1 Copyright 2008 Sun The World’s Most Popular Open Source Database Maria Engine Oscon, Michael Widenius MySQL Fellow.
SQL Database Management
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Constructing Deploying and Maintaining Enterprise Systems
Database Services Katarzyna Dziedziniewicz-Wojcik On behalf of IT-DB.
Database Services Katarzyna Dziedziniewicz-Wojcik On behalf of IT-DB.
Understanding Operating Systems Seventh Edition
MySQL: The Elephant in the Room Rob Wultsch
Lead SQL BankofAmerica Blog: SQLHarry.com
Docker Birthday #3.
Software Defined Storage
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Planning, Configuring, And Troubleshooting WINS.
Chapter 2: System Structures
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Generator Services planning meeting
MyRocks at Facebook and Roadmaps
Introduction to SQL Server Management for the Non-DBA
Introduction of Week 6 Assignment Discussion
Replication Updates on MariaDB 10.2/10.3
Sergey Vojtovich Software MariaDB Foundation
AWS DevOps Engineer - Professional dumps.html Exam Code Exam Name.
Get Amazon AWS-DevOps-Engineer-Professional Exam Real Questions - Amazon AWS-DevOps-Engineer-Professional Dumps Realexamdumps.com
Instant Add Columns in MySQL
Windows Server 2016 Software Defined Storage
Revision Control Daniel Daugherty
TechEd /21/2018 5:20 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Chapter 2: System Structures
Intro. To Operating Systems
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Internal QA in Open Source Development
Git CS Fall 2018.
AIMS Equipment & Automation monitoring solution
NoSQL databases An introduction and comparison between Mongodb and Mysql document store.
Setting up PostgreSQL for Production in AWS
The Database World of Azure
Presentation transcript:

Features of TMySQL/TSpider port into MariaDB Tencent Game DBA Team

Agenda Tencent Game DBA Team TenDB and TenDB Cluster introduction What features have been port into MariaDB Roadmap of open source What will we do next Back to the open source

Tencent Game DBA Team Tencent Games DBA Team Member Hundreds of self-developed or delegated games,20000+ MySQL instances and 10000+ machines 50% of the Tencent’s revenue comes from games DBA Team Member 4 people work on MySQL/Spider source code development – mysql kernel developer 2 people work on DB automation management platform 24 people work on DB management and maintenance jobs

TenDB and TenDB Cluster Introduction TMySQL -> TenDB A MySQL branch maintained by Tencent Game DBA Team Based on MySQL 5.5.24/Percona 5.6.24(thread_pool feature) – large-scale use in production environment Based on MySQL 5.7 – in developing TSpider -> TenDB Cluster Base on Spider engine 3.1, started in late 2013 The largest Spider Cluster, 2000+instances Auto sharding and auto-online scale out TenDB hash(id)=0 hash(id)=1 hash(id)=2 hash(id)=.. Domain+Port Spider

Part1: What features have been ported into MariaDB TenDB features have been ported into MariaDB Version Core Features Description Release Time MariaDB Version TenDB 1.1 InnoDB Instant Add Column Add column finished in less than one second, no need to copy table 2012/12/10 MariaDB 10.3.2 TenDB 1.2 Memory optimization core bugs fixed Use tcmalloc to solve the memory fragmentation problem 5 important mysql bugs fixed 2013/3/20 TenDB 1.3 (In-Place) Upgrade enhance backup/import data Support MySQL5.0 —> TenDB inplace upgrade Parallel data import(A5 60% Z3 90% data import time recude) 2013/6/6 TenDB 1.4 SqlParse InnoDB Big Column Compression Integrated grammar, semantic check to OSS change subsystem, improve business change efficiency Storage-engine independent column compression enables blob/text/varbinary columns to be compressed 2014/10/7 TenDB 1.5 Binlog compression Read binlog speed limit Add new binlog events to store the compressed binlog and reduce the storage capacity restrict the speed at which the slave reads the binlog from the master 2015/06/07 MariaDB 10.2.3 TenDB 2.1 Parallel replication Extended binary log events, support for parallel replication and recovery based on table, more than 3 times more efficient 2016/1/1 TenDB 2.1.4 relay log compression 2017/9/7

Part2: What features have been ported into MariaDB TenDB Cluster features have been ported into MariaDB(immediately) Production Item Type Name Description Status MariaDB Version TenDB Cluster New Feature Connection Pool Allocate connections on demand and recycle them regularly, which can enhance the cluster performance has been Merged into Spider 3.3(2017.4.1) branch: bb-10.2-spider force index Push Down force index push down to the remote DB instances Optimization limit x,y optimization in most case, limit x,y will cost lot of overhead, the optimization calculate which exact shard holds the needed data pre_scan optimization The prefetch function (pre_scan) in Spider causes the net read timeout when a single shard is processed too long BUG Fixed Open table BUG solve a particular situation where cause infinite loops System Table BUG solve table’s name exceed 80 bytes cannot be created windows BUG solve the problem of debug on windows environment

Roadmap of open source 2017.10.9 MariaDB releases the alpha version of 10.3.2 Covering the two major features of TenDB: Instant Add Column and column compression 2017.04 The second time to participate the MariaDB Developer Conference Discuss the Instant Add Column design and implementation, 45 days integrated into MariaDB 10.3 Discuss the TenDB Cluster connection pool and other features and bugs fixed integrated to MariaDB 10.3, and Spider engine will be the first stable version of the release 2016.07 Invite Monty to Tencent Exchange Technology.We shared kernel development and online practice for TenDB and TenDB Cluster 2016.12 MariaDB release the Beta version of 10.2.3Covering the two features of TenDB Replication optimization:binlog compression and slave pull binlog speed limit 2016.10 Tencent Game DBA Team become bronze member of MariaDB Foundation Participate in the MariaDB Developer Conference for the first time Identified the two features of TenDB Replication optimization integrated into MariaDB 10.2.3 version 2016.08

What will we do next Make Spider engine more stable in MariaDB – work together with Kentoku Add distributed transaction support in TenDB Cluster Solve the transaction consistency in fault scenarios Push more features to MariaDB, we will benefit from this too Candidates: Parallel replication(table level) or Relay log compression? We are going to port the Flash Back feature(MariaDB) back to TenDB

Back to the open source Good people together will become more outstanding Open source process allows us to constantly improve Win-Win, Help us, help you Spend less time to migrate the code from our branch to the newest MySQL version More and more important features can be merged into MariaDB, which will influence many users, we can be proud to say that: this feature is from our team! We can get back from MariaDB Port improvements from MariaDB to TenDB Port some useful feature into TenDB