Sam Dave wrote:
> Hello,
> 
> I have two LMDB databases, identical except one has key size 34 bytes and the 
> other key size 33 bytes. (Both have same value sizes and same number of 
> pairs).
> 
> How can the file sizes on disk be exactly the same? Is this because of the 
> 2-byte alignment mentioned here? 
> https://github.com/AltSysrq/lmdb-zero/issues/8
> 
> I wonder if this 2-byte alignment was documented anywhere.

RTFM.

http://www.lmdb.tech/doc/group__internal.html

Search for "align"


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to