[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: mdb index reporting available?
- To: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>, openldap-technical@openldap.org
- Subject: Re: mdb index reporting available?
- From: Michael Ströder <michael@stroeder.com>
- Date: Mon, 19 Aug 2019 10:44:48 +0200
- Autocrypt: addr=michael@stroeder.com; prefer-encrypt=mutual; keydata= mQENBFbdnRoBCADj0vYA4aRwKJ6AE4mf8oElLgMT/1eLNKpJ2FYBWcwj9d8dTk5/p9b8DRxy S/qQIUUZqt9xRFZwUCm0vFeQMRDeN9xzAKoRzrJifoDOacOjG1lhZTKYvVZGgUT89Ao3QeHh Q7gPzcAKNoueoR2y3FXStOYuRrbk5PlSjVAITjsotgc7PWE9mmVYpeu8a+byK/DBHKUyolOA 1UXYvDa7MbPhMtdNm8qnwtKs1Vsyk1VkErM+5cIe+zTT6WYQcmZMRjCtWGiFTzk9W6Mdlskk WRTKhKNgokTsgcy1ecaCBUZWxv/SyXgD81+rwRi9b8Px+1reg43ayxi8sV7jrI1feybbABEB AAG0J01pY2hhZWwgU3Ryw7ZkZXIgPG1pY2hhZWxAc3Ryb2VkZXIuY29tPokBNwQTAQgAIQUC Vt2dGgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRAH3HrjaovJOFpTCACjO773gcmJ KvzjiNpUFl/gANyaJgIq4VbMQ7VthRb1F9X6YbdJ6Z99ntyESjGFCpjofcSomr2vJDpv6ht+ lY33yo20YwsMpqe2OeId0jPybG+FtabKjgBNoAk7iqnBGUvE4t0dz0n1LQVCQR2jxyTKmcNq OYpsRZ3H+6kWwJMuVgsNZglINVZ8JgV5QuLYN5jhYz+pOuFnU11bV6nWREvzZXzebe7g7Zus 6AsWjtJ0lDvgBNzLlF3/eFrVch6Bejs0SvuFseIdZQk+4YU6Rb8xul/jDFXIfo7eTmijO3dV T5AmC1cUi8czncwpgAJnEH8vYv23RoN/aw2gSMCS2huIuQENBFbdnRoBCAC7L1cTVBVZZuM/ yxSUM5CsgGBlTD1Cr7C2ngZFsHSYXVLq6NUB8GZA2iLK96CrwnFw4/Jjz4llOjc50iVRMQKL RyFWOJAMrpPq2ew5T+Uoo524D//dwVbqkFVVuvM8NPiKIDyPGCjP+acM1D8hXwhOXgQ8Iz8Q 3/GRSYjitn9JrkF0ia2nhariznBKVu0LDffxF/hOCx45+QRR2/rYYlshfZMB7nEJX9P+hVfM CSzltz9Z8CldeUbiJvnyrISReR2XBw9oh8JkIUP0BtpIaify9A7EfzOk+W9BUnWe+YwdSUsB fJxOhSv+umyW5GMqZGFu+4oYnkzbe+1LUs1JarCtABEBAAGJAR8EGAEIAAkFAlbdnRoCGwwA CgkQB9x642qLyTjEUgf+JX6Atatl/QKe37yCj1OZYNPd3B0rPLJRF5mEmrADRXLZC9+uFeDS Wxxln040gnR6rjBHrRcvVmlTDiZY26iuL16+V+0/aZ9uyXNQSzk2cwDSiI/8gvr72Y+FN5fh cGXpeNHxHilYc9onzDhxyE76cwzqTKm4q2ULIH2u9IHQ5O86Fv6nHPYhe2fy1bhQapNwi/Xl 3G3i2WNH/w7m+1zWU1IddZOjmXzoxLT1BATwXGa0Tt5RjVb2mM1Wg3Zj6kqFkF2vvKcvrwj0 q0Ap5uyfN5m0uWzQMCMoaV9HQf7f5MkS1lnwBqDgnojjVAieX5uk7olUiRuPKHMfhvXulYP8 AA==
- Content-language: en-US
- In-reply-to: <5D5A4E93020000A100032F2B@gwsmtp.uni-regensburg.de>
- Openpgp: preference=signencrypt
- References: <"H00000710014c4e1.1566046337.sx.f1-outsourcing.eu*"@MHS> <123c2421-b539-14cb-6c82-44235675b5cd@stroeder.com> <5D5A4E93020000A100032F2B@gwsmtp.uni-regensburg.de>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
On 8/19/19 9:24 AM, Ulrich Windl wrote:
>>>> Michael Ströder <michael@stroeder.com> schrieb am 17.08.2019 um 20:37 in
> Nachricht <123c2421-b539-14cb-6c82-44235675b5cd@stroeder.com>:
>> On 8/17/19 2:52 PM, Marc Roos wrote:
>>> Over time I am adding indexes until there are no such messages
>>> (except for some incidental queries).
>> And that's exactly the wrong thing to do!
>> That's why I requested to disable those messages in ITS#7796:
>>
>> https://www.openldap.org/its/index.cgi?findid=7796
>>
>> By adding random indexes just to get rid of not-indexed warnings you can
>> dramatically lower your search performance. You should only add an index
>> if you analyzed that clients send search requests with filters which can
>> make good use of the index.
>
> I agree that some thinking before adding an index isn't a bad idea, but still
> I think these messages are important as they can make you start thinking.
Experience shows that people do not analyse the LDAP filters but just
add an index to get rid of the message. You can find that many times in
various discussion / Q&A forums.
It's also bad that this message is written at any loglevel. Depending on
your config it can be written many times for the same attribute during
processing a single search operation, e.g. when processing the numerous
set-based ACLs in my Æ-DIR. 50+ senseless log lines for a single search
operation with deref control is not fun.
Ciao, Michael.