Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-37134

(XSCCOMP09) cannot add new values to workspace object because it includes positions for precomputed aggregate values

Cause

An attempt was made to create a new position in a compressed composite, either directly (using MAINTAIN MERGE or MAINTAIN ADD) or by storing a value in the variable dimensioned by the compressed composite. This is not allowed when the variable has been precomputed using the AGGREGATE command. Once the AGGREGATE command is run on a variable dimensioned by a compressed composite, the compressed composite becomes read-only until the computed values are removed with the CLEAR command.


Action

Run the CLEAR AGGREGATES command to remove the computed values from the variable and then rerun the failed operation. Note that the CLEAR AGGREGATES command removes all the data computed during the last AGGREGATE command on this variable.