选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Understanding connections in Aurora DSQL

聚焦模式
Understanding connections in Aurora DSQL - Amazon Aurora DSQL
此页面尚未翻译为您的语言。 请求翻译

Amazon Aurora DSQL is provided as a Preview service. To learn more, see Betas and Previews in the AWS Service Terms.

Amazon Aurora DSQL is provided as a Preview service. To learn more, see Betas and Previews in the AWS Service Terms.

To connect to Aurora DSQL, use a standard Postgres driver configured with TLS. To connect, you specify a Postgres role as the user, a password, and an authentication token. Aurora DSQL provides libraries for you to generate authentication tokens in most AWS supported languages. Once you're connected, you can use your session to run transaction for up to 1 hour with a transaction timeout of 5 minutes each. If you start a transaction in the 60th minute, Aurora DSQL still runs the transaction until you reach the limit of five minutes before it closes the session.

Aurora DSQL authenticates each session with a state, such as prepared statements or an active query. A connection is a TLS-wrapped TCP connection that might get rejected if Aurora DSQL can't turn it into a session for any reason. Each session maps to exactly one connection. With a connection, a client can't have a session, and a connection can only have one session in Aurora DSQL.

To make sure that a user with revoked Postgres credentials can't connect to a cluster on an existing session, we authenticate the user against Aurora DSQL's IAM trust tables at the beginning of each transaction.

Connection limits

By default, you can create up to 1000 connections per cluster at 10 connections per second with a burst of 100. For example, if one connection is one token in a token bucket, you begin with 100 available tokens in the bucket. If you create 100 tokens, you have zero remaining tokens and have to wait for a second before you can create more connections. The refill rate is 10 tokens per second. To increase these limits, contact AWS support.

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。