SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Mais procurados (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
 

Semelhante a What to expect from MariaDB Platform X5, part 2

Semelhante a 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
 

Mais de MariaDB plc

Mais de 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
 

Último

Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
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
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
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
 
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
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 

Último (20)

Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
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
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
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...
 
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...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
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...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 

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>