Skip to main content

Menu

Webinar

Built for the Agentic Era: Introducing MariaDB Enterprise Platform 2027

Register now

Product

MariaDB 12.3 InnoDB-Accelerated Binary Logging: Delivering 1.50x Higher Throughput

By Rahul Raj

6 min read
Share

Key takeaways

  • Bypasses legacy bottlenecks without hardware upgrades: MariaDB 12.3.2 routes binary log writes through InnoDB’s faster internal I/O engine, unlocking major throughput gains on your existing infrastructure.
  • Delivers up to 50% higher overall transaction speed: Enabling the new InnoDB-accelerated logging feature dramatically scales database performance up to 1.5x over previous server versions.
  • Boosts speed while keeping strict data safety: Even under full ACID durability settings, the new architecture provides an immediate 17% performance increase with zero compromise on data security.

The InnoDB-Based Binary Log is an architectural feature introduced in MariaDB Community Server 12.3.2 designed to eliminate replication logging bottlenecks. Rather than storing binary log events as standard InnoDB table rows, the feature retains distinct binary log files on disk using a new .ibb file extension. Transaction writes are routed directly through InnoDB's internal I/O and redo-log machinery instead of the legacy binary log code path. This process, known as InnoDB-Accelerated Binary Logging, significantly reduces global locking and synchronization overhead.

Under strict ACID compliance (innodb_flush_log_at_trx_commit = 1), where the log buffer is flushed and synced to disk at every transaction commit, traditional binary logging incurs heavy I/O overhead. With InnoDB-Based Binary Log enabled, MariaDB 12.3.2 achieves 711,602 New Orders Per Minute (NOPM) on HammerDB TPROC-C benchmarks. This represents a 1.17X performance gain over standard logging while maintaining full transaction durability guarantees.

The maximum throughput recorded during testing reached a 1.50X performance improvement over the MariaDB 11.8.8 baseline configuration. This peak was measured under innodb_flush_log_at_trx_commit = 0, where MariaDB 12.3.2 processed 878,535 New Orders Per Minute (NOPM). Compared directly to standard binary logging in version 12.3.2, this configuration yields a 1.40X performance increase.

Upgrading from MariaDB 11.8.8 to 12.3.2 using legacy binary logging delivers modest gains ranging between 1.00X and 1.07X. Enabling the InnoDB-Based Binary Log feature unlocks scaling up to 1.50X over MariaDB 11.8.8 without hardware changes. Across intermediate flush settings (innodb_flush_log_at_trx_commit set to 2 or 3), throughput scales consistently between 1.22X and 1.24X.

Benchmarking was executed using the HammerDB TPROC-C workload profile, an open-source industry standard derived from the TPC-C specification for Online Transaction Processing (OLTP). The test hardware environment utilized an AMD EPYC 9454P 48-Core Processor. The core benchmark metric evaluated across test cycles was New Orders Per Minute (NOPM) across four flush topology configurations.

Yes, when InnoDB-Based Binary Logging is enabled, binary log events are written to files using a new .ibb file extension. While these files leverage InnoDB's internal I/O subsystem and redo-log machinery for optimized flushing, they remain distinct log files on disk rather than standard database table rows. This ensures compatibility with binary log auditing and replication mechanisms while bypassing legacy locking bottlenecks.