SlideShare a Scribd company logo
1 of 33
What to expect from
MariaDB Platform X5
(Part 2)
Todd Stoffel
Product Manager
MaxScale 2.5
What is MaxScale?
● Automatic failover
● Transaction replay
● Schema sharding
● Causal reads
● Query blocking
○ Database firewall
● Data masking
● Denial-of-service protection
○ Result limiting
Database proxy
●Offload replication from the primary
database
●Supports a very large number of read
replicas
Replication server
MariaDB MaxScale: New Features in 2.5
● New Graphic User Interface
(Alternative to MaxCtrl)
● New and Improved Binlog Router
● Stream Binlogs (as JSON) to Kafka
Broker
●Cooperative Monitoring and Locking
(New HA Solution)
●Distributed Cache between MaxScale
Servers (i.e. Redis, Memcached)
●Columnstore Orchestration
Graphic User Interface
New Binlog Router
Allows MaxScale to serve replication traffic to any number of slaves
while removing that load from the true master
● Completely re-written
● More efficient and performant
● Heartbeat and burst interval configured automatically
Stream Binlogs (as JSON) to Kafka Broker
MariaDB
MaxScale
JSON Conversion
Kafka
App
ColumnStore
MaxScale 1
Active
Legend
Normal Traffic
MariaDB
MaxScale 2
Active
Redundant Traffic
App
+ Connector
App
+ Connector
App
+ Connector
App
+ Connector
App
+ Connector
MariaDB MariaDB
Cooperative
Monitoring
(v. 2.5)
Cooperative Monitoring and Locking
Distributed Cache between MaxScale
Servers
MaxScale 1 MaxScale 2
OR
Columnstore Orchestration VIA API
MaxScale
Columnstore
Primary
Columnstore
Replica 1
Columnstore
Replica 2
Legend
Normal Traffic
S3
API
dbroot1 dbroot2 dbroot3
Columnstore Orchestration VIA API
MaxScale
Columnstore
Primary
Columnstore
Replica 1
Columnstore
Replica 2
Legend
Normal Traffic
S3
API
dbroot1 dbroot2 dbroot3
Columnstore Orchestration VIA API
MaxScale
Columnstore
Primary
Columnstore
Replica 1
Columnstore
Replica 2
Legend
Normal Traffic
S3
API
dbroot1 dbroot2 dbroot3
Columnstore Orchestration VIA API
MaxScale
Columnstore
Primary
Columnstore
Replica 1
Columnstore
Replica 2
Legend
Normal Traffic
S3
API
dbroot2 dbroot3dbroot1
Columnstore Orchestration VIA API
MaxScale
Columnstore
Primary
Columnstore
Replica 1
Columnstore
Replica 2
Legend
Normal Traffic
S3
API
dbroot2 dbroot3dbroot1
Columnstore Orchestration VIA API
MaxScale
Columnstore
Primary
Columnstore
Primary
Columnstore
Replica 2
Legend
Normal Traffic
S3
API
dbroot2 dbroot3dbroot1
ColumnStore 1.5
THE PROBLEM OF BIG DATA
The analytic workload is not too complex
(compared to scientific work)...
… BUT AS DATA GROWS,
PERFORMANCE DEGRADES
MERELY BECAUSE OF ITS SIZE
Computers are not designed to
scale well at the hardware level…
… SO SCALING NEEDS TO BE DONE
AT THE SOFTWARE/ ALGORITHM
LEVEL
WHAT IS MARIADB COLUMNSTORE?
● Distributed and columnar storage for analytics
○ Stores data by column rather than row (file per column)
○ Stores data on separate, dedicated storage nodes
○ Scale out by adding more storage nodes
○ Can use GlusterFS or S3 for high availability
● Compression: up to 90%
● High performance storage engine
● Fully compatible with standard SQL
● Easier big data enterprise analytics
○ Single interface for OLTP and
analytics
○ Easy to integrate with third-party
tools
● Fast import of data (cpimport),
● Direct injection of data (bypassing SQL
layer)
○ No need for indexes and views
Features
● Powerful in analytics (Star/Snowflake
schemas)
● Scalability (just adding a new node(PM)
to the cluster and no data distribution is
required)
● Concurrency,
● File level backup in real-time
● Good compression -> low disk space
usage
● Faster, more efficient queries
○ Distributed parallel processing
WHY USE MARIADB COLUMNSTORE?
ROW-ORIENTED VERSUS COLUMN-ORIENTED
ROW-ORIENTED
● Rows stored
sequentially in a file
● Scans through every
record row by row
COLUMN-ORIENTED
● Each column is
stored in a separate file
● Scans only the
relevant column
ID FNAME LNAME STATE ZIP PHONE AGE GENDER
1 Bugs Bunny NY 11217 (718) 938-3235 34 M
2 Yosemite Sam CA 95389 (209) 375-6572 52 M
3 Daffy Duck NY 10013 (212) 227-1810 35 M
4 Elmer Fudd ME 04578 (207) 882-7323 43 M
5 Witch Hazel MA 01970 (978) 744-0991 57 F
ID FNAME LNAME STATE ZIP PHONE AGE GENDER
1 Bugs Bunny NY 11217 (718) 938-3235 34 M
2 Yosemite Sam CA 95389 (209) 375-6572 52 M
3 Daffy Duck NY 10013 (212) 227-1810 35 M
4 Elmer Fudd ME 04578 (207) 882-7323 43 M
5 Witch Hazel MA 01970 (978) 744-0991 57 F
> SELECT Fname FROM TABLE1 WHERE State = ‘NY’;
Storage Architecture Reduced I/O
High Performance Query Processing
● Only touch column files that are
in Filter, Projection, Group By,
and Join Conditions
● Eliminate Disk Block touches
to Partitions Outside Filter
and Join Conditions
Extent 1:
ShipDate: 2016-01-12 - 2016-03-05
Extent 2:
ShipDate: 2016-03-05 - 2016-09-23
Extent 3:
ShipDate: 2016-09-24 - 2017-01-06
> SELECT item, SUM(qty) FROM orders
WHERE ship_date BETWEEN '2016-01-01'
AND '2016-01-31' GROUP BY item
Horizontal
Partition:
8 Million Rows
Extent 2
Horizontal
Partition:
8 Million Rows
Extent 3
Horizontal
Partition:
8 Million Rows
Extent 1
id order_id Line item qty price supplier ship_date mode
1 1 1 Laptop 5 1000 Dell 2016-01-12 G
2 1 2 Monitor 5 200 LG 2016-01-13 G
3 2 1 Mouse 1 20 Logitech 2016-02-05 M
4 3 1 Laptop 3 1600 Apple 2016-01-31 P
... ... ... ... ... ... ... ... ...
8M 2016-03-05
8M+1 2016-03-05
... ... ... ... ... ... ... ... ...
16M 2016-09-23
16M+1 2016-09-24
... ... ... ... ... ... ... ... ...
24M 2017-01-06
ELIMINATED PARTITION
ELIMINATED PARTITION
Sample Two Node ColumnStore Cluster
App BI
MariaDB w/
ColumnStore
MaxScale
Legend
Normal Traffic
InnoDB BinLog
Replication
MariaDB w/
ColumnStore
Node 1 Node 2
ColumnStore Traffic
New Features in 1.5
● New API (Replaces OAM)
● PowerBI Direct Query Connector
● Improved Collation and Character
Sets
● Improved Write Cache (100x faster)
Phase 1 (Summer 2020)
● Faster Replication From Innodb
● Sequences
● Restart of Broken LDI (Checkpoints)
Phase 3 (Winter 2020)
● Multinode in SkySQL
● Wider Extents
● Extended Oracle Mode
● Dec(38)
Phase 2 (Fall 2020)
● Extent Elimination for DOUBLE
● Improved redistributedata
● Dynamic Columns
Phase 4 (Spring 2021)
Simplified Installation
NEW INSTALL PROCEDURE
[centos@localhost ~]$ wget https://dlm.mariadb.com/enterprise-release-helpers/mariadb_es_repo_setup
[centos@localhost ~]$ chmod +x mariadb_es_repo_setup
[centos@localhost ~]$ mariadb_es_repo_setup --token=<YOUR_TOKEN_HERE> --apply
[centos@localhost ~]$ yum -y install MariaDB-server MariaDB-columnstore-engine
[centos@localhost ~]$ systemctl enable mariadb-columnstore
[centos@localhost ~]$ systemctl start mariadb-columnstore
Before starting Columnstore, you might want to configure StorageManager and/or other
Columnstore variables. We will discuss later in this presentation.
Columnstore.xml
Configure Columnstore
We provide a couple Columnstore.xml utilities.
mcsGetConfig -a
Will show the current Columnstore.xml settings.
To change a variable, run:
mcsSetConfig <group> <parameter> <value>
Example: mcsSetConfig CrossEngineSupport User “myuser”
Note: A restart of Columnstore is required.
S3 Storage Manager
Redundant File System (S3)
App BI
MariaDB w/
ColumnStore
MaxScale
Legend
Normal Traffic
InnoDB BinLog
Replication
MariaDB w/
ColumnStore
ColumnStore Storage Layer
Node 1 Node 2
BLOCK VS OBJECT STORAGE COST
storagemanager.cnf
To Configure Storage Manager
Edit this file /etc/columnstore/storagemanager.cnf:
[ObjectStorage]
…
service = S3
…
[S3]
bucket = yourbucketname
endpoint = s3.amazonaws.com
aws_access_key_id = <youraccesskeyid>
aws_secret_access_key= <yoursecretkey>
Thank you

