https://bugs.openldap.org/show_bug.cgi?id=9895
Issue ID: 9895 Summary: Increase max number of index DBs in back-mdb Product: OpenLDAP Version: 2.5.12 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
Currently there is a hardcoded limit of 128 index DBs in back-mdb. Some sites want more than this (although there's no evidence they actually use more than 128 attributes in all of their applications' search filters).
For 2.5/2.6 we can simply double the constant. For 2.7 consider making it configurable.
Note that increasing the number increases the size of an LMDB transaction structure, and also increases the time needed to initialize it whenever creating a transaction, so it's a bad idea to just set this to an arbitrarily large number.
https://bugs.openldap.org/show_bug.cgi?id=9895
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Howard Chu hyc@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/552
https://bugs.openldap.org/show_bug.cgi?id=9895
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.14 Keywords|needs_review | Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9895
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=9902
https://bugs.openldap.org/show_bug.cgi?id=9895
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|IN_PROGRESS |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- HEAD:
• 161ef839 by Howard Chu at 2022-08-06T18:47:40+01:00 ITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256
RE26:
• 73d2aebc by Howard Chu at 2022-08-24T15:51:03+00:00 ITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256
RE25:
• 2e2a6e1a by Howard Chu at 2022-08-24T15:51:20+00:00 ITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256
https://bugs.openldap.org/show_bug.cgi?id=9895
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Status|RESOLVED |VERIFIED