Lin Hong's TECH Blog! 刀不磨要生锈,人不学习要落后 - Thinking ahead

Oracle OCW2022 RWP Performance Up Tips

2022-12-21

Oracle OCW2022 RWP Performance Up Tips

Study case

• Better cardinality estimates
• Better execution plans
• More access paths available
• Ability for the optimizer to perform many transformations and optimizations (join elimination,materialized view rewrites, In-Memory Aggregation transformation, and many more)
• Partition pruning
• Exploit other technologies for optimal performance
    • Parallel Execution
    • Materialized Views
    • Compression
    • Database In-Memory

ADW

Autonomous Database can help address some problems:
• Augments bad/stale stats
• Dynamic statistics may correct some cardinality estimates (do not solely rely on dynamic statistics)
• Stats quality (every column has a histogram)
• Use of features like IMA, Columnar Cache in Flash is available

Where Autonomous Database cannot help:
• Suboptimal schema design
• Wrong data types on join keys
• Lack of constraints
• Sub-optimal partitioning strategy

Some slides

OCW2022_Query

InitialPerformance

ocw_2022_rwp

Reference

Hints and Tips for Fast and Predictable Query Performance with Star Schemas Session LRN3511

Refer:

23c-help

Have a good work&life! 2022/12 via LinHong


Similar Posts

Comments