Bootcamp MySQL HeatWave
Bootcamp MySQL HeatWave
Bootcamp MySQL HeatWave
Alexandre Fagundes
alexandre.af.fagundes@oracle.com
Cloud Architect, Oracle Latin America
MySQL: An extremely popular database
MySQL 51%
PostgreSQL 38%
MongoDB 27%
Redis 26%
SQLite 25%
Want to use multiple clouds MySQL HeatWave is available on OCI, AWS, Azure, and
in your data center
OLTP DB
Increased costs
OLAP Applications
Social, eCommerce, gaming, healthcare, fintech, IoT apps. Analytics and ML tools.
Queries Results
Database
Analytics Autopilot exports
OLTP In-database ML
No ETL duplication
Transactional
applications
Unmatched performance, at a
fraction of the cost
Analytics tools and InnoDB HeatWave
applications storage analytics Real-time analytics
engine cluster
Improved security
• High-fanout partitioning
• Machines & CPU cores can further process partitioned data in parallel
• Optimized for cache size and memory hierarchy of underlying hardware
• Retention Period
• When to Backup
• Full or Incremental
• Point-in-Time Recovery (only non-HA DB Systems)
• SLA 99.99%
• Automatic failover
• Zero Data Loss during failure event
• Option to manually switch-over
• Rolling upgrades during maintenance
When using Read Replicas a Load Balancer Endpoint is automatically provisioned in your DB System.
• Managed by the service
• Materializes as a Read-Only endpoint
• Round robins traffic across Read Replicas
• Manages Read Replica backends automatically
Social Voice
Devices
Object Store
Events
Sensors
1. System Setup
Run MySQL Autopilot on object store to determine cluster size and schema mapping
Execute DDLs generated by Autopilot
Amazon RDS
Redshift ML does NOT provide in-database ML; exports data to SageMaker via Amazon S3
OLTP Analytics
Applications Tools
Social
Real-time
Real-time ML
analytics on
recommendations
trends
ECommerce
FinTech
SaaS
• On-premises:
• Database management: provisioning, configuration, backup, HA, patching, security & more
• Operating system management: installation, patching, upgrades...
• Infrastructure management: purchase and maintenance of servers, storage
• Data center management: space, power, cooling, disaster recovery & more
High Availability
Read Replicas
Backup
Query Acceleration
HeatWave AutoML
HeatWave Lakehouse
Provision right
Analyze DB schemas/tables cluster size
MySQL
Guess a cluster size
Iterate
HeatWave
Nodes
Adaptive Sampling
Datasets Accuracy in memory prediction 0.01%
Error %
0.1%
TPCH 1024G 98.4%
TPCDS 1024G 96.9%
Cust A 98.3%
Sample Size
Cust B 96.9%
< 0.1% of data scanned for prediction
31 Copyright © 2024, Oracle and/or its affiliates
Auto provisioning with MySQL HeatWave Lakehouse
How to determine the right cluster size required for processing data in object store?
Shape: Shape:
MySQL 2.16 MySQL
Shape 4.32
Core Core Core Core Core Core
Heavy change Light
I/O I/O
InnoDB 16 GB InnoDB 32 GB Memory
Memory
100
80 1.75 minutes
Query time (seconds)
60 1.3 minutes
59 seconds
40
47 seconds
20
14 seconds 14 seconds
0
HeatWave HeatWave Snowflake Amazon Redshift Google Big Query Databricks
Lakehouse
• Data doesn’t leave AWS – saves egress cost, and avoids compliance approvals
• Easier migration from other databases (e.g., Amazon Aurora, Redshift, Snowflake)
Advanced security*
* Auto thread pooling and auto shape prediction in MySQL Autopilot as well as the MySQL HeatWave database firewall will be available soon on OCI.
• Collaborative support
https://www.oracle.com/cloud/azure/oracle-database-for-azure
Cross-region replication
• DB System to DB System
Live Migrations
• Minimize downtime
Hybrid deployments
• On-premises and other cloud vendors
• Disaster Recovery
• Capacity bursting
• HeatWave for Analytics, ML, Lakehouse