Query with Analytic Windowing Function, Such as ROW_NUMBER OVER PARTITION BY, is Slower in Release

(Doc ID 2118138.1)

Last updated on MAY 10, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 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.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms