SQL Performance (MOSC)

MOSC Banner

cardinality differences

On our 19.25 databases (Oracle Linux 8) we are comparing the Explain plan from the same query in 2 databases. It's all the same, but one runs slow and the other is good. The slow one has got all the same/similar numbers … EXCEPT for cardinality, where the slow one has numbers that are roughly double as compared to the one that is good.

The records in the tables are about the same as well. But how does he end up with such different numbers for cardinality ? What would explain such a difference ?

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