SlideShare a Scribd company logo
SkySQL
MariaDB
CONNECT Storage Engine
Serge Frezefond
SkySQL Ab 2012 Confidential
SkySQL Ab 2012 Confidential
Goal of the CONNECT Storage Engine :
BI on various file formats
Most of the data in companies is in various
external datasources (many in non relational
database format) :
– Dbase, Firebird, SQlite
– csv,
– xml,
– stored per column...
– Microsoft Access & Excel
– Distributed mysql servers
Targeting BI data access on these formats.
Not targeted for OLTP
SkySQL Ab 2012 Confidential
Behind the scene
Traditional BI
Data is processed by an ETL
– Change in the data model(denormalization...)
Agregates are computed
– Need to be defined and maintained
Might need to move data out of RDBMS to
other kind of datastore
– OLAP, Collumn store, Hadoop/Hbase ...
Specific tools are used to query the data
IT is involved to maintain this machinery
SkySQL Ab 2012 Confidential
MariaDB CONNECT Storage Engine :
created by Olivier Bertrand
IBM database researcher
– Now retired, 50 years expertise programing
Very experienced on databases
– Worked on system-R, DB2, natural language
query ...
Discovered MySQL when looking for friendly
place to test new concepts.(2004)
– Decided to go open source
– Started to appreciate the MariaDB openess
and friendlyness
SkySQL Ab 2012 Confidential
How did the CONNECT Storage Engine
move to MariaDB?
Olivier met Monty creator of MySQL and MariaDB a
few years ago (2004 for other concepts)
SkySQL met Olivier and we start working together :
– First access to launchpad, go to linux, test,
Olivier start working with MariaDB team :
– Testing, bug fixes, security, test cases ...
SkySQL / MariaDB and Olivier agreed that is was
ready to be released and supported under GPL
– MariaDB flexibility ease integration
SkySQL Ab 2012 Confidential
The CONNECT Storage Engine
Uses the MySQL Plugin Architecture
A major differentiator of MySQL
Allow very specific datastore to interact with
the MySQL sql layer
Allow advanced interaction
– Specific Create Table parameters(MariaDB)
– Condition push down
Allow join with other storage engines
– InnoDB / MyISAM tables
SkySQL Ab 2012 Confidential
The CONNECT Storage Engine
implements advanced features
●
Support of external data sources :
–
Odbc, MySQL, WMI ...
●
Support multi files tables
●
Support Big File Table > 2G
●
Support virtual tables (DIR)
●
Add autocreate of tables :
–
The structure is discovered from the data
source
●
Use MariaDB create table new parameters
capability (avoid comments polution)
●
Support compressed tables
SkySQL Ab 2012 Confidential
The CONNECT Storage Engine
implements advanced features
●
Add indexing to files
– index optimized for read
●
Condition Push down
– Used with ODBC and MySQL to push condition
to the target database. Big perf gain.
●
Support MariaDB virtuals columns
●
Support of special columns :
– Rowid, fileid, tabid, servid
●
Muti tables table (like merge)
– Different structure, not myisam only, remotely
distributed tables
SkySQL Ab 2012 Confidential
CONNECT Storage Engine vs.
Federated(X) storage Engine
- support ODBC
– With muti files ODBC
- support access to MySQL table
- support the limit clause
SkySQL Ab 2012 Confidential
CONNECT Storage Engine
ODBC component
Allow to access to any datasource accessible
through ODBC.
– Excel
– Access
– Firebird
– SQLite
– SQL Server, Oracle, DB2
– ...
Possibility to do multifiles ODBC
– To query consolidated monthly excel datasheet
SkySQL Ab 2012 Confidential
The CONNECT Storage Engine
implements advanced features
Catalog table :
– For Example Describe for odbc table
– No need to do create table
– Access to data / column metadata
Memory file maping
– For file type table (not xml)
Table format .ini
SkySQL Ab 2012 Confidential
The CONNECT Storage Engine
implements advanced features
Multiple CONNECT tables can be created on the
same underlying file
– Indexes can be shared between tables
SkySQL Ab 2012 Confidential
Connect Storage Engine
VEC table / Column store
col1col1
col2col1
col3col2col1
row3row2row1
col3
col1
freefree
freefreefree
col3
free
-1 or per column file
- Indexes work
- Fixed size record
SkySQL Ab 2012 Confidential
Connect Storage Engine
Table List Table (// Merge)
col1col1 col2
col1 col2
col3
col3col1 col2
col3col1 col2
ODBC table
MySQL table
col4
Muti tables table (like merge)
– Different structure, not myisam
only, remotely distributed tables
SkySQL Ab 2012 Confidential
Connect Storage Engine vs.
MySQL Merge tables
Table list table :
- support non MyISAM tables
- no need to the exact same structure for table
- underlying tables can be remote
– Distributed architecture
SkySQL Ab 2012 Confidential
Importing /exporting MySQL data
in various formats
Importing file data into MySQL tables
– Here for example from an XML file :
• create table biblio select * from xsampall2;
Exporting data from MySQL
– Here for example we export to XML format :
create table handout engine=CONNECT table_type=XML
file_name='handout.htm' header=yes
option_list='name=TABLE,coltype=HTML,attribute=border=1;cellpadding=5'
select plugin_name handler, plugin_version version, plugin_author
author, plugin_description description, plugin_maturity maturity
from information_schema.plugins where plugin_type = 'STORAGE ENGINE';
SkySQL Ab 2012 Confidential
Where is the MariaDB Connect Storage
Engine available ?
●
It is 100 % open source
●
It is available on MariaDB launchpad
●
Open Bug database
●
Public Roadmap
●
Released test cases
●
Improvement request / worklog
SkySQL Ab 2012 Confidential
How you can help
Adopt it / Test it.
Bugs : report bugs / propose fixes
Documentation : help improve it
Sharing : test it, blog about it,
– Share your experience about interesting
usages.
SkySQL Ab 2012 Confidential
Conclusion
●
The MariaDB Connect Storage Engine :
●
Open MariaDB to BI and data analysis
●
Brings real value to MariaDB users
●
Illustrates openess of MariaDB community
●
Supported by SkySQL / MariaDB
SkySQL Ab 2012 Confidential
20
Thank You
Serge Frezefond
www.skysql.coml
www.facebook.com/skysql
www.linkedin.com/company/skysql
SkySQL Ab 2012 Confidential
Enhancements considered
for MariaDB connect storage engine
- parallel access to multitables table
-

More Related Content

What's hot (20)

PDF
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
Ivan Zoratti
 
PPS
Introduction to Mysql
Tushar Chauhan
 
PDF
Midwest PHP Presentation - New MSQL Features
Dave Stokes
 
PDF
MySQL For Oracle Developers
Ronald Bradford
 
PDF
MySQL NDB Cluster 8.0
Ted Wennmark
 
PDF
MySQL Storage Engines Landscape
Colin Charles
 
PDF
MySQL as a Document Store
Ted Wennmark
 
PPTX
MySQL database
lalit choudhary
 
PDF
Maria db 10 and the mariadb foundation(colin)
kayokogoto
 
PDF
When is Myrocks good? 2020 Webinar Series
Alkin Tezuysal
 
PPTX
Oracle mysql comparison
Arun Sharma
 
PDF
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Filipe Silva
 
PDF
MySQL Document Store for Modern Applications
Olivier DASINI
 
PPTX
Mysql ecosystem in 2019
Alkin Tezuysal
 
PDF
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Ted Wennmark
 
PDF
Breakthrough performance with MySQL Cluster (2012)
Frazer Clement
 
PPTX
MySQL 5.7 New Features for Developers
Zohar Elkayam
 
PDF
MySQL Cluster Schema management (2014)
Frazer Clement
 
PDF
Introduction to MariaDB
JongJin Lee
 
PDF
01 upgrade to my sql8
Ted Wennmark
 
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
Ivan Zoratti
 
Introduction to Mysql
Tushar Chauhan
 
Midwest PHP Presentation - New MSQL Features
Dave Stokes
 
MySQL For Oracle Developers
Ronald Bradford
 
MySQL NDB Cluster 8.0
Ted Wennmark
 
MySQL Storage Engines Landscape
Colin Charles
 
MySQL as a Document Store
Ted Wennmark
 
MySQL database
lalit choudhary
 
Maria db 10 and the mariadb foundation(colin)
kayokogoto
 
When is Myrocks good? 2020 Webinar Series
Alkin Tezuysal
 
Oracle mysql comparison
Arun Sharma
 
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Filipe Silva
 
MySQL Document Store for Modern Applications
Olivier DASINI
 
Mysql ecosystem in 2019
Alkin Tezuysal
 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Ted Wennmark
 
Breakthrough performance with MySQL Cluster (2012)
Frazer Clement
 
MySQL 5.7 New Features for Developers
Zohar Elkayam
 
MySQL Cluster Schema management (2014)
Frazer Clement
 
Introduction to MariaDB
JongJin Lee
 
01 upgrade to my sql8
Ted Wennmark
 

Similar to MariaDB CONNECT Storage Engine (20)

PDF
SkySQL Cloud MySQL MariaDB
lemugfr
 
PDF
2012 09 MariaDB Boston Meetup - MariaDB 是 Mysql 的替代者吗
YUCHENG HU
 
PPTX
The New MariaDB Offering: MariaDB 10, MaxScale and More
MariaDB Corporation
 
PDF
The New MariaDB Offering - MariaDB 10, MaxScale and more
MariaDB Corporation
 
PDF
MariaDB for the Enterprise
Great Wide Open
 
PDF
Introduction of MariaDB 2017 09
GOTO Satoru
 
PPTX
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB Corporation
 
PDF
MariaDB 10: A MySQL Replacement - HKOSC
Colin Charles
 
PPT
Mysql database
Arshikhan08
 
PDF
Les fonctionnalites mariadb
lemugfr
 
PDF
[db tech showcase OSS 2017] A23: Analytics with MariaDB ColumnStore by MariaD...
Insight Technology, Inc.
 
PDF
[db tech showcase OSS 2017] A25: Replacing Oracle Database at DBS Bank by Mar...
Insight Technology, Inc.
 
PDF
iloug2015.Mysql.for.oracle.dba.V2
Baruch Osoveskiy
 
PDF
MariaDB for the Enterprise
All Things Open
 
PDF
MariaDB - a MySQL Replacement #SELF2014
Colin Charles
 
PDF
04 2017 emea_roadshowmilan_mariadb columnstore
mlraviol
 
PDF
Why MariaDB?
Colin Charles
 
PDF
MySQL 8.0 Introduction to NoSQL + SQL
Manuel Contreras
 
PDF
SkySQL MariaDB 云数据组件
YUCHENG HU
 
PPTX
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Corporation
 
SkySQL Cloud MySQL MariaDB
lemugfr
 
2012 09 MariaDB Boston Meetup - MariaDB 是 Mysql 的替代者吗
YUCHENG HU
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
MariaDB Corporation
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
MariaDB Corporation
 
MariaDB for the Enterprise
Great Wide Open
 
Introduction of MariaDB 2017 09
GOTO Satoru
 
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB Corporation
 
MariaDB 10: A MySQL Replacement - HKOSC
Colin Charles
 
Mysql database
Arshikhan08
 
Les fonctionnalites mariadb
lemugfr
 
[db tech showcase OSS 2017] A23: Analytics with MariaDB ColumnStore by MariaD...
Insight Technology, Inc.
 
[db tech showcase OSS 2017] A25: Replacing Oracle Database at DBS Bank by Mar...
Insight Technology, Inc.
 
iloug2015.Mysql.for.oracle.dba.V2
Baruch Osoveskiy
 
MariaDB for the Enterprise
All Things Open
 
MariaDB - a MySQL Replacement #SELF2014
Colin Charles
 
04 2017 emea_roadshowmilan_mariadb columnstore
mlraviol
 
Why MariaDB?
Colin Charles
 
MySQL 8.0 Introduction to NoSQL + SQL
Manuel Contreras
 
SkySQL MariaDB 云数据组件
YUCHENG HU
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Corporation
 
Ad

Recently uploaded (20)

PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Digital Circuits, important subject in CS
contactparinay1
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Ad

MariaDB CONNECT Storage Engine

  • 1. SkySQL MariaDB CONNECT Storage Engine Serge Frezefond SkySQL Ab 2012 Confidential
  • 2. SkySQL Ab 2012 Confidential Goal of the CONNECT Storage Engine : BI on various file formats Most of the data in companies is in various external datasources (many in non relational database format) : – Dbase, Firebird, SQlite – csv, – xml, – stored per column... – Microsoft Access & Excel – Distributed mysql servers Targeting BI data access on these formats. Not targeted for OLTP
  • 3. SkySQL Ab 2012 Confidential Behind the scene Traditional BI Data is processed by an ETL – Change in the data model(denormalization...) Agregates are computed – Need to be defined and maintained Might need to move data out of RDBMS to other kind of datastore – OLAP, Collumn store, Hadoop/Hbase ... Specific tools are used to query the data IT is involved to maintain this machinery
  • 4. SkySQL Ab 2012 Confidential MariaDB CONNECT Storage Engine : created by Olivier Bertrand IBM database researcher – Now retired, 50 years expertise programing Very experienced on databases – Worked on system-R, DB2, natural language query ... Discovered MySQL when looking for friendly place to test new concepts.(2004) – Decided to go open source – Started to appreciate the MariaDB openess and friendlyness
  • 5. SkySQL Ab 2012 Confidential How did the CONNECT Storage Engine move to MariaDB? Olivier met Monty creator of MySQL and MariaDB a few years ago (2004 for other concepts) SkySQL met Olivier and we start working together : – First access to launchpad, go to linux, test, Olivier start working with MariaDB team : – Testing, bug fixes, security, test cases ... SkySQL / MariaDB and Olivier agreed that is was ready to be released and supported under GPL – MariaDB flexibility ease integration
  • 6. SkySQL Ab 2012 Confidential The CONNECT Storage Engine Uses the MySQL Plugin Architecture A major differentiator of MySQL Allow very specific datastore to interact with the MySQL sql layer Allow advanced interaction – Specific Create Table parameters(MariaDB) – Condition push down Allow join with other storage engines – InnoDB / MyISAM tables
  • 7. SkySQL Ab 2012 Confidential The CONNECT Storage Engine implements advanced features ● Support of external data sources : – Odbc, MySQL, WMI ... ● Support multi files tables ● Support Big File Table > 2G ● Support virtual tables (DIR) ● Add autocreate of tables : – The structure is discovered from the data source ● Use MariaDB create table new parameters capability (avoid comments polution) ● Support compressed tables
  • 8. SkySQL Ab 2012 Confidential The CONNECT Storage Engine implements advanced features ● Add indexing to files – index optimized for read ● Condition Push down – Used with ODBC and MySQL to push condition to the target database. Big perf gain. ● Support MariaDB virtuals columns ● Support of special columns : – Rowid, fileid, tabid, servid ● Muti tables table (like merge) – Different structure, not myisam only, remotely distributed tables
  • 9. SkySQL Ab 2012 Confidential CONNECT Storage Engine vs. Federated(X) storage Engine - support ODBC – With muti files ODBC - support access to MySQL table - support the limit clause
  • 10. SkySQL Ab 2012 Confidential CONNECT Storage Engine ODBC component Allow to access to any datasource accessible through ODBC. – Excel – Access – Firebird – SQLite – SQL Server, Oracle, DB2 – ... Possibility to do multifiles ODBC – To query consolidated monthly excel datasheet
  • 11. SkySQL Ab 2012 Confidential The CONNECT Storage Engine implements advanced features Catalog table : – For Example Describe for odbc table – No need to do create table – Access to data / column metadata Memory file maping – For file type table (not xml) Table format .ini
  • 12. SkySQL Ab 2012 Confidential The CONNECT Storage Engine implements advanced features Multiple CONNECT tables can be created on the same underlying file – Indexes can be shared between tables
  • 13. SkySQL Ab 2012 Confidential Connect Storage Engine VEC table / Column store col1col1 col2col1 col3col2col1 row3row2row1 col3 col1 freefree freefreefree col3 free -1 or per column file - Indexes work - Fixed size record
  • 14. SkySQL Ab 2012 Confidential Connect Storage Engine Table List Table (// Merge) col1col1 col2 col1 col2 col3 col3col1 col2 col3col1 col2 ODBC table MySQL table col4 Muti tables table (like merge) – Different structure, not myisam only, remotely distributed tables
  • 15. SkySQL Ab 2012 Confidential Connect Storage Engine vs. MySQL Merge tables Table list table : - support non MyISAM tables - no need to the exact same structure for table - underlying tables can be remote – Distributed architecture
  • 16. SkySQL Ab 2012 Confidential Importing /exporting MySQL data in various formats Importing file data into MySQL tables – Here for example from an XML file : • create table biblio select * from xsampall2; Exporting data from MySQL – Here for example we export to XML format : create table handout engine=CONNECT table_type=XML file_name='handout.htm' header=yes option_list='name=TABLE,coltype=HTML,attribute=border=1;cellpadding=5' select plugin_name handler, plugin_version version, plugin_author author, plugin_description description, plugin_maturity maturity from information_schema.plugins where plugin_type = 'STORAGE ENGINE';
  • 17. SkySQL Ab 2012 Confidential Where is the MariaDB Connect Storage Engine available ? ● It is 100 % open source ● It is available on MariaDB launchpad ● Open Bug database ● Public Roadmap ● Released test cases ● Improvement request / worklog
  • 18. SkySQL Ab 2012 Confidential How you can help Adopt it / Test it. Bugs : report bugs / propose fixes Documentation : help improve it Sharing : test it, blog about it, – Share your experience about interesting usages.
  • 19. SkySQL Ab 2012 Confidential Conclusion ● The MariaDB Connect Storage Engine : ● Open MariaDB to BI and data analysis ● Brings real value to MariaDB users ● Illustrates openess of MariaDB community ● Supported by SkySQL / MariaDB
  • 20. SkySQL Ab 2012 Confidential 20 Thank You Serge Frezefond www.skysql.coml www.facebook.com/skysql www.linkedin.com/company/skysql
  • 21. SkySQL Ab 2012 Confidential Enhancements considered for MariaDB connect storage engine - parallel access to multitables table -