RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2021998 - IPA server (389ds) is very slow in execution of some searches (`&(memberOf=...)(objectClass=ipaHost)` in particular) [rhel-8.5.0.z]
Summary: IPA server (389ds) is very slow in execution of some searches (`&(memberOf=.....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.4
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: rc
: ---
Assignee: LDAP Maintainers
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On: 1913199
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-10 14:33 UTC by RHEL Program Management Team
Modified: 2021-12-21 10:02 UTC (History)
22 users (show)

Fixed In Version: 389-ds-1.4-8050020211111125856.4051e825
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1913199
Environment:
Last Closed: 2021-12-21 09:57:25 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-1778 0 None None None 2021-11-10 14:54:05 UTC
Red Hat Issue Tracker IDMDS-1779 0 None None None 2021-11-10 14:54:53 UTC
Red Hat Issue Tracker RHELPLAN-102423 0 None None None 2021-11-10 19:11:55 UTC
Red Hat Product Errata RHBA-2021:5234 0 None None None 2021-12-21 09:57:30 UTC

Comment 4 sgouvern 2021-12-08 11:56:34 UTC
With 389-ds-base-1.4.3.23-12.module+el8.5.0+13329+4096c77a.x86_64

Tested with the steps from https://bugzilla.redhat.com/show_bug.cgi?id=1913199#c54 :

With targetfilter cache disabled :

# time ldapsearch -LLL -h localhost -p 389 -D "uid=demo_user,ou=people,dc=example,dc=com" -w password -b "ou=aci,dc=example,dc=com"
...
real	0m4.829s
user	0m0.033s
sys	0m0.022s

etime for the search operation in the access log : etime=4.7724

[08/Dec/2021:05:39:03.526793875 -0500] conn=507 op=1 SRCH base="ou=aci,dc=example,dc=com" scope=2 filter="(objectClass=*)" attrs=ALL
[08/Dec/2021:05:39:08.299059284 -0500] conn=507 op=1 RESULT err=0 tag=101 nentries=501 wtime=0.000222747 optime=4.772269893 etime=4.772488960 notes=U details="Partially Unindexed Filter"

With targetfilter cache enabled :

# time ldapsearch -LLL -h localhost -p 389 -D "uid=demo_user,ou=people,dc=example,dc=com" -w password -b "ou=aci,dc=example,dc=com"
...
real	0m0.511s
user	0m0.010s
sys	0m0.018s

etime for the search operation in the access log : 0.4668

[08/Dec/2021:05:36:30.707609036 -0500] conn=505 op=1 SRCH base="ou=aci,dc=example,dc=com" scope=2 filter="(objectClass=*)" attrs=ALL
[08/Dec/2021:05:36:31.174363485 -0500] conn=505 op=1 RESULT err=0 tag=101 nentries=501 wtime=0.000109943 optime=0.466753832 etime=0.466859809 notes=U details="Partially Unindexed Filter"

The operation is significantly faster when targetfilter cache is enabled.
Marking as verified

Comment 12 errata-xmlrpc 2021-12-21 09:57:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (389-ds:1.4 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:5234


Note You need to log in before you can comment on or make changes to this bug.