My Oracle Support Banner

ORA-01467 USING MANY LISTAGG() WITH SAME "OVER( PARTITION BY XX )" CLAUSE (Doc ID 1562517.1)

Last updated on AUGUST 23, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database 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.
***Checked for relevance on 29-DEC-2016***

Symptoms

RDBMS 11.2.0.2 

The following error occurs

ERROR
-----------------------
ORA-01467: sort key too long

 

while running a query that includes about 24 LISTAGG() .. OVER() expressions.

Trying workaround

alter session set "_windowfunc_optimization_settings" = 128;

mentioned in Bug 14178745 - ORA-1467 FOLLOWING UPGRADE FROM 11.1.0.6 TO
11.2.0.3
did not solve the issue


Changes

 

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
Changes
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.