[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: MDB_BAD_VALSIZE error



On 2014-01-29 18:23, Chris Card wrote:
Can MDB_MAXKEYSIZE be increased?
(...)
In 2.4.36 the comment is:
	 *	We require that keys all fit onto a regular page. This limit
	 *	could be raised a bit further if needed; to something just
	 *	under #MDB_PAGESIZE / #MDB_MINKEYS.

In 2.4.38 the comment is:
(...)	 *	under (page size / #MDB_MINKEYS / 3).

That was a doc fix to reflect some rare cases needing stricter limits.

Get 2.4.39, it has a higher safe max and you can just define
MDB_MAXKEYSIZE=0 to get it.

--
Hallvard