V1.0
A prescription for a healthy
database evolution
Newpharma
and
MariaDB
By Razvan Vlasin, CIO Newpharma Group / September 2023
V1.0
Major pan-European e-commerce player
Belgium, France, Netherlands, Swiss, Germany, Austria
1.700 brands and 45.000 active products
V1.0
#1 e-pharmacy in France
Meilleur E-commerçant de
l'Année 2023
V1.0
CLOUD DATA & ANALYTICS
3rd PARTY INTEGRATION WITH TIER 1 SERVICES
LOGISTICS / MARKETING / PRICING
RESPONSIVE WEB SHOP ENGINE
4.024.172 lines of programming code
2.251.805 lines of static code
230 repositories in git
325 libraries
TECHNOLOGY
OUR
V1.0
ENTERPRISE
V1.0
server, cca.2018
• Increased traffic
• Increased access to
data from multiple
sources
V1.0
V1.0
Does business accept downtime ?
Do I care if customer notice ?
Do I require no loss of data ?
Do I need automatic fail over ?
V1.0
Galera benefit over a standard replication
Synchronous replication
Galera is behaving very well on scaling readings
Read and write to any node
Automatic node joining
V1.0
www.newpharma-development.ro
Load Balancing
Improved Failover/Switchover scenario
Casual reads
MaxScale
V1.0
100 000 000 euro turnover
V1.0
ENTERPRISE
V1.0
2020 - 2021
V1.0
ENTERPRISE
2022 - 2023
V1.0
Challenges when migrating
Adapt database to Galera Cluster
• Convert ISAM to InnoDB
• All Tables with Primary keys
• Large transactions affecting node performance
• Split transactions in smaller chunks to reduce the
writings under Galera cluster
V1.0
Transition to Enterprise
Consultancy In choosing the best architecture
MariaDB customer support access
Small team trained by MariaDB trainer
V1.0
Other MariaDB Use Cases
MariaDB ColumnStore used for a Machine learning project
to forecast the number of orders
System versioning for Slowly Changing Dimensions
MariaDB MyRocks used for operations logs
V1.0
Liberté, égalité, Maria DB !
V1.0
Thank you!

MariaDB Paris Workshop 2023 - Newpharma