erthink / libmdbx

One of the fastest embeddable key-value ACID database without WAL. libmdbx surpasses the legendary LMDB in terms of reliability, features and performance.
https://erthink.github.io/libmdbx/
Other
1.16k stars 111 forks source link

Replication #256

Closed KuDeSnik33ra closed 2 years ago

KuDeSnik33ra commented 2 years ago

Are there any functions available for database replication? How can I get changes in DB since some time point in the past?

erthink commented 2 years ago

Basically, no. MDBX (as historically inheriting a minimalism from LMDB) doesn't have/using WAL, so no log of changes is available.

You should implement your own changelog or take look to libfpta, where an implementation of content-based synchronization/replication will be done this year, i.e. like the RFC-4355.