15.6 SEM_APIS.ALTER_INDEX_ON_INFERRED_GRAPH

Format

SEM_APIS.ALTER_INDEX_ON_INFERRED_GRAPH(
     inferred_graph_name  IN VARCHAR2, 
     index_code           IN VARCHAR2, 
     command              IN VARCHAR2, 
     tablespace_name      IN VARCHAR2 DEFAULT NULL, 
     use_compression      IN BOOLEAN DEFAULT NULL, 
     parallel             IN NUMBER(38) DEFAULT NULL, 
     online               IN BOOLEAN DEFAULT FALSE),
     options              IN VARCHAR2 DEFAULT NULL,
     network_owner        IN VARCHAR2 DEFAULT NULL,
     network_name         IN VARCHAR2 DEFAULT NULL);

Description

Alters an RDF network index on an inferred graph.

Parameters

inferred_graph_name

Name of the inferred graph.

index_code

Index code string.

command

String value containing one of the following commands: REBUILD rebuilds the RDF network index on the inferred graph, or UNUSABLE marks as unusable the RDF network index on the inferred graph. The value for this parameter is not case-sensitive.

tablespace_name

Name of the destination tablespace for the rebuild operation.

use_compression

Specifies whether compression should be used when rebuilding the index.

parallel

Degree of parallelism to be associated with the operation. For more information about parallel execution, see Oracle Database VLDB and Partitioning Guide.

online

TRUE allows DML operations affecting the index during the rebuilding of the index; FALSE (the default) does not allow DML operations affecting the index during the rebuilding of the index.

options

(Not currently used.)

network_owner

Owner of the RDF network. (See Table 1-2.)

network_name

Name of the RDF network. (See Table 1-2.)

Usage Notes

For an explanation of RDF network indexes, see Using Semantic Network Indexes.

For information about RDF network types and options, see RDF Networks.

Examples

The following example rebuilds (and makes usable if it is unusable) the RDF network index on the inferred graph named rdfs_rix_family.

EXECUTE SEM_APIS.ALTER_INDEX_ON_INFERRED_GRAPH('rdfs_rix_family', 'pscm', 'rebuild');