Menu
Amazon Redshift
Database Developer Guide (API Version 2012-12-01)

STL_PARSE

Analyzes query steps that parse strings into binary values for loading.

This table 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.

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 executed.
starttime timestamp Time in UTC that the query started executing, 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 executing, 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 execute 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.

Copy
select query, step, starttime, endtime, tasknum, rows from stl_parse where slice=1 and segment=0;
Copy
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)