My Oracle Support Banner

ORA-7445[qeaeminmax] Caused By Query With UNION View Whose Branches Have GROUP BY Clause (Doc ID 2442515.1)

Last updated on SEPTEMBER 06, 2018

Applies to:

Oracle Database - Standard Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Information in this document applies to any platform.

Symptoms

User query:

SELECT
... ...
GROUP BY
... ...
UNION ALL
SELECT
... ...
GROUP BY
... ...
; 
Without hints(OFE=12.2.0.1):

| 22  |                   VIEW                                     |                      |     1 |    25 |    14 |  00:00:01 |
| 23  |                    UNION ALL PUSHED PREDICATE              |                      |       |       |       |           | *<<<<<<---------
| 24  |                     SORT GROUP BY                          |                      |     1 |    61 |     7 |  00:00:01 |
With hints(OFE=12.1.0.2):

| 20  |                     VIEW                                |                      |     2 |    50 |    82 |  00:00:01 |
| 21  |                      UNION-ALL                          |                      |       |       |       |           |
| 22  |                       HASH GROUP BY                     |                      |     1 |    61 |    41 |  00:00:01 |

 

 

Cause

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
Symptoms
Cause
Solution
References


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