Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1035745
  • 博文数量: 239
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3618
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-12 13:17
文章分类

全部博文(239)

文章存档

2021年(1)

2016年(1)

2015年(30)

2014年(91)

2013年(116)

分类: LINUX

2014-06-11 09:23:38

有索引规则的说明:
Specifying an indexing rule for an attribute controls the creation and maintenance of special indexes on the attribute values. This greatly improves the response time to searches with filters which include those attributes.

假如当对某个字段创建了 “Equality” 的索引,那么在使用这个字段做"等于"作为查询条件的时候,效率会很大的提高. 下面我的实验,也可以使用多个索引规则。

假如我创建了“Equality”索引规则,

那么我使用这样的搜索会大大加快搜索速度。
#cd /opt/ibm/ldap/V6.3/bin/
#./ldapsearch -D cn=root -w wwwwww -b o=isp "uid=12345"

同时在/home/idsldap/idsslapd-idsldap/etc/V3.modifiedschema里面有类似信息。
( oid-adstatus DBNAME ( 'adstatus' 'ADSTATUS' ) LENGTH 240 EQUALITY )

启动TDS webapp
/opt/ibm/ldap/V6.3/appsrv/bin/startServer.sh server1
访问:

用户:cn=root
密码:wwwwww
在模式管理->管理属性->选中某一属性->建立索引规则->选中要选择的索引规则类型。


官档连接:
       
 
阅读(719) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~