AWS Athena concurrency limits: Number of submitted queries VS number of running queries

前端 未结 1 785
耶瑟儿~
耶瑟儿~ 2020-12-15 10:39

According to AWS Athena limitations you can submit up to 20 queries of the same type at a time, but it is a soft limit and can be increased on request. I use boto3

相关标签:
1条回答
  • 2020-12-15 11:12

    Your account's limits for the Athena service is not an SLA, it's more of a priority in the query scheduler.

    Depending on available capacity your queries may be queued even though you're not running any other queries. Exactly what a higher concurrency limit means is internal and could change, but in my experience it's best to think of it as the priority by which he query scheduler will deal with your query. Queries for all accounts run in the same server pool(s) and if everyone is running queries there will not be any capacity left for you.

    You can see this in action by running the same query over and over again and then plot the query execution metrics over time, you will notice that they vary a lot, and you will notice spikes in the time your queries are queued on the top of every hour – when everyone else is running their scheduled queries.

    0 讨论(0)
提交回复
热议问题