More Related Content

What's hot

What's hot (20)

Introducing the R2DBC async Java connector
Introducing the R2DBC async Java connectorIntroducing the R2DBC async Java connector
Introducing the R2DBC async Java connector
 
CCV: migrating our payment processing system to MariaDB
CCV: migrating our payment processing system to MariaDBCCV: migrating our payment processing system to MariaDB
CCV: migrating our payment processing system to MariaDB
 
MariaDB ColumnStore
MariaDB ColumnStoreMariaDB ColumnStore
MariaDB ColumnStore
 
Under the hood: SkySQL monitoring
Under the hood: SkySQL monitoringUnder the hood: SkySQL monitoring
Under the hood: SkySQL monitoring
 
Auto Europe's ongoing journey with MariaDB and open source
Auto Europe's ongoing journey with MariaDB and open sourceAuto Europe's ongoing journey with MariaDB and open source
Auto Europe's ongoing journey with MariaDB and open source
 
Getting started in the cloud for developers
Getting started in the cloud for developersGetting started in the cloud for developers
Getting started in the cloud for developers
 
How Orwell built a geo-distributed Bank-as-a-Service with microservices
How Orwell built a geo-distributed Bank-as-a-Service with microservicesHow Orwell built a geo-distributed Bank-as-a-Service with microservices
How Orwell built a geo-distributed Bank-as-a-Service with microservices
 
