View a markdown version of this page

Diagnostic queries for query tuning - Amazon Redshift

Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026. We will start enforcing it in phases. For more information on the details of Python end of life and migration options, see the blog post that was published on June 30, 2025.

Diagnostic queries for query tuning

Use the following queries to identify issues with queries or underlying tables that can affect query performance. We recommend using these queries with the query tuning processes discussed in Query analysis and improvement.

Note

These queries are for Amazon Redshift provisioned clusters. These queries are not for use with Redshift Serverless workgroups.