Skip to content

Commit c44d6d7

Browse files
docs(sdb): update maximum query size MTA-5949 (#4873)
* docs(sdb): update maximum query size MTA-5949 * Update pages/serverless-sql-databases/reference-content/serverless-sql-databases-overview.mdx Co-authored-by: Jessica <[email protected]> --------- Co-authored-by: Jessica <[email protected]>
1 parent 7562163 commit c44d6d7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pages/serverless-sql-databases/reference-content/serverless-sql-databases-overview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ While your database is in an idle state, you will not be billed for compute reso
3333
| vCPU | 0 vCPU | 15 vCPU |
3434
| RAM | 0 GB | 60 GB (4 GB/vCPU) |
3535
| Storage\* | 0 GB | 1 TB |
36-
| Connections\*\* | 0 | 1000 |
36+
| Connections\*\* | 0 | 1,000 |
3737

3838
\* The maximum storage capacity will increase with upcoming releases.
3939

@@ -89,6 +89,6 @@ The following actions must be performed by you directly:
8989

9090
## Technical Limitations
9191

92-
- SQL request size is limited to 512 KB. A single SQL query sent to a Serverless SQL Database cannot exceed 512 KB, but the response to the query is not limited and results tables can exceed 512 KB.
92+
- SQL request size is limited to 1,024 KB. A single SQL query sent to a Serverless SQL Database cannot exceed 1,024 KB, but the response to the query is not limited, and results tables can exceed 1,024 KB.
9393

94-
- The total size of prepared statements is limited to 512 KB per client connection. Refer to the [official PostgreSQ documentation](https://www.postgresql.org/docs/current/sql-prepare.html) for more information on prepared statements.
94+
- The total size of prepared statements is limited to 1,024 KB per client connection. Refer to the [official PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-prepare.html) for more information on prepared statements.

pages/serverless-sql-databases/troubleshooting/maximum-prepared-statements-reached.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ dates:
1818
The error message below appears when trying to create a new prepared statement:
1919

2020
```sh
21-
FATAL: failed to prepare statement: adding the prepared statement would exceed the limit of 524288 bytes for client connection: maximum allowed size of prepared statements for connection reached (SQLSTATE 53400).
21+
FATAL: failed to prepare statement: adding the prepared statement would exceed the limit of 1048576 bytes for client connection: maximum allowed size of prepared statements for connection reached (SQLSTATE 53400).
2222
```
2323

2424
### Cause
2525

26-
The total size of [prepared statements](https://www.postgresql.org/docs/current/sql-prepare.html) on Serverless SQL Databases is limited to 524288 bytes (512 kibibytes) for a single client connection. This limit can be reached for two reasons:
26+
The total size of [prepared statements](https://www.postgresql.org/docs/current/sql-prepare.html) on Serverless SQL Databases is limited to 1,048,576 bytes (1,024 kibibytes) for a single client connection. This limit can be reached for two reasons:
2727

2828
- You (or the PostgreSQL client you are using) created too many prepared statements in a single PostgreSQL connection.
2929

0 commit comments

Comments
 (0)