SlideShare a Scribd company logo
1 of 62
Download to read offline
MariaDB 10.1: What's
new and what's
coming in 10.2
Colin Charles, Team MariaDB, MariaDB Corporation
colin@mariadb.com / byte@bytebot.net
http://bytebot.net/blog/ | @bytebot on Twitter
Tokyo Meetup, Tokyo, Japan
21 July 2016
whoami
• Work on MariaDB at MariaDB Corporation
(SkySQL Ab)
• Merged with Monty Program Ab, makers of
MariaDB
• Formerly MySQL AB (exit: Sun Microsystems)
• Past lives include Fedora Project (FESCO),
OpenOffice.org
• MySQL Community Contributor of theYear Award
winner 2014
2
Global Top 20 Sites
1. Google
2. Facebook
3. YouTube
4. Baidu
5. Yahoo!
6. Amazon
7. Wikipedia
8. QQ
9. Google.co.in
10.Twitter
11.live.com
12.Taobao
13.Msn.com
14.yahoo.co.jp
15.Sina
16.Linkedin.com
17.google.co.jp
18.Weibo
19.Bing.com
20.yandex.ru
What is MariaDB Server?
• GPLv2 branch of MySQL with a lot of added
community development
• Feature enhanced
• Application compatible & feature complete with
MySQL
• A “drop-in replacement” (upgrade standpoint)
MariaDB thru the years
• MariaDB 5.1
• MariaDB 5.2
• MariaDB 5.3
• MariaDB 5.5
• MariaDB 10.0
• MariaDB 10.1
• MariaDB Galera
Cluster 5.5
• MariaDB Galera
Cluster 10.0
• C Connector
• Java Connector
• ODBC Connector
MariaDB Server 5.1
• You have Aria as the temporary table storage engine
• Thread pool v1
• Table Elimination - https://mariadb.com/kb/en/
mariadb/what-is-table-elimination/
• Microsecond precision in processlist
• select id, time, time_ms, command, state from
information_schema.processlist, (select sleep(2)) t;
MariaDB Server 5.2
• Virtual columns (only in MySQL 5.7 as generated
columns)
• Pluggable authentication
• User statistics
MariaDB Server 5.3
• Optimiser, optimser, optimiser - https://
mariadb.com/kb/en/mariadb/optimizer-feature-
comparison-matrix/
• Many replication improvements that are only
present in newer MySQL
• HandlerSocket
• Dynamic columns
MariaDB Server 5.5
• LIMIT ROWS EXAMINED
• non-blocking client API
• Threadpool v2
• MySQL 5.5 base
MariaDB Server 10.0
• replication: parallel replication, GTID, multi-
source replication
• engines: cassandra, connect, spider, tokudb,
mroonga
• show explain + output in slow query log
• roles, pcre regex
Why MariaDB?
• MySQL has a single owner; MariaDB has the MariaDB
Foundation (not just Corporation)
• MySQL ecosystem development is at its most vibrant now
than it has ever been
• Community can get features inside a shipping server with
ease
• Storage engine vendors get shipping & wide distribution
including testing
• Roadmaps are public on Jira
MariaDB, the ecosystem
• Besides the Server, we do develop LGPL
Connectors
• Focus on making “enterprise” features
opensource
• threadpool is a great example of working in the
open
• Open content (& friendly licensed) Knowledge
Base
MariaDB MaxScale
• Level 7 proxy router, that understands the
MySQL protocol, with a pluggable architecture
• Possibilities are endless - use it for logging,
writing to other databases (besides MySQL),
preventing SQL injections via regex filtering,
route via hints, query rewriting, have a binlog
relay, etc.
• Load balance your Galera clusters
Where is MariaDB found?
• http://mariadb.org/
• Your Linux/BSD distribution - it is the default in
RHEL 7, SUSE Enterprise 12, openSUSE,
CentOS, Fedora, OpenBSD, etc.
• and a choice in Debian & Ubuntu
• Pivotal.io CloudFoundry, RackSpace Cloud,
Azure, etc.
MariaDB on AWS RDS!
15
The “community release”
• 30 Jun 2014 - MariaDB 10.1.0
• 17 Oct 2014 - MariaDB 10.1.1
• 7 Dec 2014 - MariaDB 10.1.2
• 2 March 2015 - MariaDB
10.1.3
• 13 April 2015 - MariaDB
10.1.4
• 4 June 2015 - MariaDB 10.1.5
• 27 July 2015 - MariaDB 10.1.6
• 9 September 2015 - MariaDB
10.1.7 RC
• 17 October 2015 - MariaDB
10.1.8 GA
• 23 Nov 2015, 24 Dec 2015,
29 Jan 2016, 25 Feb 2016, 25
March 2016, 10 May 2016, 1
July 2016*
Google Summer of Code
• SQL Roles
• Kerberos authentication
• PCRE regular expressions
• InnoDB memcached interface
• InnoDB Redis interface
• Improvements in replication auto-discovery
• (per-query variable settings)
Themes
• Security
• High Availability
• High Performance
• Operational Ease
• Better for developers and DBAs
Security
Encryption
• Encryption: tablespace and table level encryption with support
for rolling keys using the AES algorithm
• table encryption — PAGE_ENCRYPTION=1
• tablespace encryption — encrypts everything including log
files
• New file_key_management_filename,
file_key_management_filekey,
file_key_management_encryption_algorithm
• Well documented — https://mariadb.com/kb/en/mariadb/data-at-
rest-encryption/
Encryption II
• The key file contains encryption keys identifiers
(32-bit numbers) and hex-encoded encryption
keys (128-256 bit keys), separated by a
semicolon.
• don’t forget to create keys!
• eg. openssl enc -aes-256-cbc -md
sha1 -k secret -in keys.txt -out
keys.enc
Encryption III
CREATE TABLE customer (
customer_id bigint not null primary key,
customer_name varchar(80),
customer_creditcard varchar(20))
ENGINE=InnoDB
page_encryption=1
page_encryption_key=1;
Encryption IV
• Tablespace encryption (Google)
• again, you need to pick an encryption algorithm
• specify what to encrypt: innodb-encrypt-tables,
aria, aria-encrypt-tables, encrypt-tmp-
disk-tables, innodb-encrypt-log
• don’t forget key rotation:
• innodb-encryption-threads=4
• innodb-encryption-rotate-key-age=1800
Encryption V
• /etc/my.cnf.d/enable_encryption.preset
• Consider using Eperi Gateway for Databases
• MariaDB Enterprise has a plugin for Amazon Key
Management Server (KMS)
• mysqlbinlog has no way to read (i.e. decrypt) an
encrypted binlog
• This does not work with MariaDB Galera Cluster yet
(gcache is not encrypted yet), and also xtrabackup needs
additional work (i.e. if you encrypt the redo log)
Password validation
• simple_password_check password validation plugin
• can enforce a minimum password length and
guarantee that a password contains at least a
specified number of uppercase and lowercase
letters, digits, and punctuation characters.
• cracklib_password_check password validation plugin
• Allows passwords that are strong enough to pass
CrackLib test. This is the same test that
pam_cracklib.so does
SQL Error Logging Plugin
• Log errors sent to clients in a log file that can be
analysed later. Log file can be rotated
(recommended)
• a MYSQL_AUDIT_PLUGIN
install plugin SQL_ERROR_LOG soname
'sql_errlog.so';
Audit Plugin
• Log server activity - who connects to the server,
what queries run, what tables touched - rotating
log file or syslogd
• MariaDB has extended the audit API, so user
filtering is possible
• a MYSQL_AUDIT_PLUGIN
INSTALL PLUGIN server_audit SONAME
‘server_audit.so’;
Authentication Plugins
• Shipped a PAM authentication plugin for the
longest time
• Now you also have a Kerberos/GSSAPI based
authentication plugin
• works with Microsoft Active Directory too!
High Availability
MariaDB 10 replication:
provisioning a new slave
SET GLOBAL GTID_SLAVE_POS =
BINLOG_GTID_POS("masterbin.00045",
600);
CHANGE MASTER TO
master_host="192.168.2.4",
master_use_gtid=slave_pos;
START SLAVE;
Multi-source replication
• Work from Taobao
• Many users partition data across many masters...
now you can replicate many masters to a single
slave
• Great for analytical queries, complete backups, etc.
• All master/slave commands take a connection name
now (like CHANGE MASTER “connection_name”,
SHOW SLAVE “connection_name” STATUS, etc.)
Galera Cluster integrated
• Full integration of Galera Cluster into MariaDB
10.1 — not a separate download
• no lost transactions, optimisations for WAN
replication, non-blocking DDL, no limits on
transaction size
• Granular monitoring in
INFORMATION_SCHEMA —
WSREP_MEMBERSHIP, WSREP_STATUS
Optimistic parallel
replication
• Before, transactions committed in parallel on the
master could be run in parallel
• Now, more than one transaction will be
considered to be run in parallel giving another
performance boost in master-to-slave replication
• Need a 10.1 master to work
• https://mariadb.atlassian.net/browse/MDEV-6676
Replication: START TRANSACTION
WITH CONSISTENT SNAPSHOT
• Works with the binlog, possible to obtain the binlog position
corresponding to a transactional snapshot of the database without
blocking any other queries.
• by-product of group commit in the binlog to view commit ordering
• Used by the command mysqldump--single-transaction --
master-data to do a fully non-blocking backup which can be used
to provision a new slave
• Works consistently between transactions involving more than one
storage engine
• https://kb.askmonty.org/en/enhancements-for-start-transaction-with-
consistent/
More in replication
• Enhanced semi-sync replication (like in 5.7 -
thanks FB/Google)
• domain_id based replication filters
• Slaves can execute triggers now (in RBR)
• Dump thread enhancements (remove binlog lock
LOCK_log) from 5.7 included (Google)
High Performance
An opensource threadpool
• Modified from 5.1 (libevent based), great for CPU bound
loads and short running queries
• No minimization of concurrent transactions with dynamic
pool size
• thread_handling=pool-of-threads
• https://mariadb.com/kb/en/mariadb/thread-pool-in-mariadb/
• now you can also have a priority mode for tickets
Threadpool
InnoDB improvements
• Multi-threaded flush (also in 5.7, different implementation +
we’re first)
• 64KB pages in InnoDB (old limit = 16KB).
• Defragementation (FB, backported by DaumKakao)
• I_S.INNODB_SEMAPHORE_WAITS, I_S.INNODB_MUTEXES
• Forced primary key
• If option is true, create table without primary key or unique
key where all keyparts are NOT NULL is not accepted.
Instead an error message is printed.
InnoDB WebScaleSQL
• MDEV-6936: Buffer pool list
scan optimisation
• MDEV-6929: Port Facebook
Prefix Index Queries
Optimization
• MDEV-6932: Enable Lazy
Flushing
• MDEV-6931: Page cleaner
should do LRU flushing
regardless of server activity
• fixes mysql#71988,
mysql#70500
•  DB-746 merge clustering
key is covering key for
mariadb 10 (TokuDB)
• MDEV-6933: Spurious
lock_wait_timeout_thread
wakeup in
lock_wait_suspend_thread()
• fixes mysql#72123
• http://svoj-db.blogspot.ru/2014/12/mariadb-on-power8-2014-wrap-up.html
Operational Ease
Per query variables
• Long history (http://www.bytebot.net/blog/
archives/2014/05/04/per-query-variable-settings-
in-mysqlpercona-serverwebscalesql)
• SET STATEMENT
max_statement_time=1000 FOR SELECT
name FROM name ORDER BY name;
Statement timeouts
• MAX_STATEMENT_TIME to abort long running
queries
• We call it “query timeouts” + have a compatible
syntax
• https://mariadb.atlassian.net/browse/MDEV-4427
New KILL syntax
• HARD | SOFT & USER USERNAME are MariaDB-specific (5.3.2)
• KILL QUERY ID query_id (10.0.5) - kill by query id, rather than
thread id
• SOFT ensures things that may leave a table in an inconsistent
state aren’t interrupted (like REPAIR or INDEX creation for
MyISAM or Aria)
KILL [HARD | SOFT] [CONNECTION | QUERY]
[thread_id | USER user_name]
Progress reporting
• ALTER TABLE & LOAD DATA INFILE
MariaDB [mail]> alter table mail engine = maria;
Stage: 1 of 2 'copy to tmp table' 17.55% of stage done
MariaDB [mail]> select id, user, db, command, state,
-> time_ms, progress from information_schema.processlist;
+---------+-------------------+-----------+----------+
| command | state | time_ms | progress |
+---------+-------------------+-----------+----------+
| Query | copy to tmp table | 23407.131 | 17.551 |
+---------+-------------------+-----------+----------+
1 row in set (0.47 sec)
INFORMATION_SCHEMA.P
ROCESSLIST
Better for Developers
and DBAs
Optimiser enhancements
• UNION ALL without temporary tables (5.7)
• Improve ORDER BY … LIMIT in optimiser
• ANALYZE <statement>
• EXPLAIN JSON (like 5.6)*
• EXPLAIN ANALYZE with FORMAT=JSON
• includes data from the query execution itself — this is MariaDB
only
• https://mariadb.com/kb/en/mariadb/analyze-formatjson-
examples/
CONNECT
• CONNECT having full JSON/BSON support
• Can read/write filename.json files with ease
• Writing — INSERT, UPDATE, DELETE is
supported
• Naturally the other good use? ODBC
connections to other databases
Other bits
• CREATE or REPLACE for most database objects
minus indexes
• SET DEFAULT ROLE (there is a default role now for
current user)
• FRM files are now not created for temporary tables
• INFORMATION_SCHEMA.SYSTEM_VARIABLES -
information for system variables
• Microseconds in GET_LOCK()
Other bits
• Compiled with security hardening options (fortify
source - https://mariadb.atlassian.net/browse/
MDEV-5730)
• @@sql_log_slow can now be controlled on a
session basis (not just globally)
• Sequence engine enabled by default
• default_tmp_storage_engine option
• ALGORITHM column in I_S.VIEWS
GIS
• Full compliance for the OGC standards around GIS.
• MDEV-4045 Missing OGC Spatial functions
• ST_Boundary, ST_ConvexHull, ST_IsRing,
ST_PointOnSurface, ST_Relate
• MDEV-60 Support for Spatial Reference systems for the GIS
data. MDEV-12 OpenGIS: create required tables:
GeometryColumns, related views.
• I_S tables: GEOMETRY_COLUMN SPATIAL_REF_SYS
• REF_SYSTEM_ID per GEOMETRY column
“Community Release”
Thanks!
• Google - encryption, scrubbing,
enhanced semisync, dump
thread, thd_specifics plugin
service
• Eperi - encryption
• DaumKakao - defragmentation,
online alter progress monitoring
• Antony Curtis - compound
statements
• Sriram Patil (GSoC) - CREATE or
REPLACE/IF NOT EXISTS
• Daniel Black - finer grained status
variables for replication monitoring
• FusionIO - atomic writes, page
compression, TRIM, multi-
threaded flushing
• Facebook — defragmentation,
prefix index queries optimization,
lazy flushing, buffer pool list scan
optimization, configurable long,
semaphore wait timeout
• Percona - SET STATEMENT,
enforce_storage_engine
Welcoming 5.7 features
MariaDB had
• Multi-source replication
• Dynamic replication filters
• SHOW EXPLAIN for
connection_id
• GIS functionality
• Statement timeouts
• Change master without
stopping SQL thread
• Online GTID
implementation
• GTID no longer requires
log-slave-updates to
be enabled
• Virtual columns
(generated columns)
• SHUTDOWN command
• FusionIO functionality
MariaDB still rocks!
• START TRANSACTION
WITH CONSISTENT
SNAPSHOT
• Integrated Galera Cluster
• Table/tablespace encryption
• Optimistic parallel
replication
• Enhanced semi-sync
replication
• InnoDB defragmentation
• ANALYZE <statement>
• Threadpool
• cracklib_password_check
• SQL error logging plugin
• Extended REGEXP
• Roles
MariaDB Server 10.2
• Window Functions
• Common Table
Expressions
• Improvements to EXPLAIN
FORMAT=JSON
• Faster connections
• CREATE USER
MAX_*_PER_HOUR &
MAX_USER_CONNECTIO
NS
• mysqlbinlog continuous
binary log backup
• Soon: Virtual columns with
functional indexes, MySQL
5.7 JSON functionality,
InnoDB 5.7, Galera 4 (?),
(maybe) MyRocks
MariaDB ColumnStore
• GPLv2 Open Source
InfiniDB engine ported
to MariaDB Server 10.1
• Columnar, Massively
Parallel Storage Engine
• Scalable, high-
performance analytics
• Built in redundancy and
high availability
• Runs on premise, on
AWS cloud or Hadoop
HDFS cluster
• Full SQL syntax
including joins, window
functions and cross
engine joins
• Native HDFS integration
Participate!
• Contribute code - github.com/mariadb/server
• Write KB articles - http://mariadb.com/kb/
• Report bugs: http://mariadb.org/jira
• Join us on #maria at irc.freenode.net
• Enable the feedback plugin ([enable-feedback] in my.cnf)
• Mailing lists: maria-discuss, maria-developers
• Tweet us @mariadb, Like us on FB, + on GPlus
Books!
1. MariaDB Crash Course, Ben Forta (September 2011)
2. Getting Started with MariaDB, Daniel Bartholomew (October 2013)
3. MariaDB Cookbook, Daniel Bartholomew (March 2014)
4. Real MariaDB, Matt Lee (April 2014)
5. Building a Web Application with PHP & MariaDB: A Reference Guide, Sai
Srinivas Sriparasa (June 2014)
6. MariaDB: Beginners Guide, Rodrigo Ribeiro (August 2014)
7. Mastering MariaDB, Federico Razzioli (September 2014)
8. MariaDB High Performance, Pierre Mavro (September 2014)
9. Learning MySQL & MariaDB, Russell Dyer (April 2015)
In conclusion
• MariaDB is GPLv2 licensed, freedom
guaranteed
• Its feature complete with MySQL + loaded with
extras
• Enterprise features made open is great for users
• Its distributed everywhere
Thank you!
Colin Charles
colin@mariadb.com / byte@bytebot.net
http://bytebot.net/blog | @bytebot on twitter
slides: slideshare.net/bytebot

