libmdbx is an extremely fast, compact, powerful, embedded, transactional key-value database, with permissive license. libmdbx has a specific set of properties and capabilities, focused on creating unique lightweight solutions.
Olog(N)
operations costs by virtue of B+ tree.C11
, ≈64K x86 binary code of core, no internal threads neither server process(es), but implements a simplified variant of the Berkeley DB and dbm API.The origin for now is at GitFlic since on 2022-04-15 the Github administration, without any warning nor explanation, deleted libmdbx along with a lot of other projects, simultaneously blocking access for many developers. For the same reason Github is blacklisted forever.
Questions, feedback and suggestions are welcome to the Telegram' group.
The Future will (be) Positive. Всё будет хорошо.
This manual is divided into parts, each of which is divided into several sections.
C/C++
API manual:Please do not hesitate to point out errors in the documentation, including creating merge-request with corrections and improvements.
The next version is under non-public development from scratch and will be released as MithrilDB and libmithrildb
for libraries & packages. Admittedly mythical Mithril is resembling silver but being stronger and lighter than steel. Therefore MithrilDB is a rightly relevant name.
MithrilDB is radically different from libmdbx by the new database format and API based on C++20. The goal of this revolution is to provide a clearer and robust API, add more features and new valuable properties of the database. All fundamental architectural problems of libmdbx/LMDB have been solved there, but now the active development has been suspended for top-three reasons:
However, MithrilDB will not be available for countries unfriendly to Russia (i.e. acceded the sanctions, devil adepts and/or NATO). But it is not yet known whether such restriction will be implemented only through a license and support, either the source code will not be open at all. Basically we are not inclined to allow our work to contribute to the profit that goes to weapons that kill our relatives and friends. NO OPTIONS.
Nonetheless, I try not to make any promises regarding MithrilDB until release.
Contrary to MithrilDB, libmdbx will forever free and open source. Moreover with high-quality support whenever possible. Tu deviens responsable pour toujours de ce que tu as apprivois. So we will continue to comply with the original open license and the principles of constructive cooperation, in spite of outright Github sabotage and sanctions. I will also try to keep (not drop) Windows support, despite it is an unused obsolete technology for us.
Historically, libmdbx is a deeply revised and extended descendant of the Lightning Memory-Mapped Database. At first the development was carried out within the ReOpenLDAP project. About a year later libmdbx was separated into a standalone project, which was presented at Highload++ 2015 conference.
Since 2017 libmdbx is used in Fast Positive Tables, and development is funded by Positive Technologies.
On 2022-04-15 the Github administration, without any warning nor explanation, deleted libmdbx along with a lot of other projects, simultaneously blocking access for many developers. Therefore on 2022-04-21 we have migrated to a reliable trusted infrastructure. The origin for now is at GitFlic with backup at ABF by ROSA Лаб. For the same reason Github is blacklisted forever.
Howard Chu hyc@o is the author of LMDB, from which originated the libmdbx in 2015. penl dap.o rg
Martin Hedenfalk marti is the author of n@bz ero.s ebtree.c
code, which was used to begin development of LMDB.
Author | loc | coms | fils | distribution |
---|---|---|---|---|
leo@y urie v.ru | 75026 | 3656 | 96 | 98.8/95.0/58.5 |
vroma nov@ gmail .com | 504 | 5 | 8 | 0.7/ 0.1/ 4.9 |
jsore f@us ers.n orep ly.gi thub .com | 122 | 2 | 23 | 0.2/ 0.1/14.0 |
crypt o.so wle@g mail .com | 69 | 1 | 1 | 0.1/ 0.0/ 0.6 |
andre a.la nfran chi@ gmail .com | 48 | 3 | 3 | 0.1/ 0.1/ 1.8 |
dream sxin @126. com | 47 | 1 | 1 | 0.1/ 0.0/ 0.6 |
hyc@s ymas .com | 30 | 72 | 2 | 0.0/ 1.9/ 1.2 |
rouzi er@g mail. com | 26 | 5 | 4 | 0.0/ 0.1/ 2.4 |
hallv ard@ openl dap. org | 22 | 71 | 3 | 0.0/ 1.8/ 1.8 |
demfl oro@ demfl oro. ru | 12 | 1 | 1 | 0.0/ 0.0/ 0.6 |
jens@ moos eyard .com | 10 | 3 | 4 | 0.0/ 0.1/ 2.4 |
notsp am@b uraka rsla n.com | 8 | 1 | 2 | 0.0/ 0.0/ 1.2 |
sasga s@ca stis. com | 5 | 2 | 3 | 0.0/ 0.1/ 1.8 |
i@rmw .lin k | 5 | 2 | 2 | 0.0/ 0.1/ 1.2 |
AskAl exSh arov@ gmai l.com | 4 | 1 | 1 | 0.0/ 0.0/ 0.6 |
andre y.as hikhm in@g mail. com | 4 | 4 | 2 | 0.0/ 0.1/ 1.2 |
janbi eder mann@ gitf lic.r u | 2 | 1 | 1 | 0.0/ 0.0/ 0.6 |
heire cka@ exher bo.o rg | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
vcer@ qq.c om | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
wowem uh@g mail. com | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
13943 32+b yronh e@us ers.n orep ly.gi thub .com | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
crypt o.zo idber g@gm ail.c om | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
ghaza n@mi randa .im | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
Erk-@ user s.nor eply .gith ub.c om | 1 | 1 | 1 | 0.0/ 0.0/ 0.6 |
lmb@c loud flare .com | 0 | 2 | 0 | 0.0/ 0.1/ 0.0 |
lyeag er@n vidia .com | 0 | 1 | 0 | 0.0/ 0.0/ 0.0 |
orive j@gm x.fr | 0 | 2 | 0 | 0.0/ 0.1/ 0.0 |
phili pp.s torz@ bare os.co m | 0 | 1 | 0 | 0.0/ 0.0/ 0.0 |
quana h@op enlda p.or g | 0 | 1 | 0 | 0.0/ 0.0/ 0.0 |
you@e xamp le.co m | 0 | 1 | 0 | 0.0/ 0.0/ 0.0 |
moner omoo o-mon ero@ users .nor eply. gith ub.co m | 0 | 3 | 0 | 0.0/ 0.1/ 0.0 |
The OpenLDAP Public License Version 2.8, 17 August 2003
Redistribution and use of this software and associated documentation ("Software"), with or without modification, are permitted provided that the following conditions are met:
The OpenLDAP Foundation may revise this license from time to time. Each revision is distinguished by a version number. You may use this Software under terms of this license revision or under the terms of any subsequent revision of the license.
THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS CONTRIBUTORS `‘AS IS’' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The names of the authors and copyright holders must not be used in advertising or otherwise to promote the sale, use or other dealing in this Software without specific, written prior permission. Title to copyright in this Software shall at all times remain with copyright holders.
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
Copyright 1999-2003 The OpenLDAP Foundation, Redwood City, California, USA. All Rights Reserved. Permission to copy and distribute verbatim copies of this document is granted.