<quote who="Pierangelo Masarati">
ando@OpenLDAP.org wrote:
add monitor support for unindexed attributes (need to manually #define BDB_MONITOR_IDX)
This patch adds an operational attribute, olmBDBNotIndexed, that contains information about search operations directed to this database and using unindexed attributes in the filter. As a result, the monitor entry for the database will contain attributes like
olmBDBNotIndexed: <attr>#<count>#<index>
where <attr> is the attribute, <count> is the number of occurrences of that attribute in a search filter that could not use indexes, and <index> is the type of filters that were used, with the syntax used for the "index" directive. For example,
olmBDBNotIndexed: mobile#91#eq olmBDBNotIndexed: telephoneNumber#1876#eq,sub
To enable, one needs to explicitly #define BDB_MONITOR_IDX.
Is it possible to automatically creat indexes via slapd at runtime?
For example, some of the above hit a certain trigger level that is configurable, then an index gets created?
Just wondering...
Gavin.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it