More Related Content

What's hot

MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonIvan Zoratti
 
Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016Colin Charles
 
Databases in the hosted cloud
Databases in the hosted cloudDatabases in the hosted cloud
Databases in the hosted cloudColin Charles
 
Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0Colin Charles
 
MySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerMySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerColin Charles
 
Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Colin Charles
 
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)Colin Charles
 
Distributions from the view a package
Distributions from the view a packageDistributions from the view a package
Distributions from the view a packageColin Charles
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialColin Charles
 
MariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectMariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectColin Charles
 
MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC Colin Charles
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014Colin Charles
 
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScaleThe Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScaleColin Charles
 
The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015Colin Charles
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialColin Charles
 
A beginners guide to MariaDB
A beginners guide to MariaDBA beginners guide to MariaDB
A beginners guide to MariaDBColin Charles
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failuresColin Charles
 
Lessons from database failures
Lessons from database failures Lessons from database failures
Lessons from database failures Colin Charles
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 EditionColin Charles
 

What's hot (20)

MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
 
Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016
 
Databases in the hosted cloud
Databases in the hosted cloudDatabases in the hosted cloud
Databases in the hosted cloud
 
Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0
 
MySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerMySQL features missing in MariaDB Server
MySQL features missing in MariaDB Server
 
Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015
 
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
 
