Oracle® Identity Management User Reference
10g Release 2 (10.1.2) B15883-01 |
|
Previous |
Next |
The bulkdelete
command-line tool enables you to delete a subtree efficiently. It can be used when both an Oracle Internet Directory server and Oracle Directory Replication servers are in operation. It uses a SQL interface to benefit performance. For this release, the bulkdelete
tool runs on only one node at a time.
This tool does not support filter-based deletion. That is, it deletes an entire subtree below the root of the subtree. If the base DN is a user-added DN, rather than a DN created as part of the installation of the directory, it is included in the delete. You must restrict LDAP activity against the subtree during deletion.
bulkdelete.sh -connect connect_string -base "base_dn" [-size number_of_entries] [-encode "character_set"]
-connect connect_string
Required. The directory database connect string. If you already have a tnsnames.ora
file configured, then this is the net service name specified in that file, which is located in $
ORACLE_HOME
/network/admin
.
-base "base_dn"
Required. The base DN of the subtree to be deleted, for example, "dc=company, dc=com"
. Enclose the DN in quotation marks.
-size number_of_entries
Optional. The number of entries to be committed as a part of one transaction.
-encode "character_set"
Optional. The native character set encoding. Defaults to the character set of the user's terminal. Each supported character set has a unique acronym, for example, WE8MSWIN1252
, JA16SJIS
, or AL32UTF8
.