Database Administration (MOSC)

MOSC Banner

SQL Analyze DBMS_STATS control the queries

Greetings,

I have a bigger OLTP 19c DB in a RAC environment.

What I have noticed, is that my servers get soon out of memory because of stats gathering (parallel jobs) during batch loads.

I notice in those peaks that I see many queries like this one below:

/* SQL Analyze(1) */ select /*+ full(t)   parallel(t,4) parallel_index(t,4) dbms_stats cursor_sha

I guess I cannot change/influence that behaviour. Maybe Oracle triggers that during the batch jobs to get a fresh statistics ?

I have seen in some MOS articles that it uses ESTIMATE_PERCENT DBMS_STATS.AUTO_SAMPLE_SIZE to work on this one?

Tagged:

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