Skip to main content

active_queries

Overviewโ€‹

Used to view currently executing queries

Databaseโ€‹

information_schema

Table Informationโ€‹

Column NameTypeDescription
QUERY_IDvarchar(256)The ID of the query
QUERY_START_TIMEvarchar(256)The start time of the query
QUERY_TIME_MSbigintThe execution time of the query
WORKLOAD_GROUP_IDbigintThe ID of the Workload Group to which the query belongs
DATABASEvarchar(256)The Database where the query was executed
FRONTEND_INSTANCEvarchar(256)The IP address of the Frontend instance that received the query request
QUEUE_START_TIMEvarchar(256)The start time of queuing; empty if not queued
QUEUE_END_TIMEvarchar(256)The end time of queuing; empty if not queued
QUERY_STATUSvarchar(256)The status of the query
SQLtextThe text of the query statement

Enter to send ยท Shift+Enter for a new line