Use AWS Glue Data Catalog system tables
AWS Glue Data Catalog system tables are read-only Apache Iceberg tables that hold your catalog
metadata. The Data Catalog writes them to the AWS managed aws-catalog table bucket in
Amazon S3 Tables, in your account and in the same Region as your catalog. You can query them
with SQL from Amazon Athena, Amazon Redshift, Amazon EMR, or any Iceberg-compatible engine. You turn on system
tables with an account-level setting in each Region. For an overview of system tables, see
Working
with system tables in the Amazon S3 User Guide.
The Data Catalog offers three system tables. You turn on each one separately.
| System table | What it exports | Namespace |
|---|---|---|
All assets in your Data Catalog: AWS Glue resources such as tables and columns, assets from participating AWS services (see Asset types for AWS services), and business metadata such as glossaries, glossary terms, glossary term associations, and metadata form attachments. |
|
|
Lineage events from every participating service, in a single table. Use it to trace where data comes from and which downstream tables and jobs depend on it. |
|
|
AWS Glue Data Quality results from every service that runs it, including rule results, data profiles, profile distributions, and observations. Use them to track quality over time and find datasets that fail checks. |
|
How system tables work
The Data Catalog writes system tables to the AWS managed aws-catalog table bucket
in your account and Region. Each system table has its own namespace in that bucket. All
three share the bucket and its encryption settings.
aws-catalog/ # S3 Tables bucket (one per account and Region) +-- glue/ # catalogs, databases, tables, table_columns +-- catalog_metadata/ # glossaries, glossary_terms, associated_glossary_terms, | # attachments, item_attachments +-- lineage/ # events +-- data_quality/ # aws_data_quality_rule_results, aws_data_quality_profiles, # aws_data_quality_profiles_distributions, aws_data_quality_observations
The Data Catalog manages the tables for you, including their schemas, partitioning, compaction, and snapshots. The tables are read-only, and you control who can read them. A system table appears the first time data of that kind exists. For example, the glossary tables appear after you create your first glossary.
Prerequisites
To turn system tables on or off, you need permission to call the export configuration
operations. You also need permission to create or verify the shared
aws-catalog table bucket and to configure its encryption and bucket
policy.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "ManageExportConfiguration", "Effect": "Allow", "Action": [ "glue:GetDataCatalogExportConfiguration", "glue:PutDataCatalogExportConfiguration" ], "Resource": "*" }, { "Sid": "ManageSharedExportBucket", "Effect": "Allow", "Action": [ "s3tables:CreateTableBucket", "s3tables:PutTableBucketEncryption", "s3tables:PutTableBucketPolicy", "s3tables:GetTableBucket", "s3tables:ListTables" ], "Resource": "arn:aws:s3tables:region:account-id:bucket/aws-catalog" } ] }
Encrypting system tables
By default, S3 Tables encrypts all data with SSE-S3 (AES256). To use a customer
managed AWS KMS key instead, pass it in
S3TablesConfiguration.EncryptionConfiguration (SseAlgorithm set
to aws:kms, plus the KmsKeyArn) on the call that turns on the
first export.
The Data Catalog sets the encryption of the aws-catalog table bucket when it
creates the bucket. When you turn on another system table later, use the same
encryption configuration. If the request's key or algorithm differs from the
bucket's, the request fails with the message The existing table bucket
aws-catalog uses a different encryption configuration than the request.
Deleting the aws-catalog table bucket permanently removes all
system table data, and you can't undo it.
To change the encryption, turn off all system tables, delete the
aws-catalog table bucket, and then turn them on again with the new
encryption configuration.
Identities that query the system tables need kms:Decrypt on the
key.
Identity policy for the catalog system table
Grant the principals that run exports the following permissions. The following
policy grants the IAM principal access to decrypt a specific AWS Glue Data Catalog, scoped
with the glue_catalog_id encryption context (the value is your
catalogId).
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowDescribeKey", "Effect": "Allow", "Action": [ "kms:DescribeKey" ], "Resource": "arn:aws:kms:us-east-1:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab", "Condition": { "StringEquals": { "aws:SourceAccount": "123456789012" } } }, { "Sid": "AllowExportOfGlueDataCatalogByCatalogId", "Effect": "Allow", "Action": [ "kms:Decrypt", "kms:GenerateDataKey" ], "Resource": "arn:aws:kms:us-east-1:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab", "Condition": { "StringEquals": { "aws:SourceAccount": "123456789012", "kms:EncryptionContext:glue_catalog_id": "123456789012" } } } ] }
Identity policy for the data quality system table
The identity that configures exports needs kms:DescribeKey on the
key. It doesn't need kms:Decrypt or kms:GenerateDataKey.
Don't add an aws:SourceAccount condition to this grant; with that
condition, the enable call fails with AccessDeniedException.
{ "Sid": "DescribeExportKey", "Effect": "Allow", "Action": ["kms:DescribeKey"], "Resource": "arn:aws:kms:region:account-id:key/key-id" }
Granting the Data Catalog export service principal and S3 Tables maintenance service principal permissions to your KMS key
To allow the Data Catalog to export encrypted catalog metadata and to allow automatic table maintenance like compaction and unreferenced file removal on the exported tables, you must grant the following service principals access to your KMS key:
systemtables.catalog.amazonaws.com— exports encrypted catalog metadata to S3 Tables.maintenance.s3tables.amazonaws.com— performs automatic table maintenance on the exported tables.
The Data Catalog writes to the AWS managed table bucket named
aws-catalog. The KMS key used for encrypting the S3 Tables
export does not need to be the same as the one used to encrypt the Data Catalog at
rest. The Data Catalog supports only symmetric KMS keys. To grant these service
principals access, you can use the following example key policy. In this policy,
the maintenance.s3tables.amazonaws.com service principal is granted
permission to use a specific KMS key for encrypting and decrypting tables in
the aws-catalog table bucket. For more information about the S3
Tables maintenance service principal, see Permission
requirements for S3 Tables SSE-KMS encryption in the
Amazon Simple Storage Service User Guide.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowSystemTablesDescribeKey", "Effect": "Allow", "Principal": { "Service": "systemtables.catalog.amazonaws.com" }, "Action": [ "kms:DescribeKey" ], "Resource": "*", "Condition": { "StringEquals": { "aws:SourceAccount": "123456789012" } } }, { "Sid": "AllowSystemTablesEncryptDecrypt", "Effect": "Allow", "Principal": { "Service": "systemtables.catalog.amazonaws.com" }, "Action": [ "kms:GenerateDataKey", "kms:Decrypt" ], "Resource": "*", "Condition": { "StringEquals": { "aws:SourceAccount": "123456789012" }, "StringLike": { "kms:EncryptionContext:aws:s3:arn": "arn:aws:s3tables:us-east-1:123456789012:bucket/aws-catalog/table/*", "kms:ViaService": "s3.us-east-1.amazonaws.com" } } }, { "Sid": "AllowS3TablesMaintenanceEncryptDecrypt", "Effect": "Allow", "Principal": { "Service": "maintenance.s3tables.amazonaws.com" }, "Action": [ "kms:GenerateDataKey", "kms:Decrypt" ], "Resource": "*", "Condition": { "StringEquals": { "aws:SourceAccount": "123456789012" }, "StringLike": { "kms:EncryptionContext:aws:s3:arn": "arn:aws:s3tables:us-east-1:123456789012:bucket/aws-catalog/*" } } } ] }
Turning system tables on and off
When you turn off a system table, its existing tables and data stay in the aws-catalog
table bucket. They stop updating; nothing is deleted. You can turn a system table back
on later with the same encryption configuration, without deleting the bucket. For the
catalog system table, first delete the asset tables in the glue namespace. Otherwise the
request fails with the message Delete the asset tables in the aws-catalog table bucket
before enabling export.
Checking export status
aws glue get-data-catalog-export-configuration
{ "S3TablesConfiguration": { "TableBucketArn": "arn:aws:s3tables:us-east-1:111122223333:bucket/aws-catalog", "EncryptionConfiguration": { "SseAlgorithm": "aws:kms", "KmsKeyArn": "arn:aws:kms:us-east-1:111122223333:key/key-id" } }, "Assets": { "S3TablesExport": "ENABLED", "S3TablesExportState": { "Status": "ENABLED" } }, "Lineage": { "S3TablesExport": "ENABLED", "S3TablesExportState": { "Status": "ENABLING" } }, "DataQuality": { "S3TablesExport": "ENABLED", "S3TablesExportState": { "Status": "ENABLED" } }, "CreatedAt": "2026-10-02T17:45:10.000Z", "UpdatedAt": "2026-10-02T17:45:10.000Z" }
Status is one of ENABLING, ENABLED,
DISABLING, DISABLED, or FAILED. The data
quality system table has no ENABLING state. Read the bucket's
encryption from the GetDataCatalogExportConfiguration response. The
PutDataCatalogExportConfiguration response mirrors the request, so it
might not show the stored encryption when the request leaves out
S3TablesConfiguration.
If Status is FAILED, the response doesn't include the reason. Errors
that occur when you turn on a system table are returned by
PutDataCatalogExportConfiguration. For a FAILED status
after that, contact AWS Support.
Querying system tables
Before you query, integrate the aws-catalog table bucket with the Data
Catalog. For more information, see Integrating with Amazon S3 Tables.
Readers need access to the tables through IAM or AWS Lake Formation.
System tables can contain sensitive information, such as SQL text, rule expressions, and identities. Grant read access only to the people who need it.
For the schema and example queries of each system table, see the child pages: