Skip to main content
What is new in MariaDB 10.6 ?
Karthik P R
CEO, Mydbops
July 17, 2021
Mydbops Database Meetup
Interested in Open Source Database technologies
11 Years of Experience with MySQL
Ex-Yahoo!
Tech Speaker/ Blogger 
CEO Mydbops
Karthik P R 
About Me
Services on top open source databases
Founded in 2016
50 Member team
Assisted over 500+ Customers
AWS Partner and a PCI Certified Organisation
About Mydbops
Database
Consulting
Services
Managed
Database
Services
Focuses on Top Opensource database MySQL,MariaDB,
MongoDB and PostgreSQL ON Premises and Cloud
Mydbops Services
500 + Clients In 5 Yrs. of Operations
Our Clients
Features in MaraiDB 10.6
MariaDB in Open Source Ecosystem
Agenda
Variables added and Removed
Database Engineers
Database Administrators
Database Reliability Engineers
Cloud DBA's
Devops Engineer's
SRE's
Audience
MariaDB in Open Source
Ecosystem
Open Source RDBMS
Fork of MySQL
One of the top 10 RDBMS ( DB Engine Ranking )
Products
MariaDB Server
Maxscale ( Load Balancer )
MariaDB Columnstore ( Analytics )
MariaDB Xpand ( Distributed SQL )
MariaDB in Open Source Ecosystem
MariaDB Release
MariaDB Active Release
Version GA Relese
10.2 May 2017
10.3 May 2018
10.4 June 2019
 10.5 June 2020 
 10.6  July 2021
MariaDB 10.6
Initial Release 26 Apr 2021
GA Release 6 Jul 2021
MariaDB 10.6
Atomic DDL
SKIP LOCK
SQL OFFSET & FETCH Support
JSON Table
Ignored Indexes
Sys Schema Support
InnoDB Improvements
Replication / Galera Improvements
What is new in MariaDB 10.6 ?
Atomic DDL's
Implementation
In MariaDB 10.6 DDL's are crash-safe.
Ensure tables are consistent and no temporary tables on Disk during crash.
Support all Storage Engine
Uses ddl_recovery.log for tracking.
Track the temporary tables and have backup of .frm files
--log-ddl-recovery ( location of log file )
Simulating DDL Recovery :
Load the data using sysbench and try creating an Index. Crash the MySQL during DDL.
Index : CREATE INDEX k_4 ON sbtest. sbtest1;

DDL Recovery log File ( While DDL is on Process )
During the crash recovery a ddl_recovery-backup.log is generated at startup.
DDL Recovery log File ( While DDL is on Process )
SKIP LOCKED & NOWAIT
SKIP LOCKED & NOWAIT
Example
SELECT * FROM t FOR UPDATE SKIP LOCKED;

SELECT * FROM t FOR UPDATE NOWAIT;

It is similar to MySQL 8.0 ( Skip locked and nowait )
Used with "FOR UPDATE"
Helpful in handling locks on Hot tables
Uses The Key Word ( SKIP LOCKED and NOWAIT ).
SKIP LOCKED & NOWAIT
Simulating Skip locked and Nowait:
SKIP LOCKED & NOWAIT
SKIP LOCKED
NOWAIT
SQL OFFSET & FETCH Support
OFFSET
FETCH
Returns the ROWS after a specified offset. ( Skip Rows )
Number of ROWS to be returned.
ONLY & WITH TIES Supported ( with Ordering )
SQL OFFSET & FETCH Support
a
1
2
3
 4
5 
6 
7
8
8
 10
11
OFFSET 3 ROWS
FETCH NEXT
4 ROWS
SQL OFFSET & FETCH Support
Ignored Indexes
Note :
Primary Key can't be made ignored ( invisible ).
Ignored Indexes
An index can be made ignored by the optimizer ( Invisble ).
Keywords "IGNORED" and "NOT IGNORED".
Helpful in dropping the Unused Indexes safely.
The optimizer may depend on the index stats without using them
Re-Creating an index time consuming once dropped.
Ignored Indexes
Ignored Indexes
Sys Schema was added in 10.6
More useful in Analysis and Troubleshooting.
Replication Instrumentation ( Performance schema 5.7 )
Assists in Parallel Replication ( Applier )
Sys Schema and Performance Schema
Faster Empty table data loading ( Bulk inserts )
Much optimized Single undo log.
COMPRESSED ROW Format is made as Read-only by default.
Temporary tablespace is omitted from buffer pool flush list
Many InnoDB Variables were deprecated ( cleanup )
Innodb_page_cleaners
innodb_buffer_pool_instances and more
InnoDB Improvements
Binlog_row_format_only | Required_primary_key | Disallow_local_GTID |
Replicate_MyISAM | Replicate_ARIA
Replication
Increase in the master host length 255 (128 )
Binlog expire logs second ( newly added )
Galera
wsrep_mode
Replication & Galera Improvements
TokuDB was deprecated by upstream in favor of Rocks DB.
Cassandra is non-functional and development is stopped.
Engines
TokuDB
CassandraSE
Deprecation
Deprecation ( InnoDB Cleanup )
Reach Us : Info@mydbops.com
Thank You