My Oracle Support Banner

Query with Analytic Windowing Function, Such as ROW_NUMBER OVER PARTITION BY, is Slower in Release (Doc ID 2118138.1)

Last updated on FEBRUARY 18, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


On, a query containing an analytic windowing function (such as ROW_NUMBER () OVER PARTITION BY) is performing poorly.  Following is an example:

Notice how the cardinality estimate at line one has changed from one to 77,330.


There may have been a recent upgrade to Oracle Database Release  The performance of the query is worse now than it was on the prior release.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.