SEM_APIS.IMPORT_MODEL_STATS
Format
SEM_APIS.IMPORT_MODEL_STATS (
model_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 a specified model from a user statistics table and stores them in the dictionary.
Parameters
model_name
Name of the entailment.
(other parameters)
See the parameter explanations for the DBMS_STATS.IMPORT_TABLE_STATS procedure in Oracle AI Database PL/SQL Packages and Types Reference.
Specifying cascade also imports all index statistics associated with the model.
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 imports statistics for a model named FAMILY from a table named STAT_TABLE, and stores them in the dictionary.
EXECUTE SEM_APIS.IMOPRT_MODEL_STATS('family', 'stat_table');