pscbo_stat on larges tables
Hi all,
This morning we get a performance issue with a big table : PS_ITEM_SF.
An sqr batch was running extremely slow. After looking at the querie, we've noticed that the execution plan used full table scan (on 7 millions rows).
The last table stats analyze was made when we installed the new pscbo_stats (pscbo_stats.gather is executed every night).
Regarding pscbo_stats, it's seems to be ok that the gather stats on that table was not made due to a very low activity on this table.
To solve my issue I did dbms_stats.gather_stats on the table indexes.