Skip to content

Commit 6d421e0

Browse files
author
Daniel García Aubert
committed
Update doc
1 parent 99c7a6e commit 6d421e0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/batch_queries.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A Batch Query enables you to request queries with long-running CPU processing times. Typically, these kind of requests raise timeout errors when using the SQL API. In order to avoid timeouts, you can use Batch Queries to [create](#create-a-job), [read](#read-a-job) and [cancel](#cancel-a-job) queries. You can also run a [chained batch query](#chaining-batch-queries) to chain several SQL queries into one job. A Batch Query schedules the incoming jobs and allows you to request the job status for each query.
44

5-
_Batch Queries are not intended to be used for large query payloads that contain over 8192 characters (8kb). For instance, if you are inserting a large number of rows into your table, you still need to use the [Import API](https://carto.com/docs/carto-engine/import-api/) or [SQL API](https://carto.com/docs/carto-engine/sql-api/) for this type of data management. Batch Queries are specific to queries and CPU usage._
5+
_Batch Queries are not intended to be used for large query payloads that contain over 16384 characters (16kb). For instance, if you are inserting a large number of rows into your table, you still need to use the [Import API](https://carto.com/docs/carto-engine/import-api/) or [SQL API](https://carto.com/docs/carto-engine/sql-api/) for this type of data management. Batch Queries are specific to queries and CPU usage._
66

77
**Note:** In order to use Batch Queries, you **must** be [authenticated](https://carto.com/docs/carto-engine/sql-api/authentication/) using API keys.
88

@@ -486,7 +486,6 @@ For best practices, follow these recommended usage notes when using Batch Querie
486486
487487
- Batch Queries are not intended for large query payloads (e.g: inserting thousands of rows), use the [Import API](https://carto.com/docs/carto-engine/import-api/) for this type of data management.
488488
489-
- There is a limit of 8kb per job. The following error message appears if your job exceeds this size:
490-
491-
`Your payload is too large. Max size allowed is 8192 (8kb)`
489+
- There is a limit of 16kb per job. The following error message appears if your job exceeds this size:
492490
491+
`Your payload is too large. Max size allowed is 16384 (16kb)`

0 commit comments

Comments
 (0)