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 AI 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 RDF network. (See Table: network_owner and network_name Parameters.)
network_name
Name of the RDF network. (See Table: network_owner and network_name Parameters.)
Usage Notes
See the information about the DBMS_STATS package in Oracle AI Database PL/SQL Packages and Types Reference.
See also Managing Statistics for Semantic Models and the Semantic Network.
For information about RDF 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');