
Description
Query AWS Redshift System Tables is an agent skill that turns on publishing of Redshift system tables to S3 Tables, and then helps query them. System tables are the SYS_ monitoring datasets, such as sys_query_history, sys_query_detail and sys_connection_log. Redshift publishes each one as a continuously updated Apache Iceberg table. The skill covers both Provisioned clusters and Serverless namespaces. The publishing is an opt-in extension of the existing logging APIs. The published tables are read-only, stored in the AWS-managed aws-redshift table bucket, and can be queried from any Iceberg-compatible engine, including Amazon Athena and Amazon Redshift itself. The skill prefers the S3 Tables copy over the live SYS_ views on the cluster when it analyzes history or high-volume data, and gives three reasons. The in-cluster views keep data for a limited window while S3 Tables keeps history far longer. Querying S3 Tables adds no load to the running cluster. And Iceberg tables can be queried at scale and joined with other lake data. The skill separates two terms: a system table is the dataset, while a SYS_ view is the live object on the cluster. It asks users to use IAM roles or temporary credentials, not long-lived access keys. It suits data and platform teams who need the history of their Redshift query and connection activity.…
Highlights
- Publishes SYS_ system tables to S3 Tables as Iceberg
- Works for Provisioned clusters and Serverless namespaces
- Read-only tables queryable from Athena and Redshift
- Prefers S3 Tables history over live in-cluster views
Ratings & Reviews
No ratings yet
Be the first to rate querying-aws-redshift.
People also visit

exploring-data-catalog
Full inventory and audit of AWS Glue Data Catalog assets across S3 Tables

querying-data-lake
Execute and manage Athena SQL queries across default and federated catalogs

migrating-to-amazon-redshift
Guides an end-to-end data-warehouse migration to Amazon Redshift

finding-data-lake-assets
Resolve data lake and lakehouse asset references across Glue Data Catalog, S3
querying-aws-redshift FAQ
What are Redshift system tables?
The SYS_ monitoring datasets, such as sys_query_history, sys_query_detail and sys_connection_log, which the skill can publish to S3 Tables.
Does it work for Serverless?
Yes. The skill covers both Provisioned clusters and Serverless namespaces.
How do I install it?
Run npx skills add https://github.com/aws/agent-toolkit-for-aws --skill querying-aws-redshift in your project.
Which credentials should I use?
The skill asks for IAM roles or temporary credentials and says to avoid long-lived access keys.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Warn for this skill.
What are the best querying-aws-redshift alternatives?
Popular alternatives to querying-aws-redshift include exploring-data-catalog, querying-data-lake and creating-data-lake-table. See all querying-aws-redshift alternatives







