![Netscape NETSCAPE DIRECTORY SERVER 6.02 Скачать руководство пользователя страница 352](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673352.webp)
Creating Indexes
352
Netscape Directory Server Administrator’s Guide • May 2002
Creating indexes from the command line involves two steps:
•
Using the
ldapmodify
command-line utility to add a new index entry or edit
an existing index entry.
•
Running the
db2index.pl
perl script to generate the new set of indexes to be
maintained by the server.
The following sections describe the steps involved in creating indexes.
Adding an Index Entry
Use
ldapmodify
to add the new index attributes to your directory. If you want to
create a new index that will become one of the default indexes, add the new index
attributes to the
cn=default indexes,cn=config,cn=ldbm database,
cn=plugins,cn=config
entry.
To create a new index for a particular database, add it to the
cn=index,cn=
instanceName
,cn=ldbm database,cn=plugins,cn=config
entry,
where
cn=
instanceName
corresponds to the name of the database.
For information on the LDIF update statements required to add entries see “LDIF
Update Statements,” on page 58.
For example, you want to create presence, equality and substring indexes for the
sn
(surname) attribute in the
Example1
database.
NOTE
You cannot create new system indexes because system indexes are
hard coded in Directory Server.
NOTE
Avoid creating entries under
cn=config
in the
dse.ldif
file. The
cn=config
entry in the simple, flat
dse.ldif
configuration file is
not stored in the same highly scalable database as regular entries. As
a result, if many entries, and particularly entries that are likely to be
updated frequently, are stored under
cn=config
, performance will
probably suffer.
However,although we recommend you do not store simple user
entries under
cn=config
for performance reasons, it can be useful to
store special user entries such as the Directory Manager entry or
Replication Manager (supplier bind DN) entry under
cn=config,
as
this allows you to centralize configuration information.
Содержание NETSCAPE DIRECTORY SERVER 6.02
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Страница 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 40: ...Starting the Server in Referral Mode 40 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 258: ...Compatibility with Earlier Releases 258 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 274: ...Setting Resource Limits Based on the Bind DN 274 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 330: ...Solving Common Replication Conflicts 330 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 374: ...Attribute Name Quick Reference Table 374 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 390: ...Configuring LDAP Clients to Use SSL 390 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 412: ...Monitoring Database Link Activity 412 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 502: ...Storing Information in Multiple Languages 502 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 522: ...Searching an Internationalized Directory 522 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...