Data organization for integrations with Amazon S3 Tables
This is preview documentation for the Aurora PostgreSQL integration with Amazon S3
Tables. Before using this capability, review the Betas and Previews terms in
the AWS Service
Terms
The Aurora PostgreSQL integration with Amazon S3 Tables creates one namespace in the target table bucket for each source database that your data rules match. In each namespace, it creates one Apache Iceberg table for each source table that your data rules include and that can be replicated. For the tables that cannot be replicated, see Aurora PostgreSQL table limitations.
Namespace and table names
The integration names namespaces and tables as follows:
-
Each namespace is named
, whereprefix_databaseprefixis theTargetPrefixvalue in your data rules anddatabaseis the source database name. For more information about data rules, see Data rules for integrations with Amazon S3 Tables. -
Each table is named
, whereschema_tableschemais the source schema name andtableis the source table name.
Uppercase ASCII letters are changed to lowercase, and hyphens are changed to
underscores. The resulting name must follow the Amazon S3 Tables naming rules: 1 to 255
characters, only lowercase letters, numbers, and underscores, and beginning with a letter
or number. A namespace name also cannot start with aws. For more information,
see Amazon S3 table bucket, table, and
namespace naming rules in the Amazon Simple Storage Service User Guide.
If a name does not follow these rules, for example because the source name contains a
space, a period, or a non-ASCII character, the table is not replicated. It enters the
FAILED state with the reason
SOURCE_UNSUPPORTED_TABLE_NAME. If the name collides with another table
name that is already replicating, the table is not replicated and enters the
FAILED state with the reason TARGET_NAME_COLLISION.
For example, the table public.orders in the database sales,
with the prefix my_prefix, replicates to the Apache Iceberg table
public_orders in the namespace my_prefix_sales.
Name translation examples
The following table shows how the integration translates source names into namespace
and table names when the target prefix is acme. In this table, "folded to
lowercase" means that uppercase letters are changed to lowercase.
| Source database, schema, and table | Target namespace | Target table | Notes |
|---|---|---|---|
app_db / public /
OrderHistory |
acme_app_db |
public_orderhistory |
Uppercase letters are folded to lowercase. |
app_db / public /
"Orders" |
acme_app_db |
public_orders |
Uppercase letters are folded to lowercase. |
app_db / public /
orders |
acme_app_db |
public_orders |
Collides with the "Orders" source table. |
AppDB / public /
customers |
acme_appdb |
public_customers |
The database name is folded to lowercase. |
app-db / sales /
order-items |
acme_app_db |
sales_order_items |
Hyphens become underscores (_). The namespace collides
with app_db. |
app_db / "Sales_EU" /
"OrderHistory" |
acme_app_db |
sales_eu_orderhistory |
Both the schema name and the table name are folded to lowercase. |
app_db / sales /
q1_data |
acme_app_db |
sales_q1_data |
Collides with app_db / sales_q1 /
data. If both are in the same integration, the table
fails with TARGET_NAME_COLLISION. |
app_db / sales_q1 /
data |
acme_app_db |
sales_q1_data |
Collides with app_db / sales /
q1_data. If both are in the same integration, the table
fails with TARGET_NAME_COLLISION. |
app_db / public /
order_history_2026 |
acme_app_db |
public_order_history_2026 |
Digits and underscores (_) are kept. |
app_db / public / "Order
History" |
acme_app_db |
No table created | The table enters the FAILED state with the reason
SOURCE_UNSUPPORTED_TABLE_NAME because the name contains
a space. |
app_db / public /
"café" |
acme_app_db |
No table created | The table enters the FAILED state with the reason
SOURCE_UNSUPPORTED_TABLE_NAME because the name contains
a non-ASCII character. |
"App DB" / public /
orders |
No namespace created | No table created | The namespace fails, so every table in this database fails. |
Column names
Unlike namespace and table names, column names are not translated. Each column keeps
its exact source name, including uppercase letters, hyphens, periods, non-ASCII
characters, and a leading underscore or digit. For example, CustomerName,
ORDER_ID, first-name, a.b, café,
_lead, and 1st all replicate unchanged.
A column name cannot contain a space, a comma (,), a semicolon
(;), braces ({ or }), parentheses
(( or )), an equals sign (=), a tab, or a
newline. If a table has such a column, the table is not replicated and enters the
FAILED state with the reason
SOURCE_UNSUPPORTED_COLUMN_NAME. The status_detail value
names the column, for example: Found unsupported character in column name: "my
col". The integration stays active, and its other tables keep
replicating. The same applies when you add or rename a column after you create the
integration. To replicate the table, either exclude the column in your data rules, or
rename the column and then resync the table. For more information, see Resyncing tables manually.
Managed target tables
Amazon S3 Tables shows each target table's format as ICEBERG and shows Amazon RDS
as the managing service. The managing service appears in the managedByService
field of the Amazon S3 Tables GetTable API response. You can query and drop a
target table, but you cannot modify its data (for example, with INSERT, UPDATE, or DELETE
statements). Before you drop a target table, see Namespace-level access control and Lake Formation to learn how dropping it affects
replication.
After you turn on integration with AWS analytics services for table buckets, each
namespace appears as a database in the
s3tablescatalog/ subcatalog
of the AWS Glue Data Catalog, where my-table-bucketmy-table-bucket is the name of your
target table bucket. For instructions, see Turning on integration with AWS analytics services.
To control access to the replicated data for each source database, see Namespace-level access control and Lake Formation. That section also describes what happens when you delete a target table or a namespace.