Directly ingest data into S3 Tables using PutRows
You can write rows to an S3 Tables table by sending them in a PutRows request. S3 Tables validate each row against the table's schema, buffer rows from every producer that writes to the PutRows API, write them into well-sized Apache Parquet files, and commit them to your table. PutRows is designed for making rows queryable within one minute.
Features
- Managed file layout
-
PutRows combines rows from concurrent API calls that write to a table and commits them to your table when they are close to the table's target file size (512 MB by default), or typically within a minute, whichever condition is met first. For high-throughput tables, PutRows writes files at the target file size as data arrives. For tables with low write volume, S3 Tables maintenance compacts the smaller files in the background.
- Near real-time freshness
-
Rows that you write with PutRows are queryable in your table typically within a minute, and in as little as 10 seconds for high-throughput workloads.
- Validation at write time
-
PutRows checks every row against the table's Iceberg schema before it accepts a request. If any row is invalid, PutRows rejects the request. A successful response means that all of the request's rows will be committed to your table.
- Many producers, no coordination
-
Any number of producers can call PutRows on the same table at the same time. S3 Tables combine accepted rows across PutRows requests and commit them to the table, so producers don't need to coordinate with each other or handle commit conflicts.
For more information about PutRows, see the following topics.