https://bugs.openldap.org/show_bug.cgi?id=10236
--- Comment #10 from aalekseyev@janestreet.com --- Update: we're not relying on the earlier submitted patch in production anymore, since it wasn't sufficiently fast. We switched to a storage scheme that doesn't use overflow pages at all.