Maven Build and Deployment codecov Javadocs Maven Central

LMDB for Java

LMDB offers:

LmdbJava adds Java-specific features to LMDB:

Performance

img

img

Full details are in the latest benchmark report.

Documentation

Support

We're happy to help you use LmdbJava. Simply open a GitHub issue if you have any questions.

Building

This project uses Zig to cross-compile the LMDB native library for all supported architectures. To locally build LmdbJava you must firstly install a recent version of Zig and then execute the project's cross-compile.sh script. This only needs to be repeated when the cross-compile.sh script is updated (eg following a new official release of the upstream LMDB library).

If you do not wish to install Zig and/or use an operating system which cannot easily execute the cross-compile.sh script, you can download the compiled LMDB native library for your platform from a location of your choice and set the lmdbjava.native.lib system property to the resulting file system system location. Possible sources of a compiled LMDB native library include operating system package managers, running cross-compile.sh on a supported system, or copying it from the org/lmdbjava directory of any recent, officially released LmdbJava JAR.

Contributing

Contributions are welcome! Please see the Contributing Guidelines.

License

This project is licensed under the Apache License, Version 2.0.

This project distribution JAR includes LMDB, which is licensed under The OpenLDAP Public License.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.