MariaDB - Introduction To MariaDB v1 6
MariaDB - Introduction To MariaDB v1 6
”
for tomorrow’s applications.
3
MariaDB Server Contributors
OLIVIER Security Key
BERTRAND Management
Spiral Arms – Plugin
CONNECT
Storage Spider Sharding
InnoDB Compressed
Engine
Galera Storage Binlog Events
Persistent Auto-
Cluster Engine
Increment for InnoDB
Encryption Atomic
Writes MaxScale Temporal
BinLog Storage
Engine SQL Patches
PL/SQL Support
MyRocks
Storage Engine
Travel Retail & Ecommerce
60 Million Users in
45 Countries Trust Critical
Business Data to MariaDB
Telecom Media & Social
Technology & Internet
Ubiquitous Open Source Database
Linux Distributions Cloud Services & Stacks
MariaDB ‘Fastest Growing Database’
$9,123,360 On premise…
● Oracle costs 80x more
● Organizations can save $9 million
3 Year
Total Cost of In the cloud…
Ownership
● On AWS, Oracle costs 145x more
● On Oracle Cloud, it costs 69x more
$108,000 TCO https://mariadb.com/files/content/Oracle_TCO_MariaDB_2018.pdf
MariaDB Subscription
MARIADB TX
Enterprise-grade secure, highly
available and scalable relational
database with a modern,
extensible architecture
contention
● An HA solution, not a write scaling solution
● MaxScale can detect state of Galera nodes and avoid Galera Cluster
those that are out of synch
● MaxScale can load balance between nodes
MariaDB MaxScale
After six months, they had several apps running on MariaDB. At the end of 2016, they were closer to
twelve, still mostly “non-critical applications.” But this is about to change: in 2017, many “tier one” and
“tier two” mission critical applications are moving to MariaDB – including the big kahuna, Internet
banking. Tay and Sugumar are excited they’ve reached this point, but there are big go-live moments
ahead.
https://www.computerworlduk.com/cloud-computing/how-servicenow-deploys-mariadb-handle-25-billion-queries-per-hour-3672819/
ServiceNow deploys MariaDB to handle 25 Bil queries per hour
ServiceNow runs MariaDB at a pretty
unprecedented scale: nearly 85,000 databases
globally to be exact. That's 84,876 instances of
MariaDB, running 176,686,129 InnoDB tables and
processing those 25 billion queries per hour.
The IT service desk software-as-a-service (SaaS)
vendor is specifically running MariaDB TX, which
is the enterprise version of its open source
database, packaging up a range of tools and
services for managing, backing up and monitoring
core MariaDB technology, and is paid for on a
Tim Yim on stage at M18 in New York
subscription basis.
The key performance indicator for ServiceNow, like many technology companies, is availability. This is
one reason it runs so many instances across eight pairs of data centres globally, so that it can limit
failover to a single customer. Since moving to MariaDB the platform runs at 99.996 percent availability,
according to Yim's slides.
https://www.computerworlduk.com/cloud-computing/how-servicenow-deploys-mariadb-handle-25-billion-queries-per-hour-3672819/
MariaDB – Oracle
Comparison & Migration
Methodology
MariaDB Migrations Methodology
● Migration Courses
● YouTube MariaDB Channel
● Migration Training
● http://mariadbuniversity.learnu
pon.com
https://www.youtube.com/watch?v=eOYJWFcer6s
Migration Assessment Tool
● SQL Lines Data Converter from http://www.sqlines.com/download
● Get them to download the latest Linux build and not Windows.
● Once downloaded and extracted, the command line goes this way:
shell> ./sqllines -s=oracle -t=mariadb_ora -a -in=oracle_schema_dump.sql
-s is the source database, i.e, Oracle
-t is the target database, in this case, it’s “mariadb_ora” to indicate we
want to assess based on oracle compatibility for MariaDB
-in is the input file to analyze
-a tells to generate an assessment report
● sqllines_report.html & sqlines_report_snippets.html
● sqllines_report.html contains the summary report while the sqllines_report_snippets.html
contain the lookup details of the actual code in use. While clicking on the links in the
sqllines_report.html, the snippet file will open up showing the actual code and the line
number from the source file.
Compatibility
MariaDB (modern) to Oracle (monolithic)
Oracle is can be seen as expensive and relatively rigid:
● High TCO, rigid license policies
● Even simple things (e.g. replication) can require complex licenses for special features