ClustrixDB: how distributed databases scale out
ClustrixDB: how distributed databases scale outClustrixDB: how distributed databases scale out
ClustrixDB: how distributed databases scale out
 
How MariaDB is approaching DBaaS
How MariaDB is approaching DBaaSHow MariaDB is approaching DBaaS
How MariaDB is approaching DBaaS
 
ClustrixDB at Samsung Cloud
ClustrixDB at Samsung CloudClustrixDB at Samsung Cloud
ClustrixDB at Samsung Cloud
 
Deploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksDeploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia Networks
 
How Alibaba Cloud scaled ApsaraDB with MariaDB MaxScale
How Alibaba Cloud scaled ApsaraDB with MariaDB MaxScaleHow Alibaba Cloud scaled ApsaraDB with MariaDB MaxScale
How Alibaba Cloud scaled ApsaraDB with MariaDB MaxScale
 
M|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocksM|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocks
 
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
 
How to power microservices with MariaDB
How to power microservices with MariaDBHow to power microservices with MariaDB
How to power microservices with MariaDB
 
Understanding the architecture of MariaDB ColumnStore
Understanding the architecture of MariaDB ColumnStoreUnderstanding the architecture of MariaDB ColumnStore
Understanding the architecture of MariaDB ColumnStore
 
