GS_BLOCKLIST_QUERY records job blocklist and exception information. This table uses unique_sql_id as the unique index to collect statistics on job exception information and record blocklist information. You can associate GS_BLOCKLIST_QUERY with GS_WLM_SESSION_INFO to obtain the query column and execution information of a job.
GaussDB(DWS) also provides the GS_BLOCKLIST_QUERY view for querying job blocklist and exception information. This view can directly display the query column. This view depends on GS_WLM_SESSION_INFO. If the GS_WLM_SESSION_INFO table is large, the query may take a long time.
Name |
Type |
Reference |
Description |
---|---|---|---|
unique_sql_id |
bigint |
- |
Unique query ID generated based on the query parsing tree. |
block_list |
boolean |
- |
Check whether a job is in the blocklist. |
except_num |
integer |
- |
Query the number of job exceptions. |
except_time |
timestamp |
- |
Query the time when the last job exception occurred. |