本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
Amazon Athena 终端节点和配额
以下是此服务的服务终端节点和服务配额。要通过编程方式连接到 AWS 服务,您需要使用终端节点。除了标准 AWS 终端节点之外,一些 AWS 服务还在选定区域提供 FIPS 终端节点。有关更多信息,请参阅 AWS 服务终端节点。服务配额(也称为限制)是您的 AWS 账户使用的服务资源或操作的最大数量。有关更多信息,请参阅AWS 服务配额。
服务终端节点
区域名称 | 区域 | 终端节点 | 协议 |
---|---|---|---|
美国东部 (俄亥俄) | us-east-2 |
athena.us-east-2.amazonaws.com athena-fips.us-east-2.amazonaws.com |
HTTPS HTTPS |
美国东部 (弗吉尼亚北部) | us-east-1 |
athena.us-east-1.amazonaws.com athena-fips.us-east-1.amazonaws.com |
HTTPS HTTPS |
美国西部 (加利福尼亚北部) | us-west-1 |
athena.us-west-1.amazonaws.com athena-fips.us-west-1.amazonaws.com |
HTTPS HTTPS |
美国西部 (俄勒冈) | us-west-2 |
athena.us-west-2.amazonaws.com athena-fips.us-west-2.amazonaws.com |
HTTPS HTTPS |
非洲(开普敦) | af-south-1 | athena.af-south-1.amazonaws.com | HTTPS |
亚太区域 (香港) | ap-east-1 | athena.ap-east-1.amazonaws.com | HTTPS |
亚太区域 (孟买) | ap-south-1 | athena.ap-south-1.amazonaws.com | HTTPS |
亚太区域 (首尔) | ap-northeast-2 | athena.ap-northeast-2.amazonaws.com | HTTPS |
亚太地区 (新加坡) | ap-southeast-1 | athena.ap-southeast-1.amazonaws.com | HTTPS |
亚太地区 (悉尼) | ap-southeast-2 | athena.ap-southeast-2.amazonaws.com | HTTPS |
亚太地区 (东京) | ap-northeast-1 | athena.ap-northeast-1.amazonaws.com | HTTPS |
加拿大(中部) | ca-central-1 | athena.ca-central-1.amazonaws.com | HTTPS |
中国 (北京) | cn-north-1 | athena.cn-north-1.amazonaws.com.cn | HTTPS |
中国(宁夏) | cn-northwest-1 | athena.cn-northwest-1.amazonaws.com.cn | HTTPS |
歐洲 (法蘭克福) | eu-central-1 | athena.eu-central-1.amazonaws.com | HTTPS |
歐洲 (愛爾蘭) | eu-west-1 | athena.eu-west-1.amazonaws.com | HTTPS |
歐洲 (倫敦) | eu-west-2 | athena.eu-west-2.amazonaws.com | HTTPS |
「歐洲」(米蘭) | eu-south-1 | athena.eu-south-1.amazonaws.com | HTTPS |
歐洲 (巴黎) | eu-west-3 | athena.eu-west-3.amazonaws.com | HTTPS |
歐洲 (斯德哥爾摩) | eu-north-1 | athena.eu-north-1.amazonaws.com | HTTPS |
中东 (巴林) | me-south-1 | athena.me-south-1.amazonaws.com | HTTPS |
南美洲 (圣保罗) | sa-east-1 | athena.sa-east-1.amazonaws.com | HTTPS |
AWS GovCloud (美国) 东部 | us-gov-east-1 |
athena.us-gov-east-1.amazonaws.com athena-fips.us-gov-east-1.amazonaws.com |
HTTPS HTTPS |
AWS GovCloud (美国西部) | us-gov-west-1 |
athena.us-gov-west-1.amazonaws.com athena-fips.us-gov-west-1.amazonaws.com |
HTTPS HTTPS |
要下载最新版本的 JDBC 驱动程序及其文档,请参阅将 Athena 与 JDBC 驱动程序一起使用。
有关早期版本的 JDBC 驱动程序及其文档的更多信息,请参阅使用早期版本的 JDBC 驱动程序。
要下载最新版本和早期版本的 ODBC 驱动程序及其文档,请参阅使用 ODBC 连接到 Athena。
Service Quotas
资源 | 默认值 |
---|---|
活动的 DDL 查询的数量。DDL 查询包括 CREATE TABLE 和 CREATE TABLE ADD PARTITION 查询。
|
20 |
活动的 DML 查询的数量。DML 查询包括 |
20 |
DDL 查询超时 | 600 分钟 |
DML 查询超时 | 30 分钟 |
允许的最大查询字符串长度 | 262144 字节 |
Athena API 对每个账户的 API 调用数量(不是每个查询)具有以下默认配额:
API 名称 | 每秒默认调用次数 | 突增容量 |
---|---|---|
BatchGetNamedQuery 、ListNamedQueries 、ListQueryExecutions
|
5 | 最多 10 个 |
CreateNamedQuery 、DeleteNamedQuery 、GetNamedQuery |
5 | 最多 20 个 |
BatchGetQueryExecution |
20 | 最多 40 个 |
StartQueryExecution 、StopQueryExecution |
20 | 最多 80 个 |
GetQueryExecution 、GetQueryResults |
100 | 最多 200 个 |
例如,对于 StartQueryExecution
,每秒最多可以调用 20 次。此外,如果此 API 在 4 秒内未被调用,则您账户的突增容量 将累积至最多 80 次调用。在这种情况下,应用程序在突增模式下最多可以对此 API 进行 80 次调用。
如果您使用这些 API 中的任何一个,并且超出了每秒调用次数的默认配额或您账户中的突增容量,则 Athena API 会发出类似于以下内容的错误:“ClientError: An error occurred (ThrottlingException) when calling the <API_name> operation: Rate exceeded. (ClientError:调用操作时发生错误 (ThrottlingException):超出速率。)”
减少每秒调用次数或此账户的 API 突增容量。要请求提高配额,请联系 AWS Support。打开 AWS Support Center (AWS 支持中心)
无法在 Athena 服务配额控制台中更改此配额。
有关数据库、表和分区的配额的信息,请参阅Service Quotas。如果您尚未迁移到 AWS Glue Data Catalog,则每个表的分区数为 20000。