Tag: Statistics

  • Optimizer Statistics Gathering – pending and history

    Optimizer Statistics Gathering – pending and history

    Optimizer Statistics Gathering – pending and history How do you manage when you need to gather statistics on some tables in a critical environment? Some queries are too long because of stale statistics. But other queries on the same tables are ok. You cannot leave the inital problem without fixing it. Adding hints or SQL

    Explore →

  • Scaling up Cardinality Estimates in 12.1.0.2

    Scaling up Cardinality Estimates in 12.1.0.2

    Scaling up Cardinality Estimates in 12.1.0.2 Topic: Counting the number of distinct values (NDV) for a table column has important applications in the database domain, ranging from query optimization to optimizing reports for large data warehouses. However the legacy SQL method of using SELECT COUNT (DISTINCT <COL>) can be very slow. This is a well

    Explore →