Distributions from the view a package
Distributions from the view a packageDistributions from the view a package
Distributions from the view a package
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete Tutorial
 
MariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectMariaDB 10 and what's new with the project
MariaDB 10 and what's new with the project
 
Why MariaDB?
Why MariaDB?Why MariaDB?
Why MariaDB?
 
MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
 
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScaleThe Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
 
The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability Tutorial
 
A beginners guide to MariaDB
A beginners guide to MariaDBA beginners guide to MariaDB
A beginners guide to MariaDB
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failures
 
Lessons from database failures
Lessons from database failures Lessons from database failures
Lessons from database failures
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 Edition
 

Viewers also liked

Lessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companiesLessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companiesColin Charles
 
The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016Colin Charles
 
Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Colin Charles
 
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UNMariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN✔ Eric David Benari, PMP
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLColin Charles
 
MySQLアンチパターン
MySQLアンチパターンMySQLアンチパターン
MySQLアンチパターンyoku0825
 
MySQL5.7とMariaDB10.1の性能比較(簡易)
MySQL5.7とMariaDB10.1の性能比較(簡易)MySQL5.7とMariaDB10.1の性能比較(簡易)
MySQL5.7とMariaDB10.1の性能比較(簡易)hiroi10
 
MySQL 5.7の次のMySQLは
MySQL 5.7の次のMySQLはMySQL 5.7の次のMySQLは
MySQL 5.7の次のMySQLはyoku0825
 
