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

SVL_S3LOG

Use the SVL_S3LOG view to get details about Amazon Redshift Spectrum queries at the segment and node slice level.

SVL_S3LOG 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
pid integer The process ID.
query integer The query ID.
segment integer The segment number. A query consists of multiple segments, and each segment consists of one or more steps.
step integer The query step that executed.
node integer The node number.
slice integer The data slice that a particular segment executed against.
eventtime timestamp Time in UTC that the step started executing.
message text Message for the log entry.

Sample Query

The following example queries SVL_S3LOG for the last query executed.

Copy
select * from svl_s3log where query = pg_last_query_id() order by query,segment,slice;