My Oracle Support Banner

Running DBMS_COMPRESSION.GET_COMPRESSION_RATIO Fails With An ORA-01950 Error (Doc ID 3010971.1)

Last updated on MARCH 23, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.20.0.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 19.20.0.0.0 version, Advanced Compression

When attempting to run DBMS_COMPRESSION.GET_COMPRESSION_RATIO
the following error occurs.

ERROR
-----------------------
Error report -
ORA-01950: no privileges on tablespace 'USERS'
ORA-06512: at "SYS.PRVT_COMPRESSION", line 1321
ORA-06512: at "SYS.PRVT_COMPRESSION", line 1315
ORA-06512: at "SYS.PRVT_COMPRESSION", line 1032
ORA-06512: at "SYS.PRVT_COMPRESSION", line 252
ORA-06512: at "SYS.DBMS_COMPRESSION", line 250
ORA-06512: at line 9

Error can be reproduced as follows:

 

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


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