Oracle DBMS_AW_STATS
Version 12.1.0.1

General Information
Library Note Morgan's Library Page Footer
The Library is currently in the process of being upgraded from Oracle Database Version 11.2.0.3 to 12.1.0.1. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.
 
Purpose Gathers statistics for AW's DIMENSIONS & CUBES. Statistics generation does not have a significant performance cost.
AUTHID CURRENT_USER
Constants
Name Data Type Value
aw_error NUMBER -20001
Dependencies
DBMS_ASSERT DBMS_AW_LIB DUAL
Documented Yes
First Available 11.1.0.6
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/dbmsawst.sql
Subprograms
 
ANALYZE
This procedure generates optimizer statistics on a cube or dimension dbms_aw_stats.analyze(inName IN VARCHAR2);
BEGIN
  dbms_aw_stats.analyze('units_cube');
  dbms_aw_stats.analyze('time');
  dbms_aw_stats.analyze('customer');
  dbms_aw_stats.analyze('product');
  dbms_aw_stats.analyze('channel');
END;
/
 
CLEAR
Clears optimizer statistics on a cube or dimension dbms_aw_stats.clear(inName IN VARCHAR2);
BEGIN
  dbms_aw_stats.clear('channel');
END;
/

Related Topics
DBMS_AW
Packages

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2014 Daniel A. Morgan All Rights Reserved