MySQLerの7つ道具 plus
MySQLerの7つ道具 plusMySQLerの7つ道具 plus
MySQLerの7つ道具 plusyoku0825
 
MySQL 5.7の次のMySQL 8.0はどんなものになるだろう
MySQL 5.7の次のMySQL 8.0はどんなものになるだろうMySQL 5.7の次のMySQL 8.0はどんなものになるだろう
MySQL 5.7の次のMySQL 8.0はどんなものになるだろうyoku0825
 
Apache james more than emails in the cloud
Apache james  more than emails in the cloudApache james  more than emails in the cloud
Apache james more than emails in the cloudIoan Eugen Stan
 
Database Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, Couchbase
Database Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, CouchbaseDatabase Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, Couchbase
Database Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, Couchbase✔ Eric David Benari, PMP
 
MySQLerの7つ道具
MySQLerの7つ道具MySQLerの7つ道具
MySQLerの7つ道具yoku0825
 
MySQL5.6と5.7性能比較
MySQL5.6と5.7性能比較MySQL5.6と5.7性能比較
MySQL5.6と5.7性能比較hiroi10
 
dimSTATから見るベンチマーク
dimSTATから見るベンチマークdimSTATから見るベンチマーク
dimSTATから見るベンチマークhiroi10
 

Viewers also liked (15)

Lessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companiesLessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companies
 
The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016
 
Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?
 
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UNMariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQL
 
MySQLアンチパターン
MySQLアンチパターンMySQLアンチパターン
MySQLアンチパターン
 
MySQL5.7とMariaDB10.1の性能比較(簡易)
MySQL5.7とMariaDB10.1の性能比較(簡易)MySQL5.7とMariaDB10.1の性能比較(簡易)
MySQL5.7とMariaDB10.1の性能比較(簡易)
 
MySQL 5.7の次のMySQLは
MySQL 5.7の次のMySQLはMySQL 5.7の次のMySQLは
MySQL 5.7の次のMySQLは
 
