Database Administration (MOSC)

MOSC Banner

Performance issue in gathering Stats

edited Jul 29, 2020 8:13AM in Database Administration (MOSC) 3 commentsAnswered

We are in the process of upgrading our database from 11.2.0.4 to 12.2.0.1.

We have few batch jobs which uses a table contains 32 million records. At the last step it gathers stats using below sql .

GATHER_TABLE_STATS(ownname => '"TEST_SCHEMA"', tabname => '"TEST_TABLE"', cascade => TRUE, no_invalidate => FALSE, force => FALSE);

Degree for this table is set to 1. When this steps runs its running 72 process in each node and can see total of 144 process.

In EXADATA 11.2.0.4(APR2020CPU) 2 Node RAC  ==> It takes about 6 minutes consistently to gather the steps.

In EXADATA 12.2.0.1(April 2020 CPU)  Single Node==> It takes about 6 minutes consistently to gather the stats.

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