rid of histogram
get rid of a histogram
histogram delete
exec dbms_stats.gather_table_stats(user, 'anuj', method_opt => 'for columns n size 1', cascade => true,NO_INVALIDATE => FALSE );
table name is anuj
METHOD_OPT => 'FOR COLUMNS X SIZE 1'
and NO_INVALIDATE => FALSE. dependent cursors will be invalid immediately after stats have
been gathered.
Search This Blog
Total Pageviews
Thursday, 21 July 2011
Subscribe to:
Post Comments (Atom)
Oracle DBA
anuj blog Archive
- ▼ 2011 (362)
No comments:
Post a Comment