3 ms·
Might consider using the Athena Federated Query. Essentially it is a lambda that knows how to get data from a database instance and write it to s3. It is very w
by singlow 4y ago
Might consider using the Athena Federated Query. Essentially it is a lambda that knows how to get data from a database instance and write it to s3. It is very well optimized for partitioned tables.
https://github.com/awslabs/aws-athena-query-federation/tree/master/athena-postgresql https://github.com/awslabs/aws-athena-query-federation/tree/...
Once that is configured, execute a Create-Table-As (CTAS) or insert query using a select from the configured lambda-backed catalog.
I have only tryed the mysql version, but they docs indicate they are very similar.