Scylla Summit 2022: How ScyllaDB Powers This Next Tech Cycle
Scylla Summit 2022: How ScyllaDB Powers This Next Tech CycleScylla Summit 2022: How ScyllaDB Powers This Next Tech Cycle
Scylla Summit 2022: How ScyllaDB Powers This Next Tech Cycle
 
Scylla Summit 2016: Why Kenshoo is about to displace Cassandra with Scylla
Scylla Summit 2016: Why Kenshoo is about to displace Cassandra with ScyllaScylla Summit 2016: Why Kenshoo is about to displace Cassandra with Scylla
Scylla Summit 2016: Why Kenshoo is about to displace Cassandra with Scylla
 
Getting the most out of MariaDB MaxScale
Getting the most out of MariaDB MaxScaleGetting the most out of MariaDB MaxScale
Getting the most out of MariaDB MaxScale
 
Scylla Summit 2016: Scylla at Samsung SDS
Scylla Summit 2016: Scylla at Samsung SDSScylla Summit 2016: Scylla at Samsung SDS
Scylla Summit 2016: Scylla at Samsung SDS
 

Similar to What to expect from MariaDB Platform X5, part 2

Similar to What to expect from MariaDB Platform X5, part 2 (20)

Getting started with amazon redshift - Toronto
Getting started with amazon redshift - TorontoGetting started with amazon redshift - Toronto
Getting started with amazon redshift - Toronto
 
What’s new in MariaDB ColumnStore
What’s new in MariaDB ColumnStoreWhat’s new in MariaDB ColumnStore
What’s new in MariaDB ColumnStore
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
M|18 Understanding the Architecture of MariaDB ColumnStore
M|18 Understanding the Architecture of MariaDB ColumnStoreM|18 Understanding the Architecture of MariaDB ColumnStore
M|18 Understanding the Architecture of MariaDB ColumnStore
 
Db2 analytics accelerator on ibm integrated analytics system technical over...
Db2 analytics accelerator on ibm integrated analytics system   technical over...Db2 analytics accelerator on ibm integrated analytics system   technical over...
Db2 analytics accelerator on ibm integrated analytics system technical over...
 
[db tech showcase OSS 2017] A25: Replacing Oracle Database at DBS Bank by Mar...
[db tech showcase OSS 2017] A25: Replacing Oracle Database at DBS Bank by Mar...[db tech showcase OSS 2017] A25: Replacing Oracle Database at DBS Bank by Mar...
[db tech showcase OSS 2017] A25: Replacing Oracle Database at DBS Bank by Mar...
 
[db tech showcase OSS 2017] A23: Analytics with MariaDB ColumnStore by MariaD...
[db tech showcase OSS 2017] A23: Analytics with MariaDB ColumnStore by MariaD...[db tech showcase OSS 2017] A23: Analytics with MariaDB ColumnStore by MariaD...
[db tech showcase OSS 2017] A23: Analytics with MariaDB ColumnStore by MariaD...
 
Introduction of MariaDB AX / TX
Introduction of MariaDB AX / TXIntroduction of MariaDB AX / TX
Introduction of MariaDB AX / TX
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
 
IBM Analytics Accelerator Trends & Directions Namk Hrle
IBM Analytics Accelerator  Trends & Directions Namk Hrle IBM Analytics Accelerator  Trends & Directions Namk Hrle
IBM Analytics Accelerator Trends & Directions Namk Hrle
 
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle IBM DB2 Analytics Accelerator  Trends & Directions by Namik Hrle
IBM DB2 Analytics Accelerator Trends & Directions by Namik Hrle
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
 
MariaDB 10 and Beyond
MariaDB 10 and BeyondMariaDB 10 and Beyond
MariaDB 10 and Beyond
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
 
RocksDB Performance and Reliability Practices
RocksDB Performance and Reliability PracticesRocksDB Performance and Reliability Practices
RocksDB Performance and Reliability Practices
 
(DAT201) Introduction to Amazon Redshift
(DAT201) Introduction to Amazon Redshift(DAT201) Introduction to Amazon Redshift
(DAT201) Introduction to Amazon Redshift
 
