On 02/01/2016 02:55 PM, Petr Spacek wrote:
For the wider audience, some more information about LMDB backend for
RPM can
be found in:
https://bugzilla.redhat.com/show_bug.cgi?id=1086784
In short:
- Maximum database size is just "sanity limit" set by application. It can be
hunderds of GB if you wish.
In the past, this wasn't true for 32-bit architectures because the
database file hatd to be mapped.
- Working around key length really needs some work, yes. On the other
hand, it
is clearly possible because SQLite was ported to LMDB as proof-of-concept, and
was actually faster than original implementation. See the README here:
https://github.com/LMDB/sqlightning
First filed issue:
“indices get corrupted if keys are too big”
<
ttps://github.com/LMDB/sqlightning/issues/1>
Florian