15.93 SEM_APIS.EXPORT_ENTAILMENT_STATS

Format

SEM_APIS.EXPORT_ENTAILMENT_STATS (
     entailment_name IN VARCHAR2, 
     stattab         IN VARCHAR2, 
     statid          IN VARCHAR2 DEFAULTNULL, 
     cascade         IN BOOLEAN DEFAULT TRUE, 
     statown         IN VARCHAR2 DEFAULT NULL, 
     stat_category   IN VARCHAR2 DEFAULT 'OBJECT_STATS',
     network_owner   IN VARCHAR2 DEFAULT NULL,
     network_name    IN VARCHAR2 DEFAULT NULL);

Description

Exports statistics for a specified entailment and stores them in the user statistics table.

Parameters

entailment_name

Name of the entailment.

(other parameters)

See the parameter explanations for the DBMS_STATS.EXPORT_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 entailment.

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 exports statistics for an entailment named OWLTST_IDX and stores them in a table named STAT_TABLE.

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