statistics
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| statistics [2016/05/06 15:49] – [Pending Statistics] z0hpvk | statistics [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Database Statistics ====== | ====== Database Statistics ====== | ||
| - | ===== Restore | + | ===== Restore ===== |
| < | < | ||
| SELECT table_name, stats_update_time FROM ALL_TAB_STATS_HISTORY | SELECT table_name, stats_update_time FROM ALL_TAB_STATS_HISTORY | ||
| Line 14: | Line 14: | ||
| /</ | /</ | ||
| - | ===== Pending | + | ===== Pending ===== |
| < | < | ||
| -- so that any new statistics do not get published automatically | -- so that any new statistics do not get published automatically | ||
| Line 22: | Line 22: | ||
| END; | END; | ||
| /</ | /</ | ||
| + | |||
| + | ===== Export ===== | ||
| + | < | ||
| + | dbms_stats.create_stat_table(ownname => ' | ||
| + | END; | ||
| + | /</ | ||
| + | |||
| + | < | ||
| + | dbms_stats.export_table_stats(ownname => ' | ||
| + | dbms_stats.export_table_stats(ownname => ' | ||
| + | END; | ||
| + | /</ | ||
| + | |||
statistics.1462549774.txt.gz · Last modified: (external edit)
