Redshift Serverless express configuration: first SQL result, timed
One script times Redshift from the first API call to the first query result, then removes its data.
AWS Cloud
Region us-east-1
Service-managed, nothing in your VPC
quickstart.py
boto3 1.44.17
Redshift Data API
IAM auth, no workgroup created
Redshift Serverless express
express-default
database dev, 64 RPU base
AWS Glue Data Catalog
database and table orders
Amazon S3 bucket
orders.csv, 10 rows
1
2
3
4
5
6
1
2
3
4
5
6
LINES
Create and delete the demo data
SQL statement and result
Read in place as the caller's IAM identity
FLOW
The script uploads a 10 row CSV and registers it as an AWS Glue table.
The clock starts. With --activate, GetExpressConfiguration activates the Region once.
ExecuteStatement goes to the express-default endpoint. Nothing is provisioned.
Redshift resolves awsdatacatalog.<database>.orders in the Glue Data Catalog.
It reads the CSV from S3 and returns the rows. The clock stops.
The script deletes its data, then lists workgroups and namespaces.