Oracle Solution for Error ora-37134

Solution for Oracle Error ORA-37134

ORA-37134: (XSCCOMP09) You cannot add new values to workspace object

because it includes positions for precomputed aggregate values.

What triggered the Error:

The user attempted to create a new position in a compressed composite, either directly (using MAINTAIN MERGE or MAINTAIN ADD) or by storing a value into 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.

What should we do to fix it:

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