All Products
Search
Document Center

ApsaraDB RDS:DuckDB analytical primary instances

Last Updated:Apr 01, 2026

The DuckDB-based analytical primary instance runs complex analytical queries alongside transactional workloads in a single MySQL-compatible database. It embeds the DuckDB engine directly in the MySQL kernel, using columnar storage and vectorized execution to run analytical queries over 100x faster than the InnoDB engine—without a separate analytics cluster or ETL pipeline.

Use cases

  • Real-time reporting on live data: Run dashboards, aggregations, and ad hoc queries directly on live transactional data without affecting your OLTP workload.

  • Replacing a standalone analytics database: Eliminate a separate analytics system. The instance handles both workloads, and data written by transactions replicates to the columnar store via MySQL binlog, keeping analytical results current.

  • Cost-sensitive analytical workloads: Columnar storage compresses data by over 50% compared to InnoDB, reducing storage costs while maintaining query performance.

How it works

The DuckDB engine is deeply integrated within the MySQL kernel. Both the DuckDB columnar engine and the InnoDB engine run within the same MySQL kernel, so you connect and query the instance exactly as you would a standard RDS for MySQL instance.

Data replication: Transactions replicate to the columnar store via MySQL binlog. The instance supports transactions at the Snapshot Isolation level, ensuring data reliability and consistency.

For the full technical architecture, see Technical principles of DuckDB analytical instances.

Core advantages

  • 100x faster analytics: The DuckDB engine uses columnar storage, vectorized execution, parallel processing, and efficient memory management to accelerate complex queries. Standard MySQL queries run unaffected on InnoDB.

  • No ETL required: Transactions replicate to the columnar store via MySQL binlog. Analytical queries always read current data.

  • Over 50% storage reduction: Columnar storage achieves a high data compression ratio, reducing disk space compared to InnoDB.

  • MySQL ecosystem compatibility: Fully compatible with the MySQL protocol, syntax, and data types. Supports transactions at the Snapshot Isolation level and uses MySQL binlog for replication.

  • High availability with crash safety: Cluster Edition uses a one-primary, multiple-secondary architecture with automatic failover. All secondary nodes are readable. The crash-safe kernel preserves data durability in failure scenarios, and point-in-time restore is supported.

  • Simple architecture: Uses the same database kernel as RDS for MySQL with no external dependencies.

Deployment model

Attribute Value
Major engine version MySQL 8.0
Billing pay-as-you-go and subscription
Edition Cluster Edition only. One primary and multiple secondary nodes; all secondary nodes are readable. Add or remove nodes on demand.
Storage type Premium ESSD
Storage capacity 20 GB to 128,000 GB

Features

Note

"Supported" means the feature is available. "Not supported" means it is unavailable.

Category Feature DuckDB analytical cluster
Data migration Data migration Supported (destination instance only)
Data synchronization Data synchronization Supported (destination instance only)
Instance management Create an instance Supported
Change instance configurations Supported
Configure automatic storage expansion Supported
Configure automatic performance scaling Not supported
Change availability zone Not supported
Perform an automatic or manual failover Supported
View the data replication mode Supported (view-only)
Use parameter templates Not supported
Disaster recovery instance Not supported
Restart an instance Supported
Automatic start/stop Not supported
Restart a specified node Not supported
Suspend an instance Not supported
Configure a maintenance window Supported
Release or unsubscribe from an instance Supported
Instance Recycle Bin Supported
Instance upgrade Upgrade the minor engine version Supported
Upgrade the major engine version The current major version is the latest supported. You cannot upgrade to a later version.
Change the disk type from ESSD cloud disk to high-performance cloud disk Not supported
Upgrade from Basic Edition to Cluster Edition Not supported
Account management Create an account Supported
Configure a custom password policy Supported
Reset a password Supported
Modify account permissions Supported
Delete an account Supported
Reset a privileged account Supported
Database management Manage databases Supported
Delete a database Supported
Database connection Connect to an instance Supported
Configure an instance endpoint Supported
View the instance endpoint and port Supported
Request a public endpoint Supported
Monitoring and alerting View monitoring data Supported
Set the frequency for legacy monitoring Supported
Configure alert rules Supported
Network management Change the VPC and vSwitch Supported
Read-only instances and read/write splitting Create a read-only instance Not supported
Change the read/write splitting endpoint type Not supported
Security management Configure an IP whitelist Supported
Enable SSL encryption with a cloud certificate Supported
Configure transparent data encryption (TDE) Not supported
Enable and disable release protection Supported
Cloud disk encryption Supported
Manage sensitive data Not supported
Auditing SQL Explorer and Audit Supported
Log management Supported
Database backup Free quota Supported
Back up data Supported
Configure backup retention after instance release Supported
Sparse backup Not supported
Download a backup Not supported
Cross-region backup Not supported
Database recovery Restore data Supported
Restore a single database or table Not supported
Cross-region restore Not supported
Diagnostic optimization Autonomous Service Supported
AliSQL AliSQL Supported
Tag management Create a tag Supported
Remove a tag Supported
Filter instances by tag Supported
Cluster node management High availability (HA) with one primary and multiple readable standby instances Supported
Unified management of read/write and read-only endpoints Supported
Automatic failover and manual switchover for cluster nodes Supported
Native replication Enable native replication Not supported

What's next