We are exploring aurora serverless as a database storage for one of our project. While doing the POC to fetch events from aurora serverless cluster we are receiving "Database returned more than the allowed response size limit" exception.
- Is there an in build solution for this? Is there a token mechanism similar to dynamoDB in aurora serverless?
- Fetching 50,000 quickly is one of our key requirement. Should we use aurora or aurora serverless?
More details about database: Aurora PostgreSQL server less.
For doing POC We are using data APIs, which have these limitations.
import boto3;
client = boto3.client('rds-data')
import sys;
sql_statement = "select * from table_name limit 1000"
response = client.execute_statement(
database='mydb',
secretArn='<secret_arn',
resourceArn='<resource_arn>',
sql=sql_statement
)
print(response);