TDS索引规则

800阅读 0评论2014-06-11 hbhe0316
分类:LINUX

有索引规则的说明:
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
在模式管理->管理属性->选中某一属性->建立索引规则->选中要选择的索引规则类型。


官档连接:
       
 
上一篇:通过wsadmin启动websphere中的一个应用程序
下一篇:TDS开启密码策略