[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: commit: ldap/servers/slapd/back-bdb back-bdb.h index.c init.c monitor.c proto-bdb.h
- To: OpenLDAP Commit <openldap-devel@openldap.org>
- Subject: Re: commit: ldap/servers/slapd/back-bdb back-bdb.h index.c init.c monitor.c proto-bdb.h
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Tue, 07 Aug 2007 22:47:20 +0200
- In-reply-to: <200708072036.l77Ka5gq073639@cantor.openldap.org>
- References: <200708072036.l77Ka5gq073639@cantor.openldap.org>
- User-agent: Mail/News 1.5.0.8 (X11/20061210)
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.
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
---------------------------------------