Global
Statistics:
- Statistics_level= ALL , problem with Linux if we set to this. May be a bug.
- Db_file_multiblock_read_count
- NLS_sort is need to Binary.
- Optimizer_dynamic_sampling between 1 and 3.
- Stats gathering should not
- High version count
- Using First Rows
- Fixed objects stats missing
- CBO stats with non-defaults values
- System stats are need to gather if not default stats are used which are calculated at the first DB startup
- Sreadtim < 2 or mreadtim <3
- Sreadtim > 18 and mreadtim > 522
- Table with Bitmap indexes
- Need to check any change in the indexes
Table
checks:
- Empty_blocks > blocks …. Need to re-organize of the table needed.
- Table DOP is set.
- DOP differences between Tables and Indexes.
- No stats.
- No rows
- Small sample size
- Extended stats.
- Columns with no stats
- Columns missing low/high values
- Columns with old stats
- More Nulls than Rows
- More distinct values than rows
- Zero distinct values on columns with value
- Incorrect NDV in long char column with histogram
- Frequency histograms with less buckets than NDV
- Frequency histogram with 1 bucket
- Height balanced Histogram with no popular values
- Analyze command was used
- Average row length is 100 is bug
- Tables with stale stats
- SQL with policies as per dba_polices
- SQL with policies as per DBA_AUDIT_POLICIES
- Table partitions with no stats
- Table partitions with number of rows=0
- Table partitions with outdated stats
- Partitions with no column stats
- Partition columns with outdated stats
Index
checks:
1.
No stats
2.
More rows in index than its tables
3.
Clustering factor > rows in table
4.
Stats on zero while columns have
value
5.
Table/Index stats out of sync
6.
Analyze was used
7.
No column stats in single column
index
8.
NDV on column > num_rows in
single- column index
9.
NDV is zero but column has values in
single-column index
10. NDV <> NDK in single-column index
11. Index partitions with no stats
12. Index partitions where num rows=0
13. Index partitions with outdated stats
Reference: Oracle Docs
No comments:
Post a Comment