15.94 SEM_APIS.EXPORT_MODEL_STATS
Format
SEM_APIS.EXPORT_MODEL_STATS ( model_name IN VARCHAR2, stattab IN VARCHAR2, statid IN VARCHAR2 DEFAULT NULL, 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 model 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.
Specifying
cascade
also exports all index statistics associated with the model. - network_owner
-
Owner of the RDF network. (See Table 1-2.)
- network_name
-
Name of the RDF 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 RDF network types and options, see RDF Networks.
Examples
The following example exports statistics for a model named FAMILY
and stores them in a table named STAT_TABLE
.
EXECUTE SEM_APIS.EXPORT_MODEL_STATS('family', 'stat_table');
Parent topic: SEM_APIS Package Subprograms