Purpose
GV$SQL_WORKAREA_HISTOGRAM displays the statistics of all previous work area executions, such as the total number of fully in-memory executions consumed 1 MB to 2 MB of memory and the number of executions in one-pass mode.
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| LOW_OPTIMAL_SIZE | NUMBER(38) | NO | The minimum memory for the workarea in optimal mode. |
| HIGH_OPTIMAL_SIZE | NUMBER(38) | NO | The maximum memory for the workarea in optimal mode. |
| OPTIMAL_EXECUTIONS | NUMBER(38) | NO | The number of executions in optimal mode in the workarea with a memory size between values of LOW_OPTIMAL_SIZE and HIGH_OPTIMAL_SIZE. |
| ONEPASS_EXECUTIONS | NUMBER(38) | NO | The number of executions in one-pass mode in the workarea with a memory size between values of LOW_OPTIMAL_SIZE and HIGH_OPTIMAL_SIZE. |
| MULTIPASSES_EXECUTIONS | NUMBER(38) | NO | The number of executions in multi-pass mode in the workarea with a memory size between values of LOW_OPTIMAL_SIZE and HIGH_OPTIMAL_SIZE. |
| TOTAL_EXECUTIONS | NUMBER(38) | NO | The total number of executions in the workarea. |
| CON_ID | NUMBER(38) | NO | The ID of the tenant. |