mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: update github repo address.
Change-Id: Ifa8bf0e09b297ba6f495dd8e04e5c67f6626d9cb
This commit is contained in:
parent
dbf9873e63
commit
bd3f234bce
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
##
|
##
|
||||||
## libmdbx = { Revised and extended descendant of Symas LMDB. }
|
## libmdbx = { Revised and extended descendant of Symas LMDB. }
|
||||||
## Please see README.md at https://github.com/leo-yuriev/libmdbx
|
## Please see README.md at https://github.com/erthink/libmdbx
|
||||||
##
|
##
|
||||||
## Libmdbx is superior to LMDB in terms of features and reliability,
|
## Libmdbx is superior to LMDB in terms of features and reliability,
|
||||||
## not inferior in performance. libmdbx works on Linux, FreeBSD, MacOS X
|
## not inferior in performance. libmdbx works on Linux, FreeBSD, MacOS X
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
##
|
##
|
||||||
## libmdbx = { Revised and extended descendant of Symas LMDB. }
|
## libmdbx = { Revised and extended descendant of Symas LMDB. }
|
||||||
## Please see README.md at https://github.com/leo-yuriev/libmdbx
|
## Please see README.md at https://github.com/erthink/libmdbx
|
||||||
##
|
##
|
||||||
## Libmdbx is superior to LMDB in terms of features and reliability,
|
## Libmdbx is superior to LMDB in terms of features and reliability,
|
||||||
## not inferior in performance. libmdbx works on Linux, FreeBSD, MacOS X
|
## not inferior in performance. libmdbx works on Linux, FreeBSD, MacOS X
|
||||||
|
20
README.md
20
README.md
@ -49,8 +49,8 @@ _MithrilDB_ is rightly relevant name.
|
|||||||
> revolution is to provide a clearer and robust API, add more features and
|
> revolution is to provide a clearer and robust API, add more features and
|
||||||
> new valuable properties of database.
|
> new valuable properties of database.
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/leo-yuriev/libmdbx.svg?branch=master)](https://travis-ci.org/leo-yuriev/libmdbx)
|
[![Build Status](https://travis-ci.org/erthink/libmdbx.svg?branch=master)](https://travis-ci.org/erthink/libmdbx)
|
||||||
[![Build status](https://ci.appveyor.com/api/projects/status/ue94mlopn50dqiqg/branch/master?svg=true)](https://ci.appveyor.com/project/leo-yuriev/libmdbx/branch/master)
|
[![Build status](https://ci.appveyor.com/api/projects/status/ue94mlopn50dqiqg/branch/master?svg=true)](https://ci.appveyor.com/project/erthink/libmdbx/branch/master)
|
||||||
[![Coverity Scan Status](https://scan.coverity.com/projects/12915/badge.svg)](https://scan.coverity.com/projects/reopen-libmdbx)
|
[![Coverity Scan Status](https://scan.coverity.com/projects/12915/badge.svg)](https://scan.coverity.com/projects/reopen-libmdbx)
|
||||||
|
|
||||||
*The Future will (be) [Positive](https://www.ptsecurity.com). Всё будет хорошо.*
|
*The Future will (be) [Positive](https://www.ptsecurity.com). Всё будет хорошо.*
|
||||||
@ -268,12 +268,12 @@ named mutexes are used.
|
|||||||
|
|
||||||
### History
|
### History
|
||||||
At first the development was carried out within the
|
At first the development was carried out within the
|
||||||
[ReOpenLDAP](https://github.com/leo-yuriev/ReOpenLDAP) project. About a
|
[ReOpenLDAP](https://github.com/erthink/ReOpenLDAP) project. About a
|
||||||
year later _libmdbx_ was separated into standalone project, which was
|
year later _libmdbx_ was separated into standalone project, which was
|
||||||
[presented at Highload++ 2015
|
[presented at Highload++ 2015
|
||||||
conference](http://www.highload.ru/2015/abstracts/1831.html).
|
conference](http://www.highload.ru/2015/abstracts/1831.html).
|
||||||
|
|
||||||
Since 2017 _libmdbx_ is used in [Fast Positive Tables](https://github.com/leo-yuriev/libfpta),
|
Since 2017 _libmdbx_ is used in [Fast Positive Tables](https://github.com/erthink/libfpta),
|
||||||
and development is funded by [Positive Technologies](https://www.ptsecurity.com).
|
and development is funded by [Positive Technologies](https://www.ptsecurity.com).
|
||||||
|
|
||||||
### Acknowledgments
|
### Acknowledgments
|
||||||
@ -445,7 +445,7 @@ Here showed sum of performance metrics in 3 benchmarks:
|
|||||||
|
|
||||||
2. Performance gap is too high to compare in any meaningful way.
|
2. Performance gap is too high to compare in any meaningful way.
|
||||||
|
|
||||||
![Comparison #1: Integral Performance](https://raw.githubusercontent.com/wiki/leo-yuriev/libmdbx/img/perf-slide-1.png)
|
![Comparison #1: Integral Performance](https://raw.githubusercontent.com/wiki/erthink/libmdbx/img/perf-slide-1.png)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -454,7 +454,7 @@ Here showed sum of performance metrics in 3 benchmarks:
|
|||||||
Summary performance with concurrent read/search queries in 1-2-4-8
|
Summary performance with concurrent read/search queries in 1-2-4-8
|
||||||
threads on 4 CPU cores machine.
|
threads on 4 CPU cores machine.
|
||||||
|
|
||||||
![Comparison #2: Read Scalability](https://raw.githubusercontent.com/wiki/leo-yuriev/libmdbx/img/perf-slide-2.png)
|
![Comparison #2: Read Scalability](https://raw.githubusercontent.com/wiki/erthink/libmdbx/img/perf-slide-2.png)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -476,7 +476,7 @@ In the benchmark each transaction contains combined CRUD operations (2
|
|||||||
inserts, 1 read, 1 update, 1 delete). Benchmark starts on empty database
|
inserts, 1 read, 1 update, 1 delete). Benchmark starts on empty database
|
||||||
and after full run the database contains 10,000 small key-value records.
|
and after full run the database contains 10,000 small key-value records.
|
||||||
|
|
||||||
![Comparison #3: Sync-write mode](https://raw.githubusercontent.com/wiki/leo-yuriev/libmdbx/img/perf-slide-3.png)
|
![Comparison #3: Sync-write mode](https://raw.githubusercontent.com/wiki/erthink/libmdbx/img/perf-slide-3.png)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -503,7 +503,7 @@ and after full run the database contains 100,000 small key-value
|
|||||||
records.
|
records.
|
||||||
|
|
||||||
|
|
||||||
![Comparison #4: Lazy-write mode](https://raw.githubusercontent.com/wiki/leo-yuriev/libmdbx/img/perf-slide-4.png)
|
![Comparison #4: Lazy-write mode](https://raw.githubusercontent.com/wiki/erthink/libmdbx/img/perf-slide-4.png)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -527,7 +527,7 @@ In the benchmark each transaction contains combined CRUD operations (2
|
|||||||
inserts, 1 read, 1 update, 1 delete). Benchmark starts on empty database
|
inserts, 1 read, 1 update, 1 delete). Benchmark starts on empty database
|
||||||
and after full run the database contains 10,000 small key-value records.
|
and after full run the database contains 10,000 small key-value records.
|
||||||
|
|
||||||
![Comparison #5: Async-write mode](https://raw.githubusercontent.com/wiki/leo-yuriev/libmdbx/img/perf-slide-5.png)
|
![Comparison #5: Async-write mode](https://raw.githubusercontent.com/wiki/erthink/libmdbx/img/perf-slide-5.png)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -551,7 +551,7 @@ All benchmark data is gathered by
|
|||||||
[getrusage()](http://man7.org/linux/man-pages/man2/getrusage.2.html)
|
[getrusage()](http://man7.org/linux/man-pages/man2/getrusage.2.html)
|
||||||
syscall and by scanning data directory.
|
syscall and by scanning data directory.
|
||||||
|
|
||||||
![Comparison #6: Cost comparison](https://raw.githubusercontent.com/wiki/leo-yuriev/libmdbx/img/perf-slide-6.png)
|
![Comparison #6: Cost comparison](https://raw.githubusercontent.com/wiki/erthink/libmdbx/img/perf-slide-6.png)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -4890,7 +4890,7 @@ __hot static int mdbx_page_alloc(MDBX_cursor *mc, const unsigned num,
|
|||||||
flags &= ~(MDBX_ALLOC_GC | MDBX_COALESCE | MDBX_LIFORECLAIM);
|
flags &= ~(MDBX_ALLOC_GC | MDBX_COALESCE | MDBX_LIFORECLAIM);
|
||||||
} else if (unlikely(txn->mt_dbs[FREE_DBI].md_entries == 0)) {
|
} else if (unlikely(txn->mt_dbs[FREE_DBI].md_entries == 0)) {
|
||||||
/* avoid (recursive) search inside empty tree and while tree is updating,
|
/* avoid (recursive) search inside empty tree and while tree is updating,
|
||||||
* https://github.com/leo-yuriev/libmdbx/issues/31 */
|
* https://github.com/erthink/libmdbx/issues/31 */
|
||||||
flags &= ~MDBX_ALLOC_GC;
|
flags &= ~MDBX_ALLOC_GC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -9932,7 +9932,7 @@ int __cold mdbx_env_open(MDBX_env *env, const char *pathname, unsigned flags,
|
|||||||
} else {
|
} else {
|
||||||
#if MDBX_MMAP_INCOHERENT_FILE_WRITE
|
#if MDBX_MMAP_INCOHERENT_FILE_WRITE
|
||||||
/* Temporary `workaround` for OpenBSD kernel's flaw.
|
/* Temporary `workaround` for OpenBSD kernel's flaw.
|
||||||
* See https://github.com/leo-yuriev/libmdbx/issues/67 */
|
* See https://github.com/erthink/libmdbx/issues/67 */
|
||||||
if ((flags & MDBX_WRITEMAP) == 0) {
|
if ((flags & MDBX_WRITEMAP) == 0) {
|
||||||
if (flags & MDBX_ACCEDE)
|
if (flags & MDBX_ACCEDE)
|
||||||
flags |= MDBX_WRITEMAP;
|
flags |= MDBX_WRITEMAP;
|
||||||
|
@ -84,4 +84,4 @@ if no quiet mode was requested.
|
|||||||
.BR mdbx_dump (1),
|
.BR mdbx_dump (1),
|
||||||
.BR mdbx_load (1)
|
.BR mdbx_load (1)
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Leonid Yuriev <https://github.com/leo-yuriev>
|
Leonid Yuriev <https://github.com/erthink>
|
||||||
|
@ -63,4 +63,4 @@ free during copying cannot be reused until the copy is done.
|
|||||||
.BR mdbx_load (1)
|
.BR mdbx_load (1)
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Howard Chu of Symas Corporation <http://www.symas.com>,
|
Howard Chu of Symas Corporation <http://www.symas.com>,
|
||||||
Leonid Yuriev <https://github.com/leo-yuriev>
|
Leonid Yuriev <https://github.com/erthink>
|
||||||
|
@ -88,4 +88,4 @@ utility to load the database using the correct comparison functions.
|
|||||||
.BR mdbx_stat (1)
|
.BR mdbx_stat (1)
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Howard Chu of Symas Corporation <http://www.symas.com>,
|
Howard Chu of Symas Corporation <http://www.symas.com>,
|
||||||
Leonid Yuriev <https://github.com/leo-yuriev>
|
Leonid Yuriev <https://github.com/erthink>
|
||||||
|
@ -99,4 +99,4 @@ a diagnostic message being written to standard error.
|
|||||||
.BR mdbx_copy (1)
|
.BR mdbx_copy (1)
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Howard Chu of Symas Corporation <http://www.symas.com>,
|
Howard Chu of Symas Corporation <http://www.symas.com>,
|
||||||
Leonid Yuriev <https://github.com/leo-yuriev>
|
Leonid Yuriev <https://github.com/erthink>
|
||||||
|
@ -72,4 +72,4 @@ a diagnostic message being written to standard error.
|
|||||||
.BR mdbx_load (1)
|
.BR mdbx_load (1)
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Howard Chu of Symas Corporation <http://www.symas.com>,
|
Howard Chu of Symas Corporation <http://www.symas.com>,
|
||||||
Leonid Yuriev <https://github.com/leo-yuriev>
|
Leonid Yuriev <https://github.com/erthink>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user