|
- select * from DBA_ADVISOR_FINDING_NAMES n
- where upper(n.finding_name) like 'UNDER%';
-
- select * from dba_addm_tasks;
- select * from v$memory_dynamic_components;
- select * from v$memory_resize_ops;
- select * from V$MEMORY_CURRENT_RESIZE_OPS ;
- select * from dba_tab_stat_prefs;
- select dbms_stats.get_prefs('stale_percent') from dual;
- begin
- dbms_stats.set_global_prefs('stale_percent','13');
- end;
- ---
-
- begin
- dbms_stats.set_table_prefs(ownname => 'SH',
- tabname => 'SALES',
- pname => 'PUBLISH',pvalue => 'false');
- end;
-
- select * from dba_tab_stat_prefs;
-
- begin
- dbms_stats.gather_table_stats('SH','SALES',
- estimate_percent=>100,
- method_opt=>'for all columns size auto for columns cust_id size 254');
- end;
-
- select * from dba_tab_pending_stats;
-
- begin
- dbms_stats.publish_pending_stats(ownname => 'SH',tabname => 'SALES');
- end;
-
复制代码
|
|