ORA-1422 When Running DBMS_COMPRESSION.GET_COMPRESSION_TYPE While Loading Into Compressed Tables

(Doc ID 1915358.1)

Last updated on AUGUST 07, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

When running DBMS_COMPRESSION.GET_COMPRESSION_TYPE while concurrently loading compressed tables (it does not have to be the same table), you get the error

ORA-1422: exact fetch returns more than requested number of rows

The failing SQL is

SELECT SPARE1 FROM SYS.SEG$ WHERE HWMINCR = :B1;

Cause

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