- Optimizer_dynamic_sampling parameter
- Goal
- Level
- 1 : sample tables that appear in join or subquery conditions that have no indexes
- 2 : Samples all unanalyzed tables that have more than 32 blocks
- 3 : Samples using a column that applies the selectivity of the table
- 4 : 2 or more columns
- 5 : 64 blocks used
- 6 : 128 blocks
- dynamic_sampling hint
customer_name ...
Useful for tables that are created dynamically such as GTT
- Scope
When there is complex where clause
Aucun commentaire:
Enregistrer un commentaire