Database Administration (MOSC)

MOSC Banner

dbms_stats.gather_schema_stats option "no_invalidate => false" does not invalidate all cursor

in Database Administration (MOSC) 1 commentAnswered

I expect that "dbms_stats.gather_schema_stats( ownname => null, options => 'GATHER AUTO', no_invalidate => false )" invalidates all corresponding cursor which use tables, indexes with actualized statistic.
Does someone know why "no_invalidate => false" does not force new parsing for cursors using tables with actualized statistic?


My situation:
I run Oracle Database 19.29 Standard Edition on Oracle Database Appliance X10-S.
Application has multiple schema with identical DDL in each schema and initially empty tables.
Complex row by row import processing for each schema is running parallel in each schema using lots of inserts and complex selects. Schema have similar but not identical data in each schema.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center