Release of the embedded database libmdbx 0.13.10

The release of the libmdbx 0.13.10 (MDBX) library has been published, featuring a high-performance compact embedded key-value database. The libmdbx code is distributed under the Apache 2.0 license. It supports all relevant operating systems and architectures, including the Russian Elbrus 2000. An advanced API for C++ is offered for libmdbx, along with enthusiast-supported bindings for Rust, Haskell, Python, NodeJS, Ruby, Go, Nim, Deno, and Scala. Notable projects using libmdbx include Isar, Erigon, and Reth, as well as developments from StarkWare and Positive Technologies.

Historically, libmdbx is a deep rewrite of the LMDB database and surpasses its predecessor in reliability, feature set, and performance. Compared to LMDB, libmdbx places great emphasis on code quality, stable API operation, testing, and automated checks. It comes with a database structure integrity check utility that includes some recovery options. Technologically, libmdbx offers ACID compliance, strict change serialization, and non-blocking reads with linear scaling across CPU cores. It supports automatic compaction, automatic database size management, and range query estimation.

In December 2025, the main repository of the project was moved from GitFlic to SourceCraft. The reason cited was complaints from non-Russian-speaking users and unaddressed Markdown editor errors over the past three years. There were also reports of the project's mirror on Github being closed, but the repository was later restored with an explanation that this was done at the request of developers from China and Brazil, as well as the Tempo platform using libmdbx.

Key changes since the previous update on August 1:

  • Support for older Linux kernels starting from version 3.16 has been restored.
  • Support for the Harmony mobile operating system has been provided.
  • The error “MDBX_WANNA_RECOVERY” when opening the database in read-only mode is now returned if the database size is not a multiple of the system page size but ignores non-multiples of the virtual memory allocation block size.
  • The possibility of receiving an unexpected “SIGBUS” due to delayed/lazy allocation of space in a full filesystem after growing the database file has been eliminated.
  • An assert check in the bit map scanning path of DBI descriptors leading to rare crashes of 32-bit debug builds has been fixed.
  • For Android, a maneuver has been implemented to reduce the likelihood of the system error “EAGAIN,” which arises from a lack of system resources and transitional processes when closing and quickly reopening the database.
  • For Linux, measures have been added to prevent the manifestation of errors in the fast_commit implementation of the Ext4 filesystem.
  • A shortcoming in the auto-tuning of parameters when setting geometry with a specified minimum page size, which could lead to an increase in page size on machines with large amounts of RAM, has been corrected.
  • The buffer implementation has been revised and other enhancements have been made to the C++ API.

It is also worth noting the announcement of the report "libmdbx: Roadmap, achievements, goals, and obstacles" at the Ethereum Day event, which will take place on December 23 in Moscow.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster