![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 358](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675358.webp)
Creating Indexes
358
Netscape Directory Server Administrator’s Guide • August 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 62.
For example, assume 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.
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.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...