The DBMS_XDB_ADMIN
package provides an interface to manage the Oracle XML DB repository.
See Also:
Oracle XML DB Developer's Guide for information about Oracle XML DB RepositoryThis chapter contains the following topics:
Overview
Deprecated Subprograms
Security Model
This table lists the package subprograms in alphabetical order.
Table 182-1 DBMS_XDB_ADM Package Subprograms
Subprogram | Description |
---|---|
Generates a nonce value for use in digest authentication |
|
[Deprecated] Creates an XMLIndex on the XML DB repository |
|
[Deprecated] Drops the XMLIndex on the XML DB repository |
|
Installs the default XDB wallet in the default XDB wallet directory |
|
Moves the XDB (user) to the specified tablespace |
|
Rebuilds the hierarchical index after import or export operations |
|
[Deprecated] Takes a path in XML DB repository as an input and index all the resources under this given path |
|
[Deprecated] Removes the index for the given path |
Note:
This procedure is deprecated with Oracle Database 11g.This procedure creates an XMLIndex on the XML DB repository.
Note:
This procedure is deprecated in Oracle Database 11g.This procedure drops the XMLIndex on the XML DB repository.
This procedure installs the default XDB wallet in the default XDB wallet directory. The directory name where the XDB wallet is stored is prefixed either by ORACLE_BASE
when it is defined, or ORACLE_HOME
. It is then followed by /admin/
db_name
/xdb_wallet
where db_name is the unique database name.
This procedure moves the XDB (user) to the specified tablespace.
This operation waits for all concurrent XDB sessions to exit.
If MOVEXDB_TABLESPACE
fails, the user should restart the database before issuing any further command.Failure to do so will result into unexpected behavior from the database.
The XDB repository by default resides in the SYSAUX
tablespace. Using this procedure it can be moved to another tablespace. As a best practice we recommend to create a dedicated tablespace for the XDB repository only and not share it with other objects (such as tables). The tablespace containing the XDB repository should never be set to READ
ONLY
because this might affect various XML operations being executed.
This procedure rebuilds the hierarchical index after import or export operations. This is necessary because data cannot be exported from index tables.
Note:
This procedure is deprecated with Oracle Database 11g.This procedure adds to the repository xmlindex the resource identified by path (when recurse
is FALSE
) or adds to the repository xmlindex the sub-tree of resources rooted at path (when recurse
is TRUE
). The default value for recurse
is TRUE
.
Note:
This procedure is deprecated with Oracle Database 11g.This procedure removes from the repository xmlindex the resource identified by path (when recurse
is FALSE
) or removes from the repository xmlindex the sub-tree of resources rooted at path (when recurse
is TRUE
). The default value for recurse
is TRUE
.