MySQLerの7つ道具 plus
MySQLerの7つ道具 plusMySQLerの7つ道具 plus
MySQLerの7つ道具 plus
 
MySQL 5.7の次のMySQL 8.0はどんなものになるだろう
MySQL 5.7の次のMySQL 8.0はどんなものになるだろうMySQL 5.7の次のMySQL 8.0はどんなものになるだろう
MySQL 5.7の次のMySQL 8.0はどんなものになるだろう
 
Apache james more than emails in the cloud
Apache james  more than emails in the cloudApache james  more than emails in the cloud
Apache james more than emails in the cloud
 
Database Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, Couchbase
Database Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, CouchbaseDatabase Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, Couchbase
Database Camp 2016 @ United Nations, NYC - Bob Wiederhold, CEO, Couchbase
 
MySQLerの7つ道具
MySQLerの7つ道具MySQLerの7つ道具
MySQLerの7つ道具
 
MySQL5.6と5.7性能比較
MySQL5.6と5.7性能比較MySQL5.6と5.7性能比較
MySQL5.6と5.7性能比較
 
dimSTATから見るベンチマーク
dimSTATから見るベンチマークdimSTATから見るベンチマーク
dimSTATから見るベンチマーク
 

Similar to MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup

MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南YUCHENG HU
 
Maria db 10 and the mariadb foundation(colin)
Maria db 10 and the mariadb foundation(colin)Maria db 10 and the mariadb foundation(colin)
Maria db 10 and the mariadb foundation(colin)kayokogoto
 
Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么YUCHENG HU
 
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...NETWAYS
 
MariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started TutorialMariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started Tutorialphamhphuc
 
The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it! The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it! Colin Charles
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...Insight Technology, Inc.
 
MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)Colin Charles
 
MySQL in the Hosted Cloud
MySQL in the Hosted CloudMySQL in the Hosted Cloud
MySQL in the Hosted CloudColin Charles
 
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Codership Oy - Creators of Galera Cluster
 
MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015Colin Charles
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterContinuent
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016sys army
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfMySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfAlkin Tezuysal
 
MySQL Options in OpenStack
MySQL Options in OpenStackMySQL Options in OpenStack
MySQL Options in OpenStackTesora
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesInsight Technology, Inc.
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020Alkin Tezuysal
 
OpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackOpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackMatt Lord
 
Databases in the hosted cloud
Databases in the hosted cloud Databases in the hosted cloud
Databases in the hosted cloud Colin Charles
 

Similar to MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup (20)

MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南
 
Maria db 10 and the mariadb foundation(colin)
Maria db 10 and the mariadb foundation(colin)Maria db 10 and the mariadb foundation(colin)
Maria db 10 and the mariadb foundation(colin)
 
Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么
 
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
OSDC 2018 | Scaling & High Availability MySQL learnings from the past decade+...
 
MariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started TutorialMariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started Tutorial
 
The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it! The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it!
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
 
MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)
 
MySQL in the Cloud
MySQL in the CloudMySQL in the Cloud
MySQL in the Cloud
 
MySQL in the Hosted Cloud
MySQL in the Hosted CloudMySQL in the Hosted Cloud
MySQL in the Hosted Cloud
 
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
 
MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfMySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
 
MySQL Options in OpenStack
MySQL Options in OpenStackMySQL Options in OpenStack
MySQL Options in OpenStack
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020
 
OpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackOpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStack
 
Databases in the hosted cloud
Databases in the hosted cloud Databases in the hosted cloud
Databases in the hosted cloud
 

More from Colin Charles

What is MariaDB Server 10.3?
What is MariaDB Server 10.3?What is MariaDB Server 10.3?
What is MariaDB Server 10.3?Colin Charles
 
Databases in the Hosted Cloud
Databases in the Hosted CloudDatabases in the Hosted Cloud
Databases in the Hosted CloudColin Charles
 
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)Colin Charles
 
Capacity planning for your data stores
Capacity planning for your data storesCapacity planning for your data stores
Capacity planning for your data storesColin Charles
 
Cool MariaDB Plugins
Cool MariaDB Plugins Cool MariaDB Plugins
Cool MariaDB Plugins Colin Charles
 
Better encryption & security with MariaDB 10.1 & MySQL 5.7
Better encryption & security with MariaDB 10.1 & MySQL 5.7Better encryption & security with MariaDB 10.1 & MySQL 5.7
Better encryption & security with MariaDB 10.1 & MySQL 5.7Colin Charles
 

More from Colin Charles (6)

What is MariaDB Server 10.3?
What is MariaDB Server 10.3?What is MariaDB Server 10.3?
What is MariaDB Server 10.3?
 
Databases in the Hosted Cloud
Databases in the Hosted CloudDatabases in the Hosted Cloud
Databases in the Hosted Cloud
 
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
 
Capacity planning for your data stores
Capacity planning for your data storesCapacity planning for your data stores
Capacity planning for your data stores
 
Cool MariaDB Plugins
Cool MariaDB Plugins Cool MariaDB Plugins
Cool MariaDB Plugins
 
Better encryption & security with MariaDB 10.1 & MySQL 5.7
Better encryption & security with MariaDB 10.1 & MySQL 5.7Better encryption & security with MariaDB 10.1 & MySQL 5.7
Better encryption & security with MariaDB 10.1 & MySQL 5.7
 

