SVL_S3LOG - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.

Note

SVL_S3LOG only contains queries run on main provisioned clusters. It doesn't contain queries run on concurrency scaling clusters or on serverless namespaces. To access explain plans for queries run on both main clusters, concurrency scaling clusters, and serverless namespaces, we recommend that you use the SYS monitoring view SYS_EXTERNAL_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
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 ran.
node integer The node number.
slice integer The data slice that a particular segment ran 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 that ran.

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