Large volume data analysis on the Typesafe Reactive Platform - Big Data Scala...
Large volume data analysis on the Typesafe Reactive Platform - Big Data Scala...Large volume data analysis on the Typesafe Reactive Platform - Big Data Scala...
Large volume data analysis on the Typesafe Reactive Platform - Big Data Scala...
 
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
 

More from MariaDB plc

More from MariaDB plc (20)

MariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - MaxScale 23.02.xMariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - MaxScale 23.02.x
 
MariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - NewpharmaMariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - Newpharma
 
MariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - CloudMariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - Cloud
 
MariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - MariaDB EnterpriseMariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - MariaDB Enterprise
 
MariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - Performance OptimizationMariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - Performance Optimization
 
MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - MaxScale MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - MaxScale
 
MariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - novadys presentationMariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - novadys presentation
 
MariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Paris Workshop 2023 - DARVA presentationMariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Paris Workshop 2023 - DARVA presentation
 
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 SkySQL Autonome Skalierung, Observability, Cloud-Backup
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-BackupMariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
 
Einführung : MariaDB Tech und Business Update Hamburg 2023
Einführung : MariaDB Tech und Business Update Hamburg 2023Einführung : MariaDB Tech und Business Update Hamburg 2023
Einführung : MariaDB Tech und Business Update Hamburg 2023
 
Hochverfügbarkeitslösungen mit MariaDB
Hochverfügbarkeitslösungen mit MariaDBHochverfügbarkeitslösungen mit MariaDB
Hochverfügbarkeitslösungen mit MariaDB
 
Die Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise ServerDie Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise Server
 
Global Data Replication with Galera for Ansell Guardian®
Global Data Replication with Galera for Ansell Guardian®Global Data Replication with Galera for Ansell Guardian®
Global Data Replication with Galera for Ansell Guardian®
 
Introducing workload analysis
Introducing workload analysisIntroducing workload analysis
Introducing workload analysis
 
What’s new in Galera 4
What’s new in Galera 4What’s new in Galera 4
What’s new in Galera 4
 
Beyond the basics: advanced SQL with MariaDB
Beyond the basics: advanced SQL with MariaDBBeyond the basics: advanced SQL with MariaDB
Beyond the basics: advanced SQL with MariaDB
 
Inside CynosDB: MariaDB optimized for the cloud at Tencent
Inside CynosDB: MariaDB optimized for the cloud at TencentInside CynosDB: MariaDB optimized for the cloud at Tencent
Inside CynosDB: MariaDB optimized for the cloud at Tencent
 
Migrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at FacebookMigrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at Facebook
 
How THINQ runs both transactions and analytics at scale
How THINQ runs both transactions and analytics at scaleHow THINQ runs both transactions and analytics at scale
How THINQ runs both transactions and analytics at scale
 

Recently uploaded

Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
only4webmaster01
 

Recently uploaded (20)

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 