Recently uploaded

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 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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 RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Recently uploaded (20)

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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup

  • 1. MariaDB 10.1: What's new and what's coming in 10.2 Colin Charles, Team MariaDB, MariaDB Corporation colin@mariadb.com / byte@bytebot.net http://bytebot.net/blog/ | @bytebot on Twitter Tokyo Meetup, Tokyo, Japan 21 July 2016
  • 2. whoami • Work on MariaDB at MariaDB Corporation (SkySQL Ab) • Merged with Monty Program Ab, makers of MariaDB • Formerly MySQL AB (exit: Sun Microsystems) • Past lives include Fedora Project (FESCO), OpenOffice.org • MySQL Community Contributor of theYear Award winner 2014 2
  • 3. Global Top 20 Sites 1. Google 2. Facebook 3. YouTube 4. Baidu 5. Yahoo! 6. Amazon 7. Wikipedia 8. QQ 9. Google.co.in 10.Twitter 11.live.com 12.Taobao 13.Msn.com 14.yahoo.co.jp 15.Sina 16.Linkedin.com 17.google.co.jp 18.Weibo 19.Bing.com 20.yandex.ru
  • 4. What is MariaDB Server? • GPLv2 branch of MySQL with a lot of added community development • Feature enhanced • Application compatible & feature complete with MySQL • A “drop-in replacement” (upgrade standpoint)
  • 5. MariaDB thru the years • MariaDB 5.1 • MariaDB 5.2 • MariaDB 5.3 • MariaDB 5.5 • MariaDB 10.0 • MariaDB 10.1 • MariaDB Galera Cluster 5.5 • MariaDB Galera Cluster 10.0 • C Connector • Java Connector • ODBC Connector
  • 6. MariaDB Server 5.1 • You have Aria as the temporary table storage engine • Thread pool v1 • Table Elimination - https://mariadb.com/kb/en/ mariadb/what-is-table-elimination/ • Microsecond precision in processlist • select id, time, time_ms, command, state from information_schema.processlist, (select sleep(2)) t;
  • 7. MariaDB Server 5.2 • Virtual columns (only in MySQL 5.7 as generated columns) • Pluggable authentication • User statistics
  • 8. MariaDB Server 5.3 • Optimiser, optimser, optimiser - https:// mariadb.com/kb/en/mariadb/optimizer-feature- comparison-matrix/ • Many replication improvements that are only present in newer MySQL • HandlerSocket • Dynamic columns
  • 9. MariaDB Server 5.5 • LIMIT ROWS EXAMINED • non-blocking client API • Threadpool v2 • MySQL 5.5 base
  • 10. MariaDB Server 10.0 • replication: parallel replication, GTID, multi- source replication • engines: cassandra, connect, spider, tokudb, mroonga • show explain + output in slow query log • roles, pcre regex
  • 11. Why MariaDB? • MySQL has a single owner; MariaDB has the MariaDB Foundation (not just Corporation) • MySQL ecosystem development is at its most vibrant now than it has ever been • Community can get features inside a shipping server with ease • Storage engine vendors get shipping & wide distribution including testing • Roadmaps are public on Jira
  • 12. MariaDB, the ecosystem • Besides the Server, we do develop LGPL Connectors • Focus on making “enterprise” features opensource • threadpool is a great example of working in the open • Open content (& friendly licensed) Knowledge Base
  • 13. MariaDB MaxScale • Level 7 proxy router, that understands the MySQL protocol, with a pluggable architecture • Possibilities are endless - use it for logging, writing to other databases (besides MySQL), preventing SQL injections via regex filtering, route via hints, query rewriting, have a binlog relay, etc. • Load balance your Galera clusters
  • 14. Where is MariaDB found? • http://mariadb.org/ • Your Linux/BSD distribution - it is the default in RHEL 7, SUSE Enterprise 12, openSUSE, CentOS, Fedora, OpenBSD, etc. • and a choice in Debian & Ubuntu • Pivotal.io CloudFoundry, RackSpace Cloud, Azure, etc.
  • 15. MariaDB on AWS RDS! 15
  • 16. The “community release” • 30 Jun 2014 - MariaDB 10.1.0 • 17 Oct 2014 - MariaDB 10.1.1 • 7 Dec 2014 - MariaDB 10.1.2 • 2 March 2015 - MariaDB 10.1.3 • 13 April 2015 - MariaDB 10.1.4 • 4 June 2015 - MariaDB 10.1.5 • 27 July 2015 - MariaDB 10.1.6 • 9 September 2015 - MariaDB 10.1.7 RC • 17 October 2015 - MariaDB 10.1.8 GA • 23 Nov 2015, 24 Dec 2015, 29 Jan 2016, 25 Feb 2016, 25 March 2016, 10 May 2016, 1 July 2016*
  • 17. Google Summer of Code • SQL Roles • Kerberos authentication • PCRE regular expressions • InnoDB memcached interface • InnoDB Redis interface • Improvements in replication auto-discovery • (per-query variable settings)
  • 18. Themes • Security • High Availability • High Performance • Operational Ease • Better for developers and DBAs
  • 20. Encryption • Encryption: tablespace and table level encryption with support for rolling keys using the AES algorithm • table encryption — PAGE_ENCRYPTION=1 • tablespace encryption — encrypts everything including log files • New file_key_management_filename, file_key_management_filekey, file_key_management_encryption_algorithm • Well documented — https://mariadb.com/kb/en/mariadb/data-at- rest-encryption/
  • 21. Encryption II • The key file contains encryption keys identifiers (32-bit numbers) and hex-encoded encryption keys (128-256 bit keys), separated by a semicolon. • don’t forget to create keys! • eg. openssl enc -aes-256-cbc -md sha1 -k secret -in keys.txt -out keys.enc
  • 22. Encryption III CREATE TABLE customer ( customer_id bigint not null primary key, customer_name varchar(80), customer_creditcard varchar(20)) ENGINE=InnoDB page_encryption=1 page_encryption_key=1;
  • 23. Encryption IV • Tablespace encryption (Google) • again, you need to pick an encryption algorithm • specify what to encrypt: innodb-encrypt-tables, aria, aria-encrypt-tables, encrypt-tmp- disk-tables, innodb-encrypt-log • don’t forget key rotation: • innodb-encryption-threads=4 • innodb-encryption-rotate-key-age=1800
  • 24. Encryption V • /etc/my.cnf.d/enable_encryption.preset • Consider using Eperi Gateway for Databases • MariaDB Enterprise has a plugin for Amazon Key Management Server (KMS) • mysqlbinlog has no way to read (i.e. decrypt) an encrypted binlog • This does not work with MariaDB Galera Cluster yet (gcache is not encrypted yet), and also xtrabackup needs additional work (i.e. if you encrypt the redo log)
  • 25. Password validation • simple_password_check password validation plugin • can enforce a minimum password length and guarantee that a password contains at least a specified number of uppercase and lowercase letters, digits, and punctuation characters. • cracklib_password_check password validation plugin • Allows passwords that are strong enough to pass CrackLib test. This is the same test that pam_cracklib.so does
  • 26. SQL Error Logging Plugin • Log errors sent to clients in a log file that can be analysed later. Log file can be rotated (recommended) • a MYSQL_AUDIT_PLUGIN install plugin SQL_ERROR_LOG soname 'sql_errlog.so';
  • 27. Audit Plugin • Log server activity - who connects to the server, what queries run, what tables touched - rotating log file or syslogd • MariaDB has extended the audit API, so user filtering is possible • a MYSQL_AUDIT_PLUGIN INSTALL PLUGIN server_audit SONAME ‘server_audit.so’;
  • 28. Authentication Plugins • Shipped a PAM authentication plugin for the longest time • Now you also have a Kerberos/GSSAPI based authentication plugin • works with Microsoft Active Directory too!
  • 30. MariaDB 10 replication: provisioning a new slave SET GLOBAL GTID_SLAVE_POS = BINLOG_GTID_POS("masterbin.00045", 600); CHANGE MASTER TO master_host="192.168.2.4", master_use_gtid=slave_pos; START SLAVE;
  • 31. Multi-source replication • Work from Taobao • Many users partition data across many masters... now you can replicate many masters to a single slave • Great for analytical queries, complete backups, etc. • All master/slave commands take a connection name now (like CHANGE MASTER “connection_name”, SHOW SLAVE “connection_name” STATUS, etc.)
  • 32. Galera Cluster integrated • Full integration of Galera Cluster into MariaDB 10.1 — not a separate download • no lost transactions, optimisations for WAN replication, non-blocking DDL, no limits on transaction size • Granular monitoring in INFORMATION_SCHEMA — WSREP_MEMBERSHIP, WSREP_STATUS
  • 33. Optimistic parallel replication • Before, transactions committed in parallel on the master could be run in parallel • Now, more than one transaction will be considered to be run in parallel giving another performance boost in master-to-slave replication • Need a 10.1 master to work • https://mariadb.atlassian.net/browse/MDEV-6676
  • 34. Replication: START TRANSACTION WITH CONSISTENT SNAPSHOT • Works with the binlog, possible to obtain the binlog position corresponding to a transactional snapshot of the database without blocking any other queries. • by-product of group commit in the binlog to view commit ordering • Used by the command mysqldump--single-transaction -- master-data to do a fully non-blocking backup which can be used to provision a new slave • Works consistently between transactions involving more than one storage engine • https://kb.askmonty.org/en/enhancements-for-start-transaction-with- consistent/
  • 35. More in replication • Enhanced semi-sync replication (like in 5.7 - thanks FB/Google) • domain_id based replication filters • Slaves can execute triggers now (in RBR) • Dump thread enhancements (remove binlog lock LOCK_log) from 5.7 included (Google)
  • 37. An opensource threadpool • Modified from 5.1 (libevent based), great for CPU bound loads and short running queries • No minimization of concurrent transactions with dynamic pool size • thread_handling=pool-of-threads • https://mariadb.com/kb/en/mariadb/thread-pool-in-mariadb/ • now you can also have a priority mode for tickets
  • 39. InnoDB improvements • Multi-threaded flush (also in 5.7, different implementation + we’re first) • 64KB pages in InnoDB (old limit = 16KB). • Defragementation (FB, backported by DaumKakao) • I_S.INNODB_SEMAPHORE_WAITS, I_S.INNODB_MUTEXES • Forced primary key • If option is true, create table without primary key or unique key where all keyparts are NOT NULL is not accepted. Instead an error message is printed.
  • 40. InnoDB WebScaleSQL • MDEV-6936: Buffer pool list scan optimisation • MDEV-6929: Port Facebook Prefix Index Queries Optimization • MDEV-6932: Enable Lazy Flushing • MDEV-6931: Page cleaner should do LRU flushing regardless of server activity • fixes mysql#71988, mysql#70500 •  DB-746 merge clustering key is covering key for mariadb 10 (TokuDB) • MDEV-6933: Spurious lock_wait_timeout_thread wakeup in lock_wait_suspend_thread() • fixes mysql#72123
  • 43. Per query variables • Long history (http://www.bytebot.net/blog/ archives/2014/05/04/per-query-variable-settings- in-mysqlpercona-serverwebscalesql) • SET STATEMENT max_statement_time=1000 FOR SELECT name FROM name ORDER BY name;
  • 44. Statement timeouts • MAX_STATEMENT_TIME to abort long running queries • We call it “query timeouts” + have a compatible syntax • https://mariadb.atlassian.net/browse/MDEV-4427
  • 45. New KILL syntax • HARD | SOFT & USER USERNAME are MariaDB-specific (5.3.2) • KILL QUERY ID query_id (10.0.5) - kill by query id, rather than thread id • SOFT ensures things that may leave a table in an inconsistent state aren’t interrupted (like REPAIR or INDEX creation for MyISAM or Aria) KILL [HARD | SOFT] [CONNECTION | QUERY] [thread_id | USER user_name]
  • 46. Progress reporting • ALTER TABLE & LOAD DATA INFILE MariaDB [mail]> alter table mail engine = maria; Stage: 1 of 2 'copy to tmp table' 17.55% of stage done MariaDB [mail]> select id, user, db, command, state, -> time_ms, progress from information_schema.processlist; +---------+-------------------+-----------+----------+ | command | state | time_ms | progress | +---------+-------------------+-----------+----------+ | Query | copy to tmp table | 23407.131 | 17.551 | +---------+-------------------+-----------+----------+ 1 row in set (0.47 sec)
  • 49. Optimiser enhancements • UNION ALL without temporary tables (5.7) • Improve ORDER BY … LIMIT in optimiser • ANALYZE <statement> • EXPLAIN JSON (like 5.6)* • EXPLAIN ANALYZE with FORMAT=JSON • includes data from the query execution itself — this is MariaDB only • https://mariadb.com/kb/en/mariadb/analyze-formatjson- examples/
  • 50. CONNECT • CONNECT having full JSON/BSON support • Can read/write filename.json files with ease • Writing — INSERT, UPDATE, DELETE is supported • Naturally the other good use? ODBC connections to other databases
  • 51. Other bits • CREATE or REPLACE for most database objects minus indexes • SET DEFAULT ROLE (there is a default role now for current user) • FRM files are now not created for temporary tables • INFORMATION_SCHEMA.SYSTEM_VARIABLES - information for system variables • Microseconds in GET_LOCK()
  • 52. Other bits • Compiled with security hardening options (fortify source - https://mariadb.atlassian.net/browse/ MDEV-5730) • @@sql_log_slow can now be controlled on a session basis (not just globally) • Sequence engine enabled by default • default_tmp_storage_engine option • ALGORITHM column in I_S.VIEWS
  • 53. GIS • Full compliance for the OGC standards around GIS. • MDEV-4045 Missing OGC Spatial functions • ST_Boundary, ST_ConvexHull, ST_IsRing, ST_PointOnSurface, ST_Relate • MDEV-60 Support for Spatial Reference systems for the GIS data. MDEV-12 OpenGIS: create required tables: GeometryColumns, related views. • I_S tables: GEOMETRY_COLUMN SPATIAL_REF_SYS • REF_SYSTEM_ID per GEOMETRY column
  • 54. “Community Release” Thanks! • Google - encryption, scrubbing, enhanced semisync, dump thread, thd_specifics plugin service • Eperi - encryption • DaumKakao - defragmentation, online alter progress monitoring • Antony Curtis - compound statements • Sriram Patil (GSoC) - CREATE or REPLACE/IF NOT EXISTS • Daniel Black - finer grained status variables for replication monitoring • FusionIO - atomic writes, page compression, TRIM, multi- threaded flushing • Facebook — defragmentation, prefix index queries optimization, lazy flushing, buffer pool list scan optimization, configurable long, semaphore wait timeout • Percona - SET STATEMENT, enforce_storage_engine
  • 55. Welcoming 5.7 features MariaDB had • Multi-source replication • Dynamic replication filters • SHOW EXPLAIN for connection_id • GIS functionality • Statement timeouts • Change master without stopping SQL thread • Online GTID implementation • GTID no longer requires log-slave-updates to be enabled • Virtual columns (generated columns) • SHUTDOWN command • FusionIO functionality
  • 56. MariaDB still rocks! • START TRANSACTION WITH CONSISTENT SNAPSHOT • Integrated Galera Cluster • Table/tablespace encryption • Optimistic parallel replication • Enhanced semi-sync replication • InnoDB defragmentation • ANALYZE <statement> • Threadpool • cracklib_password_check • SQL error logging plugin • Extended REGEXP • Roles
  • 57. MariaDB Server 10.2 • Window Functions • Common Table Expressions • Improvements to EXPLAIN FORMAT=JSON • Faster connections • CREATE USER MAX_*_PER_HOUR & MAX_USER_CONNECTIO NS • mysqlbinlog continuous binary log backup • Soon: Virtual columns with functional indexes, MySQL 5.7 JSON functionality, InnoDB 5.7, Galera 4 (?), (maybe) MyRocks
  • 58. MariaDB ColumnStore • GPLv2 Open Source InfiniDB engine ported to MariaDB Server 10.1 • Columnar, Massively Parallel Storage Engine • Scalable, high- performance analytics • Built in redundancy and high availability • Runs on premise, on AWS cloud or Hadoop HDFS cluster • Full SQL syntax including joins, window functions and cross engine joins • Native HDFS integration
  • 59. Participate! • Contribute code - github.com/mariadb/server • Write KB articles - http://mariadb.com/kb/ • Report bugs: http://mariadb.org/jira • Join us on #maria at irc.freenode.net • Enable the feedback plugin ([enable-feedback] in my.cnf) • Mailing lists: maria-discuss, maria-developers • Tweet us @mariadb, Like us on FB, + on GPlus
  • 60. Books! 1. MariaDB Crash Course, Ben Forta (September 2011) 2. Getting Started with MariaDB, Daniel Bartholomew (October 2013) 3. MariaDB Cookbook, Daniel Bartholomew (March 2014) 4. Real MariaDB, Matt Lee (April 2014) 5. Building a Web Application with PHP & MariaDB: A Reference Guide, Sai Srinivas Sriparasa (June 2014) 6. MariaDB: Beginners Guide, Rodrigo Ribeiro (August 2014) 7. Mastering MariaDB, Federico Razzioli (September 2014) 8. MariaDB High Performance, Pierre Mavro (September 2014) 9. Learning MySQL & MariaDB, Russell Dyer (April 2015)
  • 61. In conclusion • MariaDB is GPLv2 licensed, freedom guaranteed • Its feature complete with MySQL + loaded with extras • Enterprise features made open is great for users • Its distributed everywhere
  • 62. Thank you! Colin Charles colin@mariadb.com / byte@bytebot.net http://bytebot.net/blog | @bytebot on twitter slides: slideshare.net/bytebot