Oracle® Database PL/SQL Packages and Types Reference 11g Release 2 (11.2) Part Number E25788-04 |
|
|
PDF · Mobi · ePub |
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 the Oracle XML DB RepositoryThis chapter contains the following topics:
Deprecated Subprograms
Security Model
Note:
Oracle recommends that you do not use deprecated procedures in new applications. Support for deprecated features is for backward compatibility only and may be terminated in future releases.The following subprograms are deprecated with Oracle Database 11g:
Owned by XDB
, the DBMS_XDB_ADMIN
package must be created by SYS
or XDB
. The EXECUTE
privilege is granted to SYS
or XDB
or DBA
. Subprograms in this package are executed using the privileges of the current user.
This table lists the package subprograms in alphabetical order.
Table 164-1 DBMS_XDB_ADM Package Subprograms
Subprogram | Description |
---|---|
[Deprecated] Creates an XMLIndex on the XML DB repository |
|
[Deprecated] Drops the XMLIndex on the XML DB repository |
|
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 in Release 11g.This procedure creates an XMLIndex on the XML DB repository.
DBMS_XDB_ADMIN.CREATEREPOSITORYXMLINDEX;
Note:
This procedure is deprecated in Release 11g.This procedure drops the XMLIndex on the XML DB repository.
DBMS_XDB_ADMIN.DROPREPOSITORYXMLINDEX;
This procedure moves the XDB (user) to the specified tablespace.
DBMS_XDB.MOVEXDB_TABLESPACE( new_tablespace IN VARCHAR2);
Table 164-2 MOVEXDB_TABLESPACE Procedure Parameters
Parameter | Description |
---|---|
|
Name of the tablespace to where the XDB is moved |
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.
This procedure rebuilds the hierarchical index after import or export operations. This is necessary because data cannot be exported from index tables.
DBMS_XDB.REBUILDHIERARCHICALINDEX;
Note:
This procedure is deprecated in Release 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
.
DBMS_XDB_ADMIN.XMLINDEXADDPATH( path IN VARCHAR2, recurse IN BOOLEAN);
Table 164-3 XMLINDEXADDPATH Procedure Parameters
Parameter | Description |
---|---|
|
Path to a resource |
|
|
Note:
This procedure is deprecated in Release 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
.
DBMS_XDB_ADMIN.XMLINDEXREMOVEPATH( path IN VARCHAR2, isrecursive IN BOOLEAN);