Florian Weimer wrote:
* Howard Chu:

LMDB doesn't need dirty tricks to look good. (And at only 6KLOCs of
source, there's nowhere to hide any tricks anyway.)

Okay, I found a snag: the 511 bytes limit on the key size.  Berkeley
DB's disk format does not impose a limit on key or value size (at
least for B-trees).  For some applications, this will introduce new
error conditions, and working around this limitation requires
reworking the database schema.

True. There's a bit of leeway here, we can raise the key size to ~1/2 the page size if necessary. But ultimately, we don't support keys that don't fit in a single page and there are no plans to add such support. If we see enough apps that can't live with this, we may revisit the situation.

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


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51d883ab.8000...@symas.com

Reply via email to