若要提昇 Delegated Administrator 功能 (例如搜尋和顯示使用者) 的效能,可以增加 Directory Server 用於搜尋目錄的索引建立之臨界值。
Directory Server 搜尋大量 LDAP 物件時,如果將臨界值設定為較小的值,則搜尋完成之前,索引建立可能會發生空間不足的問題。執行剩餘搜尋項目時將不再建立索引,因為建立索引會使搜尋作業速度減慢。
僅當您是有經驗的 Directory Server 管理員時執行此作業。
若要將索引臨界值設定為較高的值,請變更 dse.ldif 檔案中 nssldap-allidsthreshold 選項的值
可將此選項設定為如下值︰
nssldap-allidsthreshold: 4000 |
將 nssldap-allidsthreshold 設定為較高的值。例如:
nssldap-allidsthreshold: 200000 |
如需有關所有 ID 臨界值的更多資訊,請參閱「Sun Java System Directory Server Administration Guide」「Indexing Directory Data」中的「Managing Indexes」。如需 nssldap-allidsthreshold 選項定義,請參閱「Sun Java System Directory Server Administration Reference」中「Server Configuration Reference」中的「Database Configuration Attributes」。