15.117 SEM_APIS.IMPORT_ENTAILMENT_STATS

Format

SEM_APIS.IMPORT_ENTAILMENT_STATS (
     entailment_name  IN VARCHAR2, 
     stattab          IN VARCHAR2, 
     statid           IN VARCHAR2 DEFAULT NULL, 
     cascade          IN BOOLEAN DEFAULT TRUE, 
     statown          IN VARCHAR2 DEFAULT NULL, 
     no_invalidate    IN BOOLEAN DEFAULT FALSE, 
     force            IN BOOLEAN DEFAULT FALSE, 
     stat_category    IN VARCHAR2 DEFAULT 'OBJECT_STATS',
     network_owner    IN VARCHAR2 DEFAULT NULL,
     network_name     IN VARCHAR2 DEFAULT NULL);

Description

Retrieves statistics for an entailment from a user statistics table and stores them in the dictionary.

Parameters

entailment_name

Name of the entailment.

(other parameters)

See the parameter explanations for the DBMS_STATS.IMPORT_TABLE_STATS procedure in Oracle Database PL/SQL Packages and Types Reference, although force here applies to entailment statistics.

Specifying cascade also exports all index statistics associated with the model.

network_owner

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

network_name

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

Usage Notes

See the information about the DBMS_STATS package inOracle Database PL/SQL Packages and Types Reference.

See also Managing Statistics for Semantic Models and the Semantic Network.

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

Examples

The following example imports statistics for an entailment named OWLTST_IDX from a table named STAT_TABLE.

EXECUTE SEM_APIS.IMPORT_ENTAILMENT_STATS('owltst_idx', 'stat_table');