What to expect from MariaDB Platform X5, part 2

  • 1. What to expect from MariaDB Platform X5 (Part 2) Todd Stoffel Product Manager
  • 3. What is MaxScale? ● Automatic failover ● Transaction replay ● Schema sharding ● Causal reads ● Query blocking ○ Database firewall ● Data masking ● Denial-of-service protection ○ Result limiting Database proxy ●Offload replication from the primary database ●Supports a very large number of read replicas Replication server
  • 4. MariaDB MaxScale: New Features in 2.5 ● New Graphic User Interface (Alternative to MaxCtrl) ● New and Improved Binlog Router ● Stream Binlogs (as JSON) to Kafka Broker ●Cooperative Monitoring and Locking (New HA Solution) ●Distributed Cache between MaxScale Servers (i.e. Redis, Memcached) ●Columnstore Orchestration
  • 6. New Binlog Router Allows MaxScale to serve replication traffic to any number of slaves while removing that load from the true master ● Completely re-written ● More efficient and performant ● Heartbeat and burst interval configured automatically
  • 7. Stream Binlogs (as JSON) to Kafka Broker MariaDB MaxScale JSON Conversion Kafka App ColumnStore
  • 8. MaxScale 1 Active Legend Normal Traffic MariaDB MaxScale 2 Active Redundant Traffic App + Connector App + Connector App + Connector App + Connector App + Connector MariaDB MariaDB Cooperative Monitoring (v. 2.5) Cooperative Monitoring and Locking
  • 9. Distributed Cache between MaxScale Servers MaxScale 1 MaxScale 2 OR
  • 10. Columnstore Orchestration VIA API MaxScale Columnstore Primary Columnstore Replica 1 Columnstore Replica 2 Legend Normal Traffic S3 API dbroot1 dbroot2 dbroot3
  • 11. Columnstore Orchestration VIA API MaxScale Columnstore Primary Columnstore Replica 1 Columnstore Replica 2 Legend Normal Traffic S3 API dbroot1 dbroot2 dbroot3
  • 12. Columnstore Orchestration VIA API MaxScale Columnstore Primary Columnstore Replica 1 Columnstore Replica 2 Legend Normal Traffic S3 API dbroot1 dbroot2 dbroot3
  • 13. Columnstore Orchestration VIA API MaxScale Columnstore Primary Columnstore Replica 1 Columnstore Replica 2 Legend Normal Traffic S3 API dbroot2 dbroot3dbroot1
  • 14. Columnstore Orchestration VIA API MaxScale Columnstore Primary Columnstore Replica 1 Columnstore Replica 2 Legend Normal Traffic S3 API dbroot2 dbroot3dbroot1
  • 15. Columnstore Orchestration VIA API MaxScale Columnstore Primary Columnstore Primary Columnstore Replica 2 Legend Normal Traffic S3 API dbroot2 dbroot3dbroot1
  • 17. THE PROBLEM OF BIG DATA The analytic workload is not too complex (compared to scientific work)... … BUT AS DATA GROWS, PERFORMANCE DEGRADES MERELY BECAUSE OF ITS SIZE Computers are not designed to scale well at the hardware level… … SO SCALING NEEDS TO BE DONE AT THE SOFTWARE/ ALGORITHM LEVEL
  • 18. WHAT IS MARIADB COLUMNSTORE? ● Distributed and columnar storage for analytics ○ Stores data by column rather than row (file per column) ○ Stores data on separate, dedicated storage nodes ○ Scale out by adding more storage nodes ○ Can use GlusterFS or S3 for high availability ● Compression: up to 90%
  • 19. ● High performance storage engine ● Fully compatible with standard SQL ● Easier big data enterprise analytics ○ Single interface for OLTP and analytics ○ Easy to integrate with third-party tools ● Fast import of data (cpimport), ● Direct injection of data (bypassing SQL layer) ○ No need for indexes and views Features ● Powerful in analytics (Star/Snowflake schemas) ● Scalability (just adding a new node(PM) to the cluster and no data distribution is required) ● Concurrency, ● File level backup in real-time ● Good compression -> low disk space usage ● Faster, more efficient queries ○ Distributed parallel processing WHY USE MARIADB COLUMNSTORE?
  • 20. ROW-ORIENTED VERSUS COLUMN-ORIENTED ROW-ORIENTED ● Rows stored sequentially in a file ● Scans through every record row by row COLUMN-ORIENTED ● Each column is stored in a separate file ● Scans only the relevant column ID FNAME LNAME STATE ZIP PHONE AGE GENDER 1 Bugs Bunny NY 11217 (718) 938-3235 34 M 2 Yosemite Sam CA 95389 (209) 375-6572 52 M 3 Daffy Duck NY 10013 (212) 227-1810 35 M 4 Elmer Fudd ME 04578 (207) 882-7323 43 M 5 Witch Hazel MA 01970 (978) 744-0991 57 F ID FNAME LNAME STATE ZIP PHONE AGE GENDER 1 Bugs Bunny NY 11217 (718) 938-3235 34 M 2 Yosemite Sam CA 95389 (209) 375-6572 52 M 3 Daffy Duck NY 10013 (212) 227-1810 35 M 4 Elmer Fudd ME 04578 (207) 882-7323 43 M 5 Witch Hazel MA 01970 (978) 744-0991 57 F > SELECT Fname FROM TABLE1 WHERE State = ‘NY’;
  • 21. Storage Architecture Reduced I/O High Performance Query Processing ● Only touch column files that are in Filter, Projection, Group By, and Join Conditions ● Eliminate Disk Block touches to Partitions Outside Filter and Join Conditions Extent 1: ShipDate: 2016-01-12 - 2016-03-05 Extent 2: ShipDate: 2016-03-05 - 2016-09-23 Extent 3: ShipDate: 2016-09-24 - 2017-01-06 > SELECT item, SUM(qty) FROM orders WHERE ship_date BETWEEN '2016-01-01' AND '2016-01-31' GROUP BY item Horizontal Partition: 8 Million Rows Extent 2 Horizontal Partition: 8 Million Rows Extent 3 Horizontal Partition: 8 Million Rows Extent 1 id order_id Line item qty price supplier ship_date mode 1 1 1 Laptop 5 1000 Dell 2016-01-12 G 2 1 2 Monitor 5 200 LG 2016-01-13 G 3 2 1 Mouse 1 20 Logitech 2016-02-05 M 4 3 1 Laptop 3 1600 Apple 2016-01-31 P ... ... ... ... ... ... ... ... ... 8M 2016-03-05 8M+1 2016-03-05 ... ... ... ... ... ... ... ... ... 16M 2016-09-23 16M+1 2016-09-24 ... ... ... ... ... ... ... ... ... 24M 2017-01-06 ELIMINATED PARTITION ELIMINATED PARTITION
  • 22. Sample Two Node ColumnStore Cluster App BI MariaDB w/ ColumnStore MaxScale Legend Normal Traffic InnoDB BinLog Replication MariaDB w/ ColumnStore Node 1 Node 2 ColumnStore Traffic
  • 23. New Features in 1.5 ● New API (Replaces OAM) ● PowerBI Direct Query Connector ● Improved Collation and Character Sets ● Improved Write Cache (100x faster) Phase 1 (Summer 2020) ● Faster Replication From Innodb ● Sequences ● Restart of Broken LDI (Checkpoints) Phase 3 (Winter 2020) ● Multinode in SkySQL ● Wider Extents ● Extended Oracle Mode ● Dec(38) Phase 2 (Fall 2020) ● Extent Elimination for DOUBLE ● Improved redistributedata ● Dynamic Columns Phase 4 (Spring 2021)
  • 25. NEW INSTALL PROCEDURE [centos@localhost ~]$ wget https://dlm.mariadb.com/enterprise-release-helpers/mariadb_es_repo_setup [centos@localhost ~]$ chmod +x mariadb_es_repo_setup [centos@localhost ~]$ mariadb_es_repo_setup --token=<YOUR_TOKEN_HERE> --apply [centos@localhost ~]$ yum -y install MariaDB-server MariaDB-columnstore-engine [centos@localhost ~]$ systemctl enable mariadb-columnstore [centos@localhost ~]$ systemctl start mariadb-columnstore Before starting Columnstore, you might want to configure StorageManager and/or other Columnstore variables. We will discuss later in this presentation.
  • 27. Configure Columnstore We provide a couple Columnstore.xml utilities. mcsGetConfig -a Will show the current Columnstore.xml settings. To change a variable, run: mcsSetConfig <group> <parameter> <value> Example: mcsSetConfig CrossEngineSupport User “myuser” Note: A restart of Columnstore is required.
  • 29. Redundant File System (S3) App BI MariaDB w/ ColumnStore MaxScale Legend Normal Traffic InnoDB BinLog Replication MariaDB w/ ColumnStore ColumnStore Storage Layer Node 1 Node 2
  • 30. BLOCK VS OBJECT STORAGE COST
  • 32. To Configure Storage Manager Edit this file /etc/columnstore/storagemanager.cnf: [ObjectStorage] … service = S3 … [S3] bucket = yourbucketname endpoint = s3.amazonaws.com aws_access_key_id = <youraccesskeyid> aws_secret_access_key= <yoursecretkey>