SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
How columnar databases support
modern analytics
Shane Johnson
Senior Director of Product Marketing
Introducing MariaDB AX
How columnar databases
support modern analytics
MariaDB Server
InnoDB
MariaDB TX MariaDB AX
Optimized for OLTP
Row-based storage
Optimized for OLAP
Columnar storage
MariaDB AX and columnar database use cases
– agenda –
MariaDB AX
Introduction
Architecture
Use cases
Financial services
Healthcare
Telecommunications
Digital advertising
A database platform for
modern analytics and data
warehousing.
MariaDB AX and columnar database use cases
– introduction –
Distributed data
Columnar storage
Parallel processing
Data adapters
Connectors (Spark & Kafka)
Open source
Standard SQL
MariaDB AX architecture
How columnar databases
support modern analytics
MariaDB Server
InnoDB
customer month year spend
1 01 2018 100.00
2 02 2018 50.00
3 03 2018 75.00
10000000 03 2018 75.00
MariaDB Server
InnoDB
customer month year spend
1 01 2018 100.00
2 02 2018 50.00
3 03 2018 75.00
10000000 03 2018 75.00
SELECT AVG(spend)
FROM tbl_purchases
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
customer month year spend
1 01 2018 100.00
2 02 2018 50.00
3 03 2018 75.00
10000000 03 2018 75.00
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
customer month year spend
1 01 2018 100.00
2 02 2018 50.00
3 03 2018 75.00
10000000 03 2018 75.00
SELECT AVG(spend)
FROM tbl_purchases
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
customer month year spend
1 01 2018 100.00
2 02 2018 50.00
3 03 2018 75.00
10000000 03 2018 75.00
1. high compression (65-95%)
2. supports spare columns (NULL)
3. supports many columns
4. no need for indexes
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
customer month year spend
1 01 2018 100.00
2 02 2018 50.00
3 03 2018 75.00
10000000 03 2018 75.00
1. columns stored as segments (file)
2. segments have extents (logical)
3. extents have 8 million rows
Performance Module (PM)
User Module (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
S1 (UM + PM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
S1 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
S2 (PM)
Rows 1 to 300,000
S4 (PM)S2 (PM)
S1 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
S3 (PM)
ColumnStore
Storage
ColumnStore
Storage
Rows 1 to 100,000 Rows 100,001 to 200,000 Rows 200,001 to 300,000
S4 (PM)S2 (PM)
S1 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
S3 (PM)
ColumnStore
Storage
ColumnStore
Storage
T1: 00,001 to 30,000
T2: 30,001 to 60,000
T4: 100,001 to 130,000
T5: 130,001 to 160,000
T7: 200,001 to 230,000
T8: 230,001 to 260,000
S6 (PM)S4 (PM)
S2 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
S5 (PM)
ColumnStore
Storage
S1 (UM)
MariaDB Server
InnoDB
ColumnStore
S3 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
Query
throughput
Query
latency
S2 (PM)
S1 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
Storage
SQL
S4 (PM)
ColumnStore
Storage
S6 (PM)
ColumnStore
Storage
S1 (UM)
S2 (PM)
ColumnStore
Storage
Import (CLI)
S4 (PM)
ColumnStore
Storage
S6 (PM)
ColumnStore
Storage
File
S2 (PM)
ColumnStore
Storage
S4 (PM)
ColumnStore
Storage
S6 (PM)
ColumnStore
Storage
Import (CLI)
File (2/3)
Import (CLI)
File (1/3)
Import (CLI)
File (3/3)
Application/Service/Script
S2 (PM)
ColumnStore
Storage
Bulk data
adapter
S4 (PM)
ColumnStore
Storage
S6 (PM)
ColumnStore
Storage
Spark job/task
S2 (PM)
ColumnStore
Storage
Spark
Connector
S4 (PM)
ColumnStore
Storage
S6 (PM)
ColumnStore
Storage
Bulk adapters
S1 (UM)
MariaDB Server
InnoDB
ColumnStore
ColumnStore
C
Java
Python
Stream adapters
Kafka
MaxScale CDCSpark
Storage
SQL
Import (CSV)S2 (PM)
MariaDB AX
customer use cases
How columnar databases
support modern analytics
MariaDB AX and columnar database use cases
– financial services –
Drivers
Become customer-centric
Facilitate regulatory compliance
Create competitive advantages
Goals
Improve customer satisfaction
Mitigate financial risks
Predict market changes
Use cases
Fraud detection: identify patterns + detect anomalies in financial transactions
Compliance archiving: store financial trade history for long-term retention
Investment forecasting: analyze financial markets + securities to predict ROI
MariaDB AX and columnar database use cases
– OTC Markets Group –
Data
10TB of rolling data (5 years)
10,000 U.S. and global securities
100,000 trades
24 million quotes
Use cases
Subscribers analyze quote and trading
data
Regulatory agencies build compliance
reports on demand
MariaDB AX and columnar database use cases
– healthcare –
Drivers
Digital transformation
Electronic health records (EHRs)
Value-base care (VBC)
Goals
Improved population health
Better patient experiences
Reduced cost of care
Use cases
Population health mgt: analyze claims/surveys to recommend interventins
Evidence-based medicine: improve diagnostic accuracy by analyzing EHRs
Precision medicine: identify targeted treatments by analyzing genomes
MariaDB AX and columnar database use cases
– Institute for Health Metrics and Evaluation –
Data
30TB of data
100 billion data points
Multi-billion row tables
Use cases
Enable the public to analyze global
health population data via online data
visualization tools
MariaDB AX and columnar database use cases
– telecommunications –
Drivers
Improve sales, marketing and
operational efficiency
Goals
High customer retention
Better network optimizations
New services and revenue
Use cases
Churn prevention: analyze customer plans/usage to create retention programs
Cross-selling: identify opportunities by analyzing call detail records (CDRs)
Network optimization: analyze traffic/cell tower data to optimize capacity
MariaDB AX and columnar database use cases
– Pinger, Inc. –
About
30 million texts
3 million phone calls
1.5 billions logs a day
24 months’ worth of data
Use cases
To support customer behavioural
analysis based on historical data and
usage
MariaDB AX and columnar database use cases
– digital advertising –
Drivers
Granularity of data
Demographic and behavioral
Social and location
Goals
Deliver the right ad to the right person at
the right time, in the right location and
through the right medium
Use cases
Audience segmentation: improve ad relevance via fine-grained visitor profiles
Ad placement: choose where to show ads based on click and conversion data
Real-time bidding: analyze big request/response history to optimize prices
MariaDB AX and columnar database use cases
– digital advertising vendor –
About
300 million impressions a month
70 million rows a day
60TB of uncompressed data
Use cases
Enable customers to create a custom
report on up to 30 columns on
demand
How columnar databases
support modern analytics
Questions?
Thank you

Contenu connexe

Similaire à How Columnar Databases Support Modern Analytics

Similaire à How Columnar Databases Support Modern Analytics (20)

Data Con LA 2019 - Hybrid Transactional Analytical Processing (HTAP) with Mar...
Data Con LA 2019 - Hybrid Transactional Analytical Processing (HTAP) with Mar...Data Con LA 2019 - Hybrid Transactional Analytical Processing (HTAP) with Mar...
Data Con LA 2019 - Hybrid Transactional Analytical Processing (HTAP) with Mar...
 
Exploring modern analytics use cases
Exploring modern analytics use casesExploring modern analytics use cases
Exploring modern analytics use cases
 
Improving Transactional Applications with Analytics
Improving Transactional Applications with AnalyticsImproving Transactional Applications with Analytics
Improving Transactional Applications with Analytics
 
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
 
[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...
 
Welcome: MariaDB today and our vision for the future
Welcome: MariaDB today and our vision for the futureWelcome: MariaDB today and our vision for the future
Welcome: MariaDB today and our vision for the future
 
What's new in MariaDB AX webinar
What's new in MariaDB AX webinarWhat's new in MariaDB AX webinar
What's new in MariaDB AX webinar
 
Big Data Analytics with MariaDB ColumnStore
Big Data Analytics with MariaDB ColumnStoreBig Data Analytics with MariaDB ColumnStore
Big Data Analytics with MariaDB ColumnStore
 
MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionMLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
 
04 2017 emea_roadshowmilan_mariadb columnstore
04 2017 emea_roadshowmilan_mariadb columnstore04 2017 emea_roadshowmilan_mariadb columnstore
04 2017 emea_roadshowmilan_mariadb columnstore
 
Introduction of MariaDB AX / TX
Introduction of MariaDB AX / TXIntroduction of MariaDB AX / TX
Introduction of MariaDB AX / TX
 
Transactional and Analytics together: MariaDB and ColumnStore
Transactional and Analytics together: MariaDB and ColumnStoreTransactional and Analytics together: MariaDB and ColumnStore
Transactional and Analytics together: MariaDB and ColumnStore
 
M|18 What's New in the MariaDB AX Platform
M|18 What's New in the MariaDB AX PlatformM|18 What's New in the MariaDB AX Platform
M|18 What's New in the MariaDB AX Platform
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
Delivering fast, powerful and scalable analytics
Delivering fast, powerful and scalable analyticsDelivering fast, powerful and scalable analytics
Delivering fast, powerful and scalable analytics
 
M|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX PlatformM|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX Platform
 
When Open Source Meets the Enterprise
When Open Source Meets the EnterpriseWhen Open Source Meets the Enterprise
When Open Source Meets the Enterprise
 
Deploying your Data Warehouse on AWS
Deploying your Data Warehouse on AWSDeploying your Data Warehouse on AWS
Deploying your Data Warehouse on AWS
 
Managing a 14 TB reporting datawarehouse with postgresql
Managing a 14 TB reporting datawarehouse with postgresql Managing a 14 TB reporting datawarehouse with postgresql
Managing a 14 TB reporting datawarehouse with postgresql
 

Plus de DATAVERSITY

The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
DATAVERSITY
 
Data Strategy Best Practices
Data Strategy Best PracticesData Strategy Best Practices
Data Strategy Best Practices
DATAVERSITY
 

Plus de DATAVERSITY (20)

Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
Architecture, Products, and Total Cost of Ownership of the Leading Machine Le...
 
Data at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and GovernanceData at the Speed of Business with Data Mastering and Governance
Data at the Speed of Business with Data Mastering and Governance
 
Exploring Levels of Data Literacy
Exploring Levels of Data LiteracyExploring Levels of Data Literacy
Exploring Levels of Data Literacy
 
Building a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business GoalsBuilding a Data Strategy – Practical Steps for Aligning with Business Goals
Building a Data Strategy – Practical Steps for Aligning with Business Goals
 
Make Data Work for You
Make Data Work for YouMake Data Work for You
Make Data Work for You
 
Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?Data Catalogs Are the Answer – What is the Question?
Data Catalogs Are the Answer – What is the Question?
 
Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?Data Catalogs Are the Answer – What Is the Question?
Data Catalogs Are the Answer – What Is the Question?
 
Data Modeling Fundamentals
Data Modeling FundamentalsData Modeling Fundamentals
Data Modeling Fundamentals
 
Showing ROI for Your Analytic Project
Showing ROI for Your Analytic ProjectShowing ROI for Your Analytic Project
Showing ROI for Your Analytic Project
 
How a Semantic Layer Makes Data Mesh Work at Scale
How a Semantic Layer Makes  Data Mesh Work at ScaleHow a Semantic Layer Makes  Data Mesh Work at Scale
How a Semantic Layer Makes Data Mesh Work at Scale
 
Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?Is Enterprise Data Literacy Possible?
Is Enterprise Data Literacy Possible?
 
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
The Data Trifecta – Privacy, Security & Governance Race from Reactivity to Re...
 
Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?Emerging Trends in Data Architecture – What’s the Next Big Thing?
Emerging Trends in Data Architecture – What’s the Next Big Thing?
 
Data Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and ForwardsData Governance Trends - A Look Backwards and Forwards
Data Governance Trends - A Look Backwards and Forwards
 
Data Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement TodayData Governance Trends and Best Practices To Implement Today
Data Governance Trends and Best Practices To Implement Today
 
2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics2023 Trends in Enterprise Analytics
2023 Trends in Enterprise Analytics
 
Data Strategy Best Practices
Data Strategy Best PracticesData Strategy Best Practices
Data Strategy Best Practices
 
Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?Who Should Own Data Governance – IT or Business?
Who Should Own Data Governance – IT or Business?
 
Data Management Best Practices
Data Management Best PracticesData Management Best Practices
Data Management Best Practices
 
MLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive AdvantageMLOps – Applying DevOps to Competitive Advantage
MLOps – Applying DevOps to Competitive Advantage
 

Dernier

The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
Nauman Safdar
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 

Dernier (20)

Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
Cracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' SlideshareCracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' Slideshare
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Mckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for ViewingMckinsey foundation level Handbook for Viewing
Mckinsey foundation level Handbook for Viewing
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Falcon Invoice Discounting: Aviate Your Cash Flow Challenges
Falcon Invoice Discounting: Aviate Your Cash Flow ChallengesFalcon Invoice Discounting: Aviate Your Cash Flow Challenges
Falcon Invoice Discounting: Aviate Your Cash Flow Challenges
 
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdfTVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 Updated
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Rice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna ExportsRice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna Exports
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
Buy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From SeosmmearthBuy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From Seosmmearth
 
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...joint cost.pptx  COST ACCOUNTING  Sixteenth Edition                          ...
joint cost.pptx COST ACCOUNTING Sixteenth Edition ...
 

How Columnar Databases Support Modern Analytics

  • 1. How columnar databases support modern analytics Shane Johnson Senior Director of Product Marketing
  • 2. Introducing MariaDB AX How columnar databases support modern analytics
  • 3. MariaDB Server InnoDB MariaDB TX MariaDB AX Optimized for OLTP Row-based storage Optimized for OLAP Columnar storage
  • 4. MariaDB AX and columnar database use cases – agenda – MariaDB AX Introduction Architecture Use cases Financial services Healthcare Telecommunications Digital advertising
  • 5. A database platform for modern analytics and data warehousing. MariaDB AX and columnar database use cases – introduction – Distributed data Columnar storage Parallel processing Data adapters Connectors (Spark & Kafka) Open source Standard SQL
  • 6. MariaDB AX architecture How columnar databases support modern analytics
  • 7. MariaDB Server InnoDB customer month year spend 1 01 2018 100.00 2 02 2018 50.00 3 03 2018 75.00 10000000 03 2018 75.00
  • 8. MariaDB Server InnoDB customer month year spend 1 01 2018 100.00 2 02 2018 50.00 3 03 2018 75.00 10000000 03 2018 75.00 SELECT AVG(spend) FROM tbl_purchases
  • 9. MariaDB Server InnoDB ColumnStore ColumnStore Storage customer month year spend 1 01 2018 100.00 2 02 2018 50.00 3 03 2018 75.00 10000000 03 2018 75.00
  • 10. MariaDB Server InnoDB ColumnStore ColumnStore Storage customer month year spend 1 01 2018 100.00 2 02 2018 50.00 3 03 2018 75.00 10000000 03 2018 75.00 SELECT AVG(spend) FROM tbl_purchases
  • 11. MariaDB Server InnoDB ColumnStore ColumnStore Storage customer month year spend 1 01 2018 100.00 2 02 2018 50.00 3 03 2018 75.00 10000000 03 2018 75.00 1. high compression (65-95%) 2. supports spare columns (NULL) 3. supports many columns 4. no need for indexes
  • 12. MariaDB Server InnoDB ColumnStore ColumnStore Storage customer month year spend 1 01 2018 100.00 2 02 2018 50.00 3 03 2018 75.00 10000000 03 2018 75.00 1. columns stored as segments (file) 2. segments have extents (logical) 3. extents have 8 million rows
  • 13.
  • 14. Performance Module (PM) User Module (UM) MariaDB Server InnoDB ColumnStore ColumnStore Storage
  • 15. S1 (UM + PM) MariaDB Server InnoDB ColumnStore ColumnStore Storage
  • 17. S4 (PM)S2 (PM) S1 (UM) MariaDB Server InnoDB ColumnStore ColumnStore Storage S3 (PM) ColumnStore Storage ColumnStore Storage Rows 1 to 100,000 Rows 100,001 to 200,000 Rows 200,001 to 300,000
  • 18. S4 (PM)S2 (PM) S1 (UM) MariaDB Server InnoDB ColumnStore ColumnStore Storage S3 (PM) ColumnStore Storage ColumnStore Storage T1: 00,001 to 30,000 T2: 30,001 to 60,000 T4: 100,001 to 130,000 T5: 130,001 to 160,000 T7: 200,001 to 230,000 T8: 230,001 to 260,000
  • 19. S6 (PM)S4 (PM) S2 (UM) MariaDB Server InnoDB ColumnStore ColumnStore Storage S5 (PM) ColumnStore Storage S1 (UM) MariaDB Server InnoDB ColumnStore S3 (UM) MariaDB Server InnoDB ColumnStore ColumnStore Storage Query throughput Query latency
  • 20. S2 (PM) S1 (UM) MariaDB Server InnoDB ColumnStore ColumnStore Storage SQL S4 (PM) ColumnStore Storage S6 (PM) ColumnStore Storage
  • 21. S1 (UM) S2 (PM) ColumnStore Storage Import (CLI) S4 (PM) ColumnStore Storage S6 (PM) ColumnStore Storage File
  • 22. S2 (PM) ColumnStore Storage S4 (PM) ColumnStore Storage S6 (PM) ColumnStore Storage Import (CLI) File (2/3) Import (CLI) File (1/3) Import (CLI) File (3/3)
  • 23. Application/Service/Script S2 (PM) ColumnStore Storage Bulk data adapter S4 (PM) ColumnStore Storage S6 (PM) ColumnStore Storage
  • 24. Spark job/task S2 (PM) ColumnStore Storage Spark Connector S4 (PM) ColumnStore Storage S6 (PM) ColumnStore Storage
  • 25. Bulk adapters S1 (UM) MariaDB Server InnoDB ColumnStore ColumnStore C Java Python Stream adapters Kafka MaxScale CDCSpark Storage SQL Import (CSV)S2 (PM)
  • 26. MariaDB AX customer use cases How columnar databases support modern analytics
  • 27. MariaDB AX and columnar database use cases – financial services – Drivers Become customer-centric Facilitate regulatory compliance Create competitive advantages Goals Improve customer satisfaction Mitigate financial risks Predict market changes Use cases Fraud detection: identify patterns + detect anomalies in financial transactions Compliance archiving: store financial trade history for long-term retention Investment forecasting: analyze financial markets + securities to predict ROI
  • 28. MariaDB AX and columnar database use cases – OTC Markets Group – Data 10TB of rolling data (5 years) 10,000 U.S. and global securities 100,000 trades 24 million quotes Use cases Subscribers analyze quote and trading data Regulatory agencies build compliance reports on demand
  • 29. MariaDB AX and columnar database use cases – healthcare – Drivers Digital transformation Electronic health records (EHRs) Value-base care (VBC) Goals Improved population health Better patient experiences Reduced cost of care Use cases Population health mgt: analyze claims/surveys to recommend interventins Evidence-based medicine: improve diagnostic accuracy by analyzing EHRs Precision medicine: identify targeted treatments by analyzing genomes
  • 30. MariaDB AX and columnar database use cases – Institute for Health Metrics and Evaluation – Data 30TB of data 100 billion data points Multi-billion row tables Use cases Enable the public to analyze global health population data via online data visualization tools
  • 31.
  • 32. MariaDB AX and columnar database use cases – telecommunications – Drivers Improve sales, marketing and operational efficiency Goals High customer retention Better network optimizations New services and revenue Use cases Churn prevention: analyze customer plans/usage to create retention programs Cross-selling: identify opportunities by analyzing call detail records (CDRs) Network optimization: analyze traffic/cell tower data to optimize capacity
  • 33. MariaDB AX and columnar database use cases – Pinger, Inc. – About 30 million texts 3 million phone calls 1.5 billions logs a day 24 months’ worth of data Use cases To support customer behavioural analysis based on historical data and usage
  • 34. MariaDB AX and columnar database use cases – digital advertising – Drivers Granularity of data Demographic and behavioral Social and location Goals Deliver the right ad to the right person at the right time, in the right location and through the right medium Use cases Audience segmentation: improve ad relevance via fine-grained visitor profiles Ad placement: choose where to show ads based on click and conversion data Real-time bidding: analyze big request/response history to optimize prices
  • 35. MariaDB AX and columnar database use cases – digital advertising vendor – About 300 million impressions a month 70 million rows a day 60TB of uncompressed data Use cases Enable customers to create a custom report on up to 30 columns on demand
  • 36. How columnar databases support modern analytics Questions?