Top

Name

stat_import — Imports database statistics

Synopsis

stat_import ( in st_name varchar );
 

Description

This function imports produced database statistics.

Parameters

st_name

Name of the statistics file.

Examples

Example 24.213. Simple Use

-- produce statistics for a given database:
SQL> string_to_file('stat.dv', serialize(stat_export()), -2);

-- import the produced statistics:
SQL> stat_import (deserialize (file_to_string ('stat.dv')));