Skip to content

Commit

Permalink
docs: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlukanin committed Jan 13, 2024
1 parent 3772606 commit 95b1d09
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions docs/pages/product/faqs/general.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,3 @@ Yes. Cube Cloud provides free
and a set of [paid tiers](https://cube.dev/pricing). Each tier comes with
additional features, however, you're welcome to use development instances
indefinitely if they satisfy your needs.

## What is the difference between CUBEJS_CONCURRENCY and CUBEJS_DB_MAX_POOL?

`CUBEJS_CONCURRENCY` specifies the maximum number of queries that can be
executed concurrently on your source database. This variable should reflect the
limitations of your database, and will help limit the number of queries that are
sent from cube.

`CUBEJS_DB_MAX_POOL` allows you to set a maximum number of connection pools to
your database. This only applies to databases that use connection pooling
(Postgresql, Redshift, Clickhouse) and is not applicable to databases without it
(BigQuery, Snowflake). The concurrency limit specified in `CUBEJS_CONCURRENCY`
will supersede the number of connections if it is lower.

For example, if your database has a hard concurrency limit of 10 that cannot be
changed, but you wish to raise the concurrency limit to 50 you would first set
`CUBEJS_CONCURRENCY=50` and `CUBEJS_DB_MAX_POOL=5` or higher. Note that some
data warehouses (BigQuery, Snowflake) do not use connection pooling so this
parameter is not applicable.

0 comments on commit 95b1d09

Please sign in to comment.