Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_STATS, 40 of 41


ALTER_SCHEMA_TABLE_MONITORING Procedure

This procedure enable or disables the DML monitoring feature of all the tables in the schema, except for snapshot logs and the tables, which monitoring does not support. Equivalent to issuing ALTER TABLE ... MONITORING (or NOMONITORING) individually. It is recommended to enable monitoring if you use gather_database_stats or gather_schema_stats with GATHER AUTO or GATHER STALE option.

Syntax

DBMS_STATS.alter_schema_table_monitoring (

ownname varchar2 default NULL,
monitoring boolean default TRUE);

Parameters

Table 63-40 ALTER_SCHEMA_TABLE_MONITORING Procedure Parameters
Parameter  Description 

ownname 

The name of the schema. (NULL means the current schema.) 

monitoring 

Enables monitoring if true, and disables monitoring if false. 

Exceptions

ORA-20000: Insufficient privileges.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback