[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Should I index all attributes?
- To: OpenLDAP Mail List <openldap-software@OpenLDAP.org>
- Subject: Should I index all attributes?
- From: Jorge Ruão <jruao@fe.up.pt>
- Date: Mon, 09 Aug 2004 16:28:34 +0100
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Hi,
I'm runing OpenLDAP 2.2 in 4 servers (each server has about 4Gb of RAM
and dual Xeon- 3.0 Ghz)
Currently I'm indexing the following atributes:
index default pres,eq
index objectClass,uid,uidNumber,gidNumber,memberUid
index cn pres,eq,sub
But I use several atributes:
USERS - objectClass, uid, uidNumber, gidNumber, cn, userPassword,
loginShell, homeDirectory, gecos, shadowMin, shadowMax,
shadowLastChange, shadowWarning, shadowInactive
GROUPS - objectClass, gidNumber, memberUid, cn, userPassword
OU - objectClass, ou
Should I index all atributes to increase performance? userPassword
should be indexed too?
Thanks,
Jorge Ruão