#7787 Missing indexes for automountmapname and automountkey
Closed: fixed 5 years ago Opened 5 years ago by cheimes.

Issue

Bug shows https://pagure.io/freeipa/issue/6722 unindexed searches for two automount related attributes. Unindexed filters can cause performance issues. Automount is commonly used to automatically mount user home directories or other shared resources.

The unindexed filters are:

- Unindexed Filter: (&(automountmapname=auto.direct)(objectclass=automountmap)) (occurrances 2)
- Unindexed Filter: (&(automountmapname=auto.master)(objectclass=automountmap)) (occurrances 2)
- Unindexed Filter: (&(automountkey=*)(objectclass=automount)) (occurrances 4)

There is already an index cn=automountkey,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config. However automountkey is only index for eq. A automountkey=* filter seems to use pres index only.

Steps to Reproduce

  1. install IPA system with automount integration
  2. configure automount for home dirs
  3. log in

Actual behavior

logconf.pl shows unindexed filters

Expected behavior

No unindexed filters

Version/Release/Distribution

freeipa-server-4.7.0-3

Additional info:


Metadata Update from @cheimes:
- Issue tagged with: performance

5 years ago

Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2649

5 years ago

master:

  • 0fb87bf LDAPUpdate: Batch index tasks
  • ed436e4 Add more LDAP indices
  • a34d92d Create reindex task for ipaca DB

ipa-4-6:

  • 55f18a8 LDAPUpdate: Batch index tasks
  • f29ab77 Add more LDAP indices
  • 26d90cd Create reindex task for ipaca DB

ipa-4-7:

  • ad37e0c LDAPUpdate: Batch index tasks
  • 903cfe3 Add more LDAP indices
  • e484c4b Create reindex task for ipaca DB

The new indices will be available in 4.7.3 and next 4.6 update.

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata