Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 1.01 KB


Use the SVL_S3RETRIES view to get information about why an Amazon Redshift Spectrum query based on Amazon S3 has failed.

SVL_S3RETRIES 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

[See the AWS documentation website for more details]

Sample Query

The following example retrieves data about failed S3 queries.

SELECT stl_s3retries.query, stl_s3retries.segment, stl_s3retries.node, stl_s3retries.slice, stl_s3retries.eventtime, stl_s3retries.retries, 
stl_s3retries.successful_fetches, stl_s3retries.file_size, btrim((stl_s3retries."location")::text) AS "location", btrim((stl_s3retries.message)::text)
AS message FROM stl_s3retries;
You can’t perform that action at this time.