STL_PARSE
Analyzes query steps that parse strings into binary values for loading.
STL_PARSE is visible to all users. Superusers can see all rows; regular users can see only their own data. For more information, see Visibility of data in system tables and views.
Note
STL_PARSE only contains queries run on main clusters. It doesn't contain queries run on concurrency scaling clusters. To access queries run on both main and concurrency scaling clusters, we recommend that you use the SYS monitoring view SYS_QUERY_DETAIL . The data in the SYS monitoring view is formatted to be easier to use and understand.
Table columns
Column name | Data type | Description |
---|---|---|
userid | integer | ID of the user who generated the entry. |
query | integer | Query ID. The query column can be used to join other system tables and views. |
slice | integer | Number that identifies the slice where the query was running. |
segment | integer | Number that identifies the query segment. |
step | integer | Query step that ran. |
starttime | timestamp | Time in UTC that the query started. Total time includes queuing and execution. with 6 digits of precision for fractional seconds. For example: 2009-06-12 11:29:19.131358 . |
endtime | timestamp | Time in UTC that the query finished. Total time includes queuing and execution. with 6 digits of precision for fractional seconds. For example: 2009-06-12 11:29:19.131358 . |
tasknum | integer | Number of the query task process that was assigned to run the step. |
rows | bigint | Total number of rows that were processed. |
Sample queries
The following example returns all query step results for slice 1 and segment 0 where strings were parsed into binary values.
select query, step, starttime, endtime, tasknum, rows from stl_parse where slice=1 and segment=0;
query | step | starttime | endtime | tasknum | rows -------+------+---------------------+---------------------+---------+-------- 669 | 1 | 2013-08-12 22:35:13 | 2013-08-12 22:35:17 | 32 | 192497 696 | 1 | 2013-08-12 22:35:49 | 2013-08-12 22:35:49 | 32 | 0 525 | 1 | 2013-08-12 22:32:03 | 2013-08-12 22:32:03 | 13 | 49990 585 | 1 | 2013-08-12 22:33:18 | 2013-08-12 22:33:19 | 13 | 202 621 | 1 | 2013-08-12 22:34:03 | 2013-08-12 22:34:03 | 27 | 365 651 | 1 | 2013-08-12 22:34:47 | 2013-08-12 22:34:53 | 35 | 192497 590 | 1 | 2013-08-12 22:33:28 | 2013-08-12 22:33:28 | 19 | 0 599 | 1 | 2013-08-12 22:33:39 | 2013-08-12 22:33:39 | 31 | 11 675 | 1 | 2013-08-12 22:35:26 | 2013-08-12 22:35:27 | 38 | 3766 567 | 1 | 2013-08-12 22:32:47 | 2013-08-12 22:32:48 | 23 | 49990 630 | 1 | 2013-08-12 22:34:17 | 2013-08-12 22:34:17 | 36 | 0 572 | 1 | 2013-08-12 22:33:04 | 2013-08-12 22:33:04 | 29 | 0 645 | 1 | 2013-08-12 22:34:37 | 2013-08-12 22:34:38 | 29 | 8798 604 | 1 | 2013-08-12 22:33:47 | 2013-08-12 22:33:47 | 37 | 0 (14 rows)