SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
www.fromdual.com
1 / 25
MariaDB 10.4
New Features
DOAG K&A 2019, Nürnberg (Germany)
Oli Sennhauser
Senior MariaDB and MySQL Consultant at FromDual GmbH
https://www.fromdual.com/presentations
www.fromdual.com
2 / 25
About FromDual GmbH
Enterprise Support
remote-DBA
Training
Consulting
www.fromdual.com
3 / 25
Contents
HA Solutions
➢
Read scale-out
➢
Replication set-up for HA
➢
Active/passive fail-over
➢
MySQL Cluster
➢
Replication Cluster
➢
Storage-Engine-Replication
MariaDB 10.4 – New Features
➢
Branches and Forks
➢
MariaDB and Linux Distributions
➢
Authentication
➢
InnoDB
➢
MariaDB Optimizer
➢
Application-Time Period Tables
➢
General Stuff
➢
Backup Stage
➢
Galera 4
➢
Outlook MariaDB 10.5
www.fromdual.com
4 / 25
Branches and Forks
5.1
5.5
2010
Branch (“Drop-in-Replacement”)
MariaDB MySQL
●
MariaDB and MySQL are Open Source (GPL v2)
●
This means everybody is allowed to DiY
●
→ Branches and Forks
●
Who uses a MariaDB/MySQL in here?
●
Chaos will happen! :-(
●
See Sybase ASE vs. MicroSoft SQL Server (1995(v6.0)-2005)
●
Examples: GTID, Protocol X, MariaDB CS, Virtual Columns,
JSON, User Management, Group Replication, PL/SQL, etc.
2008
Fork (“Compatible”)
5.6, 2013
5.7, 2015
8.0, 2018
10.0, 2014
10.1, 2015
10.2, 2017
10.3, 2018
10.4, 2019
10.5, 2020
www.fromdual.com
5 / 25
MariaDB and Linux Distros
●
Redhat/CentOS:
●
6 → MySQL 5.1
●
7 → MariaDB 5.5
●
8 → MariaDB 10.3, MySQL 8.0
●
Ubuntu:
●
16.04 → MySQL 5.7
●
18.04 → MySQL 5.7 (MariaDB 10.1)
●
20.04 → ? (Ubuntu 19.10: MySQL 8.0 (MariaDB 10.3))
●
Debian:
●
8 → MySQL 5.5
●
9 → MariaDB 10.1
●
10 → MariaDB 10.3
●
SuSE SLE / OpenSuSE:
●
12 → MariaDB 10.0
●
15 → MariaDB 10.2
●
Leap 42 → MariaDB 10.0, Leap 15, → MariaDB 10.2
www.fromdual.com
6 / 25
MariaDB IPO
IPO 2020 ???
www.fromdual.com
7 / 25
Retrospect MariaDB 10.3
●
GA May 2018
●
Invisible Columns
●
System-versioned Tables
●
Instant ADD COLUMN
●
Storage Engine independent Column Compression
●
Semi-synchronous Replication Built-in (before Plug-in)
●
PROXY Protocol Support (Galera/HAproxy)
●
Optimizer Improvements (SQL Performance)
●
Aggregate Stored Functions (DWH, MariaDB Column Store)
●
Oracle Compatibility (sql_mode = ORACLE)
●
Oracle PL/SQL Packages, Oracle Style Sequences
●
and many, many more...
www.fromdual.com
8 / 25
MariaDB 10.4 - Overview
●
GA June 2019 (10.4.6)
●
→ wait 6 – 12 months for production (mid 2020)!
●
Still very poor quality (especially Galera 4!)
●
Regression in 10.4.9 (5. 11. 2019)
●
Remember MySQL IPO plan 2005: 5.0 was
“worst release ever”
●
Cloud… (IPO?)
●
Standard compliant (IPO?)
●
More feature complete
www.fromdual.com
9 / 25
Authentication
●
unix_socket authentication is default!
●
Access if O/S user = DB user
●
New DB user: mysql
●
User Password Expiry:
ALTER USER 'oli'@'localhost'
PASSWORD EXPIRE INTERVAL 90 DAY;
●
Account Locking:
ALTER USER 'oli'@'localhost' ACCOUNT LOCK;
●
Table mysql.user is retired!!!
●
→ Can break Admin Applications...
●
New: mysql.global_priv Table
●
More than 1 authentication plugin possible
●
→ slowly migrate users to more secure authentication
● CREATE USER admin@localhost IDENTIFIED VIA unix_socket OR
mysql_native_password USING 'secret';
www.fromdual.com
10 / 25
InnoDB
●
Instant DROP COLUMN operation
●
Changing of column order
●
More Instant operations (VARCHAR, collation and character set)
●
Improvements in Index DDL
● RENAME INDEX
●
Merge InnoDB changes from “upstream”
●
InnoDB row length count fixed (10.4.7)
●
Leads to errors:
[Warning] InnoDB: Cannot add field `thumbnails` in
table `test`.`products` because after adding it,
the row size is 8702 which is greater than maximum
allowed size (8126) for a record on index leaf
page.
www.fromdual.com
11 / 25
InnoDB Instant DDL
ALTER TABLE test
ADD COLUMN d BIGINT
/*!100400 , ALGORITHM=INSTANT */;
Query OK, 0 rows affected (0.247 sec)
ALTER TABLE test MODIFY COLUMN
c BIGINT(20) DEFAULT NULL AFTER d
/*!100400 , ALGORITHM=INSTANT */;
Query OK, 0 rows affected (0.072 sec)
www.fromdual.com
12 / 25
Optimizer
●
Optimizer Trace:
● SET SESSION optimizer_trace=’enabled=on’;
● I_S.optimizer_trace
●
SE Independent Table Statistics
●
Histogram collection by default
●
Improved Condition Pushdown Optimization
● SELECT … WHERE xxx AND ... IN (<subquery>)
●
Automatic optimized use of Join Buffer
●
Exists since 5.3.0 but was disabled :-(
●
Rowid Filtering Optimization
● WHERE a.date BETWEEN '2018-01-01' AND '2018-01-31'
AND b.price between 200000 and 230000;
●
But...
www.fromdual.com
13 / 25
Optimizer – Query Runtime
5.5.41 10.0.28 10.1.29 10.2.14 10.3.18 10.4.8
Query 1 3.03 3.17 3.36 3.29 3.38 3.57
Query 2 0.20 0.20 0.20 0.19 0.19 0.21
Query 3 2.41 2.40 2.51 3.27 3.92 4.44
Query 1 Query 2 Query 3
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
MariaDB Optimizer - Over time
5.5.41
10.0.28
10.1.29
10.2.14
10.3.18
10.4.8
www.fromdual.com
14 / 25
Optimizer Trace
SQL> SET SESSION optimizer_trace=’enabled=on’;
SQL> EXPLAIN SELECT * FROM test WHERE id <10;
SQL> SELECT trace
FROM information_schema.optimizer_trace;
…
"steps": [
{
"condition_processing": {
"condition": "WHERE",
"original_condition": "test.`id` < 10",
"steps": [
{
"transformation": "equality_propagation",
"resulting_condition": "test.`id` < 10"
},
{
"transformation": "constant_propagation",
"resulting_condition": "test.`id` < 10"
},
{
"transformation": "trivial_condition_removal",
"resulting_condition": "test.`id` < 10"
}
]
}
},
…
www.fromdual.com
15 / 25
Application-Time Period Tables
●
ISO/IEC 9075, SQL:2011 Part 2
●
MariaDB 10.3: System Versioned Tables
●
Journal/Tracking of an Item.
●
AUTO_INCREMENT ID is NO good plan!
CREATE TABLE employee (
ID INT UNSIGNED NOT NULL
, Start DATE
, End DATE
, Department VARCHAR(32)
, Position VARCHAR(32)
, PRIMARY KEY (ID, Start, End)
, PERIOD FOR Period (Start, End)
);
www.fromdual.com
16 / 25
Lend Employee
UPDATE employee
FOR PORTION OF Period
FROM '2018-03-15' TO '2018-07-15'
SET Department = 'Development'
, Position = 'DBA'
WHERE ID = 12345
;
Query OK, 1 row affected (0.000 sec)
Rows matched: 1 Changed: 1 Inserted: 2 Warnings: 0
SELECT * FROM employee ORDER BY Start;
+-------+------------+------------+-------------+------------+
| ID | Start | End | Department | Position |
+-------+------------+------------+-------------+------------+
| 12345 | 2017-01-01 | 2018-03-15 | Engineering | Junior DBA |
| 12345 | 2018-03-15 | 2018-07-15 | Development | DBA |
| 12345 | 2018-07-15 | 9999-12-31 | Engineering | Junior DBA |
+-------+------------+------------+-------------+------------+
www.fromdual.com
17 / 25
Upgrade Employee
UPDATE employee
FOR PORTION OF Period
FROM '2018-07-15'
TO '9999-12-31'
SET Position = 'DBA'
WHERE ID = 12345
;
+-------+------------+------------+-------------+------------+
| ID | Start | End | Department | Position |
+-------+------------+------------+-------------+------------+
| 12345 | 2017-01-01 | 2018-03-15 | Engineering | Junior DBA |
| 12345 | 2018-03-15 | 2018-07-15 | Development | DBA |
| 12345 | 2018-07-15 | 9999-12-31 | Engineering | DBA |
+-------+------------+------------+-------------+------------+
www.fromdual.com
18 / 25
1 year vacation (unpaid)
DELETE FROM employee
FOR PORTION OF Period
FROM '2018-09-30' -- !?!
TO '2019-10-01' -- !?!
WHERE ID = 12345
;
+-------+------------+------------+-------------+------------+
| ID | Start | End | Department | Position |
+-------+------------+------------+-------------+------------+
| 12345 | 2017-01-01 | 2018-03-15 | Engineering | Junior DBA |
| 12345 | 2018-03-15 | 2018-07-15 | Development | DBA |
| 12345 | 2018-07-15 | 2018-09-30 | Engineering | DBA |
| 12345 | 2019-10-01 | 9999-12-31 | Engineering | DBA |
+-------+------------+------------+-------------+------------+
www.fromdual.com
19 / 25
Querying
What is valid now?
SELECT *
FROM employee
WHERE Start <= CURRENT_DATE()
AND End > CURRENT_DATE()
;
What was valid during last year?
SELECT *
FROM employee
WHERE End >= '2018-01-01'
AND Start <= '2018-12-31'
;
www.fromdual.com
20 / 25
Syntax – Variables – Replication
●
Bitemporal Tables is also possible
●
Combination of system versioned and application-time
periods
● SQL> FLUSH SSL;
●
Dynamically exchange servers TLS certificates
● SQL> INSTALL/UNINSTALL IF [NOT] EXISTS
PLUGIN ...
●
Variables: Some minor changes...
●
Replication:
●
GTID clean-up (gtid_cleanup_batch_size)
●
Binary Log Rotation speed up
● SQL> SHUTDOWN WAIT FOR ALL SLAVES;
www.fromdual.com
21 / 25
General
●
System Tables (mysql.*) Crash-safe Aria!
●
Commands mysql* → mariadb*
●
Expected but breaks with many applications! :-(
●
Performance improvements for Unicode collations
●
User data type plugin (work in progress)
●
Oracle TYPE … TABLE OF, … AS OBJECT OF
●
Much faster privilege checks (Cloud)
●
Many users accounts or database grants
●
MS SQL Server compatibility: sql_mode = MSSQL
●
“For the moment MSSQL mode only has limited functionality,
but we plan to add more later according to demand.”
●
JSON: JSON_MERGE_PATCH and JSON_MERGE_PRESERVE
www.fromdual.com
22 / 25
BACKUP STAGE
●
Differences between MariaDB Community and
Enterprise Server :-(
●
More efficient Backup Locks for Storage
Snapshots:
●
Now officially supported (thanks to Cloud)!
●
Better than FLUSH TABLES WITH READ LOCK;
SQL> BACKUP STAGE START;
SQL> BACKUP STAGE BLOCK_COMMIT;
SQL> system lvcreate --size 1G --snapshot 
--name snapshot /dev/vg/snapshots
SQL> BACKUP STAGE END;
www.fromdual.com
23 / 25
Galera 4
●
Galera ready by default since MariaDB 10.1
●
New Galera Tables
● mysql.wsrep_{cluster,cluster_members,streaming_log}
●
Streaming Replication
●
Transactions of unlimitted size
●
Replicates gradually in small fragments
●
Dynamically per session: wsrep_trx_fragment_size = <n>
●
Usefull size ~10k rows
●
Degrades transaction throughput!!!
●
Conflicts with LOAD DATA splitting (wsrep_load_data_splitting)
●
Rolling Upgrade from Galera 3 to 4 is supported
●
Completely not mature yet (10.4.10) also w/o Streaming Repl!
www.fromdual.com
24 / 25
Outlook MariaDB 10.5
● INSERT/REPLACE … RETURNING
●
S3 Storage Engine (Archive in the Cloud)
●
Aria SE improvements (for S3 SE?)
●
Thread Pool Statistics (Cloud?)
●
InnoDB clean-up
●
MySQL extended Binlog Metadata from Upstream
●
INFORMATION_SCHEMA improvements
●
Perl Scripts from DBD::mysql → DBD::MariaDB
●
→ a bit too quite IMHO atm
www.fromdual.com
25 / 25
Q & A
Questions ?
Discussion?
We have time for some face-to-face talks...
●
FromDual provides neutral and independent:
●
Consulting
●
Training
●
Remote-DBA
●
Support for MariaDB, Galera Cluster and MySQL

Contenu connexe

Tendances

Oracle GoldenGate DB2 to Oracle11gR2 Configuration
Oracle GoldenGate DB2 to Oracle11gR2 ConfigurationOracle GoldenGate DB2 to Oracle11gR2 Configuration
Oracle GoldenGate DB2 to Oracle11gR2 Configurationgrigorianvlad
 
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded ReplicationYahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded ReplicationYashada Jadhav
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprisesNelson Calero
 
How to Avoid Pitfalls in Schema Upgrade with Galera
How to Avoid Pitfalls in Schema Upgrade with GaleraHow to Avoid Pitfalls in Schema Upgrade with Galera
How to Avoid Pitfalls in Schema Upgrade with GaleraSveta Smirnova
 
SQL Tuning made easier with SQLTXPLAIN (SQLT)
SQL Tuning made easier with SQLTXPLAIN (SQLT)SQL Tuning made easier with SQLTXPLAIN (SQLT)
SQL Tuning made easier with SQLTXPLAIN (SQLT)Carlos Sierra
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04Carlos Sierra
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Nelson Calero
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBCarlos Sierra
 
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...Dave Stokes
 
Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Laurynas Biveinis
 
MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...
MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...
MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...Boško Devetak
 
Making Oracle Services work
Making Oracle Services workMaking Oracle Services work
Making Oracle Services workBjoern Rost
 
Running gtid replication in production
Running gtid replication in productionRunning gtid replication in production
Running gtid replication in productionBalazs Pocze
 
How to migrate from MySQL to MariaDB without tears
How to migrate from MySQL to MariaDB without tearsHow to migrate from MySQL to MariaDB without tears
How to migrate from MySQL to MariaDB without tearsSveta Smirnova
 
Introducing the eDB360 Tool
Introducing the eDB360 ToolIntroducing the eDB360 Tool
Introducing the eDB360 ToolCarlos Sierra
 
Oracle Database 12.1.0.2 New Features
Oracle Database 12.1.0.2 New FeaturesOracle Database 12.1.0.2 New Features
Oracle Database 12.1.0.2 New FeaturesDeiby Gómez
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyJean-François Gagné
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityCarlos Sierra
 

Tendances (20)

Oracle GoldenGate DB2 to Oracle11gR2 Configuration
Oracle GoldenGate DB2 to Oracle11gR2 ConfigurationOracle GoldenGate DB2 to Oracle11gR2 Configuration
Oracle GoldenGate DB2 to Oracle11gR2 Configuration
 
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded ReplicationYahoo: Experiences with MySQL GTID and Multi Threaded Replication
Yahoo: Experiences with MySQL GTID and Multi Threaded Replication
 
Redefining tables online without surprises
Redefining tables online without surprisesRedefining tables online without surprises
Redefining tables online without surprises
 
MySQL Ecosystem in 2018
MySQL Ecosystem in 2018MySQL Ecosystem in 2018
MySQL Ecosystem in 2018
 
Sprint 56
Sprint 56Sprint 56
Sprint 56
 
How to Avoid Pitfalls in Schema Upgrade with Galera
How to Avoid Pitfalls in Schema Upgrade with GaleraHow to Avoid Pitfalls in Schema Upgrade with Galera
How to Avoid Pitfalls in Schema Upgrade with Galera
 
SQL Tuning made easier with SQLTXPLAIN (SQLT)
SQL Tuning made easier with SQLTXPLAIN (SQLT)SQL Tuning made easier with SQLTXPLAIN (SQLT)
SQL Tuning made easier with SQLTXPLAIN (SQLT)
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
 
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
 
Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019
 
MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...
MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...
MySQL Time Machine by replicating into HBase - Slides from Percona Live Amste...
 
Making Oracle Services work
Making Oracle Services workMaking Oracle Services work
Making Oracle Services work
 
Running gtid replication in production
Running gtid replication in productionRunning gtid replication in production
Running gtid replication in production
 
How to migrate from MySQL to MariaDB without tears
How to migrate from MySQL to MariaDB without tearsHow to migrate from MySQL to MariaDB without tears
How to migrate from MySQL to MariaDB without tears
 
Introducing the eDB360 Tool
Introducing the eDB360 ToolIntroducing the eDB360 Tool
Introducing the eDB360 Tool
 
Oracle Database 12.1.0.2 New Features
Oracle Database 12.1.0.2 New FeaturesOracle Database 12.1.0.2 New Features
Oracle Database 12.1.0.2 New Features
 
Demystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash SafetyDemystifying MySQL Replication Crash Safety
Demystifying MySQL Replication Crash Safety
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
 

Similaire à MariaDB 10.4 New Features

MariaDB 10.2 New Features
MariaDB 10.2 New FeaturesMariaDB 10.2 New Features
MariaDB 10.2 New FeaturesFromDual GmbH
 
How to migrate from Oracle Database with ease
How to migrate from Oracle Database with easeHow to migrate from Oracle Database with ease
How to migrate from Oracle Database with easeMariaDB plc
 
M|18 Migrating from Oracle and Handling PL/SQL Stored Procedures
M|18 Migrating from Oracle and Handling PL/SQL Stored ProceduresM|18 Migrating from Oracle and Handling PL/SQL Stored Procedures
M|18 Migrating from Oracle and Handling PL/SQL Stored ProceduresMariaDB plc
 
Migrations from PLSQL and Transact-SQL - m18
Migrations from PLSQL and Transact-SQL - m18Migrations from PLSQL and Transact-SQL - m18
Migrations from PLSQL and Transact-SQL - m18Wagner Bianchi
 
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Morgan Tocker
 
Advanced Query Optimizer Tuning and Analysis
Advanced Query Optimizer Tuning and AnalysisAdvanced Query Optimizer Tuning and Analysis
Advanced Query Optimizer Tuning and AnalysisMYXPLAIN
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gMaris Elsins
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012sqlhjalp
 
Die Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise ServerDie Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise ServerMariaDB plc
 
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)Valeriy Kravchuk
 
PostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major FeaturesPostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major FeaturesInMobi Technology
 
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server MariaDB plc
 
MySQL Parallel Replication: inventory, use-case and limitations
MySQL Parallel Replication: inventory, use-case and limitationsMySQL Parallel Replication: inventory, use-case and limitations
MySQL Parallel Replication: inventory, use-case and limitationsJean-François Gagné
 
M|18 Battle of the Online Schema Change Methods
M|18 Battle of the Online Schema Change MethodsM|18 Battle of the Online Schema Change Methods
M|18 Battle of the Online Schema Change MethodsMariaDB plc
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeOlivier DASINI
 
Percona Live '18 Tutorial: The Accidental DBA
Percona Live '18 Tutorial: The Accidental DBAPercona Live '18 Tutorial: The Accidental DBA
Percona Live '18 Tutorial: The Accidental DBAJenni Snyder
 
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration WorkshopPXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration WorkshopFromDual GmbH
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBSeveralnines
 

Similaire à MariaDB 10.4 New Features (20)

MariaDB 10.2 New Features
MariaDB 10.2 New FeaturesMariaDB 10.2 New Features
MariaDB 10.2 New Features
 
How to migrate from Oracle Database with ease
How to migrate from Oracle Database with easeHow to migrate from Oracle Database with ease
How to migrate from Oracle Database with ease
 
M|18 Migrating from Oracle and Handling PL/SQL Stored Procedures
M|18 Migrating from Oracle and Handling PL/SQL Stored ProceduresM|18 Migrating from Oracle and Handling PL/SQL Stored Procedures
M|18 Migrating from Oracle and Handling PL/SQL Stored Procedures
 
Migrations from PLSQL and Transact-SQL - m18
Migrations from PLSQL and Transact-SQL - m18Migrations from PLSQL and Transact-SQL - m18
Migrations from PLSQL and Transact-SQL - m18
 
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7
 
Advanced Query Optimizer Tuning and Analysis
Advanced Query Optimizer Tuning and AnalysisAdvanced Query Optimizer Tuning and Analysis
Advanced Query Optimizer Tuning and Analysis
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11g
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012
 
Replication skeptic
Replication skepticReplication skeptic
Replication skeptic
 
Die Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise ServerDie Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise Server
 
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
 
PostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major FeaturesPostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major Features
 
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
 
MySQL Parallel Replication: inventory, use-case and limitations
MySQL Parallel Replication: inventory, use-case and limitationsMySQL Parallel Replication: inventory, use-case and limitations
MySQL Parallel Replication: inventory, use-case and limitations
 
Sprint 58
Sprint 58Sprint 58
Sprint 58
 
M|18 Battle of the Online Schema Change Methods
M|18 Battle of the Online Schema Change MethodsM|18 Battle of the Online Schema Change Methods
M|18 Battle of the Online Schema Change Methods
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
 
Percona Live '18 Tutorial: The Accidental DBA
Percona Live '18 Tutorial: The Accidental DBAPercona Live '18 Tutorial: The Accidental DBA
Percona Live '18 Tutorial: The Accidental DBA
 
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration WorkshopPXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
PXC 5.5 to MariaDB 10.4 Galera Cluster Migration Workshop
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
 

Plus de FromDual GmbH

MariaDB/MySQL pitfalls - And how to come out again...
MariaDB/MySQL pitfalls - And how to come out again...MariaDB/MySQL pitfalls - And how to come out again...
MariaDB/MySQL pitfalls - And how to come out again...FromDual GmbH
 
MariaDB / MySQL tripping hazard and how to get out again?
MariaDB / MySQL tripping hazard and how to get out again?MariaDB / MySQL tripping hazard and how to get out again?
MariaDB / MySQL tripping hazard and how to get out again?FromDual GmbH
 
PERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaPERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaFromDual GmbH
 
MySQL für Oracle DBA's
MySQL für Oracle DBA'sMySQL für Oracle DBA's
MySQL für Oracle DBA'sFromDual GmbH
 
MySQL Backup/Recovery
MySQL Backup/RecoveryMySQL Backup/Recovery
MySQL Backup/RecoveryFromDual GmbH
 
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?FromDual GmbH
 
MySQL-Server im Teamwork - Replikation und Cluster
MySQL-Server im Teamwork - Replikation und ClusterMySQL-Server im Teamwork - Replikation und Cluster
MySQL-Server im Teamwork - Replikation und ClusterFromDual GmbH
 
Der Datenbank-Backup ist gemacht - was nun?
Der Datenbank-Backup ist gemacht - was nun?Der Datenbank-Backup ist gemacht - was nun?
Der Datenbank-Backup ist gemacht - was nun?FromDual GmbH
 
Weltweite Produktionsdatenverwaltung mit MySQL-Replikation
Weltweite Produktionsdatenverwaltung mit MySQL-ReplikationWeltweite Produktionsdatenverwaltung mit MySQL-Replikation
Weltweite Produktionsdatenverwaltung mit MySQL-ReplikationFromDual GmbH
 
MySQL Performance Tuning für Oracle-DBA's
MySQL Performance Tuning für Oracle-DBA'sMySQL Performance Tuning für Oracle-DBA's
MySQL Performance Tuning für Oracle-DBA'sFromDual GmbH
 
MySQL Security SLAC 2015
MySQL Security SLAC 2015MySQL Security SLAC 2015
MySQL Security SLAC 2015FromDual GmbH
 
MySQL Performance Tuning für Entwickler
MySQL Performance Tuning für EntwicklerMySQL Performance Tuning für Entwickler
MySQL Performance Tuning für EntwicklerFromDual GmbH
 
MySQL Replikation - Die Eier legende Wollmilchsau?
MySQL Replikation - Die Eier legende Wollmilchsau?MySQL Replikation - Die Eier legende Wollmilchsau?
MySQL Replikation - Die Eier legende Wollmilchsau?FromDual GmbH
 
Reading MySQL fingerprints
Reading MySQL fingerprintsReading MySQL fingerprints
Reading MySQL fingerprintsFromDual GmbH
 
High-availability with Galera Cluster for MySQL
High-availability with Galera Cluster for MySQLHigh-availability with Galera Cluster for MySQL
High-availability with Galera Cluster for MySQLFromDual GmbH
 
MySQL always-up with Galera Cluster
MySQL always-up with Galera ClusterMySQL always-up with Galera Cluster
MySQL always-up with Galera ClusterFromDual GmbH
 
MySQL Indexierung CeBIT 2014
MySQL Indexierung CeBIT 2014MySQL Indexierung CeBIT 2014
MySQL Indexierung CeBIT 2014FromDual GmbH
 
MySQL Cluster with Galera Cluster for MySQL
MySQL Cluster with Galera Cluster for MySQLMySQL Cluster with Galera Cluster for MySQL
MySQL Cluster with Galera Cluster for MySQLFromDual GmbH
 

Plus de FromDual GmbH (20)

MariaDB/MySQL pitfalls - And how to come out again...
MariaDB/MySQL pitfalls - And how to come out again...MariaDB/MySQL pitfalls - And how to come out again...
MariaDB/MySQL pitfalls - And how to come out again...
 
MariaDB / MySQL tripping hazard and how to get out again?
MariaDB / MySQL tripping hazard and how to get out again?MariaDB / MySQL tripping hazard and how to get out again?
MariaDB / MySQL tripping hazard and how to get out again?
 
PERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaPERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schema
 
MySQL für Oracle DBA's
MySQL für Oracle DBA'sMySQL für Oracle DBA's
MySQL für Oracle DBA's
 
MySQL Backup/Recovery
MySQL Backup/RecoveryMySQL Backup/Recovery
MySQL Backup/Recovery
 
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?
 
MySQL-Server im Teamwork - Replikation und Cluster
MySQL-Server im Teamwork - Replikation und ClusterMySQL-Server im Teamwork - Replikation und Cluster
MySQL-Server im Teamwork - Replikation und Cluster
 
Der Datenbank-Backup ist gemacht - was nun?
Der Datenbank-Backup ist gemacht - was nun?Der Datenbank-Backup ist gemacht - was nun?
Der Datenbank-Backup ist gemacht - was nun?
 
Weltweite Produktionsdatenverwaltung mit MySQL-Replikation
Weltweite Produktionsdatenverwaltung mit MySQL-ReplikationWeltweite Produktionsdatenverwaltung mit MySQL-Replikation
Weltweite Produktionsdatenverwaltung mit MySQL-Replikation
 
MySQL Performance Tuning für Oracle-DBA's
MySQL Performance Tuning für Oracle-DBA'sMySQL Performance Tuning für Oracle-DBA's
MySQL Performance Tuning für Oracle-DBA's
 
MySQL Security SLAC 2015
MySQL Security SLAC 2015MySQL Security SLAC 2015
MySQL Security SLAC 2015
 
MySQL Performance Tuning für Entwickler
MySQL Performance Tuning für EntwicklerMySQL Performance Tuning für Entwickler
MySQL Performance Tuning für Entwickler
 
MySQL Replikation - Die Eier legende Wollmilchsau?
MySQL Replikation - Die Eier legende Wollmilchsau?MySQL Replikation - Die Eier legende Wollmilchsau?
MySQL Replikation - Die Eier legende Wollmilchsau?
 
Reading MySQL fingerprints
Reading MySQL fingerprintsReading MySQL fingerprints
Reading MySQL fingerprints
 
High-availability with Galera Cluster for MySQL
High-availability with Galera Cluster for MySQLHigh-availability with Galera Cluster for MySQL
High-availability with Galera Cluster for MySQL
 
MySQL always-up with Galera Cluster
MySQL always-up with Galera ClusterMySQL always-up with Galera Cluster
MySQL always-up with Galera Cluster
 
HA with Galera
HA with GaleraHA with Galera
HA with Galera
 
MySQL Indexierung CeBIT 2014
MySQL Indexierung CeBIT 2014MySQL Indexierung CeBIT 2014
MySQL Indexierung CeBIT 2014
 
MySQL Cluster with Galera Cluster for MySQL
MySQL Cluster with Galera Cluster for MySQLMySQL Cluster with Galera Cluster for MySQL
MySQL Cluster with Galera Cluster for MySQL
 
MySQL Backup
MySQL BackupMySQL Backup
MySQL Backup
 

Dernier

Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsaqsarehman5055
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardsticksaastr
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMoumonDas2
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyPooja Nehwal
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Chameera Dedduwage
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesPooja Nehwal
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfSenaatti-kiinteistöt
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 

Dernier (20)

Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 

MariaDB 10.4 New Features

  • 1. www.fromdual.com 1 / 25 MariaDB 10.4 New Features DOAG K&A 2019, Nürnberg (Germany) Oli Sennhauser Senior MariaDB and MySQL Consultant at FromDual GmbH https://www.fromdual.com/presentations
  • 2. www.fromdual.com 2 / 25 About FromDual GmbH Enterprise Support remote-DBA Training Consulting
  • 3. www.fromdual.com 3 / 25 Contents HA Solutions ➢ Read scale-out ➢ Replication set-up for HA ➢ Active/passive fail-over ➢ MySQL Cluster ➢ Replication Cluster ➢ Storage-Engine-Replication MariaDB 10.4 – New Features ➢ Branches and Forks ➢ MariaDB and Linux Distributions ➢ Authentication ➢ InnoDB ➢ MariaDB Optimizer ➢ Application-Time Period Tables ➢ General Stuff ➢ Backup Stage ➢ Galera 4 ➢ Outlook MariaDB 10.5
  • 4. www.fromdual.com 4 / 25 Branches and Forks 5.1 5.5 2010 Branch (“Drop-in-Replacement”) MariaDB MySQL ● MariaDB and MySQL are Open Source (GPL v2) ● This means everybody is allowed to DiY ● → Branches and Forks ● Who uses a MariaDB/MySQL in here? ● Chaos will happen! :-( ● See Sybase ASE vs. MicroSoft SQL Server (1995(v6.0)-2005) ● Examples: GTID, Protocol X, MariaDB CS, Virtual Columns, JSON, User Management, Group Replication, PL/SQL, etc. 2008 Fork (“Compatible”) 5.6, 2013 5.7, 2015 8.0, 2018 10.0, 2014 10.1, 2015 10.2, 2017 10.3, 2018 10.4, 2019 10.5, 2020
  • 5. www.fromdual.com 5 / 25 MariaDB and Linux Distros ● Redhat/CentOS: ● 6 → MySQL 5.1 ● 7 → MariaDB 5.5 ● 8 → MariaDB 10.3, MySQL 8.0 ● Ubuntu: ● 16.04 → MySQL 5.7 ● 18.04 → MySQL 5.7 (MariaDB 10.1) ● 20.04 → ? (Ubuntu 19.10: MySQL 8.0 (MariaDB 10.3)) ● Debian: ● 8 → MySQL 5.5 ● 9 → MariaDB 10.1 ● 10 → MariaDB 10.3 ● SuSE SLE / OpenSuSE: ● 12 → MariaDB 10.0 ● 15 → MariaDB 10.2 ● Leap 42 → MariaDB 10.0, Leap 15, → MariaDB 10.2
  • 7. www.fromdual.com 7 / 25 Retrospect MariaDB 10.3 ● GA May 2018 ● Invisible Columns ● System-versioned Tables ● Instant ADD COLUMN ● Storage Engine independent Column Compression ● Semi-synchronous Replication Built-in (before Plug-in) ● PROXY Protocol Support (Galera/HAproxy) ● Optimizer Improvements (SQL Performance) ● Aggregate Stored Functions (DWH, MariaDB Column Store) ● Oracle Compatibility (sql_mode = ORACLE) ● Oracle PL/SQL Packages, Oracle Style Sequences ● and many, many more...
  • 8. www.fromdual.com 8 / 25 MariaDB 10.4 - Overview ● GA June 2019 (10.4.6) ● → wait 6 – 12 months for production (mid 2020)! ● Still very poor quality (especially Galera 4!) ● Regression in 10.4.9 (5. 11. 2019) ● Remember MySQL IPO plan 2005: 5.0 was “worst release ever” ● Cloud… (IPO?) ● Standard compliant (IPO?) ● More feature complete
  • 9. www.fromdual.com 9 / 25 Authentication ● unix_socket authentication is default! ● Access if O/S user = DB user ● New DB user: mysql ● User Password Expiry: ALTER USER 'oli'@'localhost' PASSWORD EXPIRE INTERVAL 90 DAY; ● Account Locking: ALTER USER 'oli'@'localhost' ACCOUNT LOCK; ● Table mysql.user is retired!!! ● → Can break Admin Applications... ● New: mysql.global_priv Table ● More than 1 authentication plugin possible ● → slowly migrate users to more secure authentication ● CREATE USER admin@localhost IDENTIFIED VIA unix_socket OR mysql_native_password USING 'secret';
  • 10. www.fromdual.com 10 / 25 InnoDB ● Instant DROP COLUMN operation ● Changing of column order ● More Instant operations (VARCHAR, collation and character set) ● Improvements in Index DDL ● RENAME INDEX ● Merge InnoDB changes from “upstream” ● InnoDB row length count fixed (10.4.7) ● Leads to errors: [Warning] InnoDB: Cannot add field `thumbnails` in table `test`.`products` because after adding it, the row size is 8702 which is greater than maximum allowed size (8126) for a record on index leaf page.
  • 11. www.fromdual.com 11 / 25 InnoDB Instant DDL ALTER TABLE test ADD COLUMN d BIGINT /*!100400 , ALGORITHM=INSTANT */; Query OK, 0 rows affected (0.247 sec) ALTER TABLE test MODIFY COLUMN c BIGINT(20) DEFAULT NULL AFTER d /*!100400 , ALGORITHM=INSTANT */; Query OK, 0 rows affected (0.072 sec)
  • 12. www.fromdual.com 12 / 25 Optimizer ● Optimizer Trace: ● SET SESSION optimizer_trace=’enabled=on’; ● I_S.optimizer_trace ● SE Independent Table Statistics ● Histogram collection by default ● Improved Condition Pushdown Optimization ● SELECT … WHERE xxx AND ... IN (<subquery>) ● Automatic optimized use of Join Buffer ● Exists since 5.3.0 but was disabled :-( ● Rowid Filtering Optimization ● WHERE a.date BETWEEN '2018-01-01' AND '2018-01-31' AND b.price between 200000 and 230000; ● But...
  • 13. www.fromdual.com 13 / 25 Optimizer – Query Runtime 5.5.41 10.0.28 10.1.29 10.2.14 10.3.18 10.4.8 Query 1 3.03 3.17 3.36 3.29 3.38 3.57 Query 2 0.20 0.20 0.20 0.19 0.19 0.21 Query 3 2.41 2.40 2.51 3.27 3.92 4.44 Query 1 Query 2 Query 3 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 MariaDB Optimizer - Over time 5.5.41 10.0.28 10.1.29 10.2.14 10.3.18 10.4.8
  • 14. www.fromdual.com 14 / 25 Optimizer Trace SQL> SET SESSION optimizer_trace=’enabled=on’; SQL> EXPLAIN SELECT * FROM test WHERE id <10; SQL> SELECT trace FROM information_schema.optimizer_trace; … "steps": [ { "condition_processing": { "condition": "WHERE", "original_condition": "test.`id` < 10", "steps": [ { "transformation": "equality_propagation", "resulting_condition": "test.`id` < 10" }, { "transformation": "constant_propagation", "resulting_condition": "test.`id` < 10" }, { "transformation": "trivial_condition_removal", "resulting_condition": "test.`id` < 10" } ] } }, …
  • 15. www.fromdual.com 15 / 25 Application-Time Period Tables ● ISO/IEC 9075, SQL:2011 Part 2 ● MariaDB 10.3: System Versioned Tables ● Journal/Tracking of an Item. ● AUTO_INCREMENT ID is NO good plan! CREATE TABLE employee ( ID INT UNSIGNED NOT NULL , Start DATE , End DATE , Department VARCHAR(32) , Position VARCHAR(32) , PRIMARY KEY (ID, Start, End) , PERIOD FOR Period (Start, End) );
  • 16. www.fromdual.com 16 / 25 Lend Employee UPDATE employee FOR PORTION OF Period FROM '2018-03-15' TO '2018-07-15' SET Department = 'Development' , Position = 'DBA' WHERE ID = 12345 ; Query OK, 1 row affected (0.000 sec) Rows matched: 1 Changed: 1 Inserted: 2 Warnings: 0 SELECT * FROM employee ORDER BY Start; +-------+------------+------------+-------------+------------+ | ID | Start | End | Department | Position | +-------+------------+------------+-------------+------------+ | 12345 | 2017-01-01 | 2018-03-15 | Engineering | Junior DBA | | 12345 | 2018-03-15 | 2018-07-15 | Development | DBA | | 12345 | 2018-07-15 | 9999-12-31 | Engineering | Junior DBA | +-------+------------+------------+-------------+------------+
  • 17. www.fromdual.com 17 / 25 Upgrade Employee UPDATE employee FOR PORTION OF Period FROM '2018-07-15' TO '9999-12-31' SET Position = 'DBA' WHERE ID = 12345 ; +-------+------------+------------+-------------+------------+ | ID | Start | End | Department | Position | +-------+------------+------------+-------------+------------+ | 12345 | 2017-01-01 | 2018-03-15 | Engineering | Junior DBA | | 12345 | 2018-03-15 | 2018-07-15 | Development | DBA | | 12345 | 2018-07-15 | 9999-12-31 | Engineering | DBA | +-------+------------+------------+-------------+------------+
  • 18. www.fromdual.com 18 / 25 1 year vacation (unpaid) DELETE FROM employee FOR PORTION OF Period FROM '2018-09-30' -- !?! TO '2019-10-01' -- !?! WHERE ID = 12345 ; +-------+------------+------------+-------------+------------+ | ID | Start | End | Department | Position | +-------+------------+------------+-------------+------------+ | 12345 | 2017-01-01 | 2018-03-15 | Engineering | Junior DBA | | 12345 | 2018-03-15 | 2018-07-15 | Development | DBA | | 12345 | 2018-07-15 | 2018-09-30 | Engineering | DBA | | 12345 | 2019-10-01 | 9999-12-31 | Engineering | DBA | +-------+------------+------------+-------------+------------+
  • 19. www.fromdual.com 19 / 25 Querying What is valid now? SELECT * FROM employee WHERE Start <= CURRENT_DATE() AND End > CURRENT_DATE() ; What was valid during last year? SELECT * FROM employee WHERE End >= '2018-01-01' AND Start <= '2018-12-31' ;
  • 20. www.fromdual.com 20 / 25 Syntax – Variables – Replication ● Bitemporal Tables is also possible ● Combination of system versioned and application-time periods ● SQL> FLUSH SSL; ● Dynamically exchange servers TLS certificates ● SQL> INSTALL/UNINSTALL IF [NOT] EXISTS PLUGIN ... ● Variables: Some minor changes... ● Replication: ● GTID clean-up (gtid_cleanup_batch_size) ● Binary Log Rotation speed up ● SQL> SHUTDOWN WAIT FOR ALL SLAVES;
  • 21. www.fromdual.com 21 / 25 General ● System Tables (mysql.*) Crash-safe Aria! ● Commands mysql* → mariadb* ● Expected but breaks with many applications! :-( ● Performance improvements for Unicode collations ● User data type plugin (work in progress) ● Oracle TYPE … TABLE OF, … AS OBJECT OF ● Much faster privilege checks (Cloud) ● Many users accounts or database grants ● MS SQL Server compatibility: sql_mode = MSSQL ● “For the moment MSSQL mode only has limited functionality, but we plan to add more later according to demand.” ● JSON: JSON_MERGE_PATCH and JSON_MERGE_PRESERVE
  • 22. www.fromdual.com 22 / 25 BACKUP STAGE ● Differences between MariaDB Community and Enterprise Server :-( ● More efficient Backup Locks for Storage Snapshots: ● Now officially supported (thanks to Cloud)! ● Better than FLUSH TABLES WITH READ LOCK; SQL> BACKUP STAGE START; SQL> BACKUP STAGE BLOCK_COMMIT; SQL> system lvcreate --size 1G --snapshot --name snapshot /dev/vg/snapshots SQL> BACKUP STAGE END;
  • 23. www.fromdual.com 23 / 25 Galera 4 ● Galera ready by default since MariaDB 10.1 ● New Galera Tables ● mysql.wsrep_{cluster,cluster_members,streaming_log} ● Streaming Replication ● Transactions of unlimitted size ● Replicates gradually in small fragments ● Dynamically per session: wsrep_trx_fragment_size = <n> ● Usefull size ~10k rows ● Degrades transaction throughput!!! ● Conflicts with LOAD DATA splitting (wsrep_load_data_splitting) ● Rolling Upgrade from Galera 3 to 4 is supported ● Completely not mature yet (10.4.10) also w/o Streaming Repl!
  • 24. www.fromdual.com 24 / 25 Outlook MariaDB 10.5 ● INSERT/REPLACE … RETURNING ● S3 Storage Engine (Archive in the Cloud) ● Aria SE improvements (for S3 SE?) ● Thread Pool Statistics (Cloud?) ● InnoDB clean-up ● MySQL extended Binlog Metadata from Upstream ● INFORMATION_SCHEMA improvements ● Perl Scripts from DBD::mysql → DBD::MariaDB ● → a bit too quite IMHO atm
  • 25. www.fromdual.com 25 / 25 Q & A Questions ? Discussion? We have time for some face-to-face talks... ● FromDual provides neutral and independent: ● Consulting ● Training ● Remote-DBA ● Support for MariaDB, Galera Cluster and MySQL