-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add citus.local_shared_pool_size #989
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -385,7 +385,7 @@ citus.max_shared_pool_size (integer) | |
************************************ | ||
|
||
Specifies the maximum number of connections that the coordinator node, across | ||
all simultaneous sessions, is allowed to make per worker node. PostgreSQL must | ||
all simultaneous sessions, is allowed to make per remote node. PostgreSQL must | ||
allocate fixed resources for every connection and this GUC helps ease | ||
connection pressure on workers. | ||
|
||
|
@@ -406,6 +406,22 @@ the note below). The value -1 disables throttling. | |
on the coordinator. This gives extra space for connections required for | ||
repartition queries on the workers. | ||
|
||
citus.local_shared_pool_size (integer) | ||
************************************** | ||
|
||
Specifies the maximum number of connections, across all simultaneous | ||
sessions, is allowed to make to the local node. This setting is relevant | ||
when the local node has shards, such as Citus on Single Node. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the syntax to give a reference to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. :ref:`Citus on Single Node <development>` or :ref:`development` if you want to use the text of the linked header, in this case |
||
|
||
By default, the value is automatically set equal to the half of the node's | ||
own ``max_connections``. | ||
|
||
The setting provides similar throttling as :ref:`max_shared_pool_size`, however | ||
only for local node. The goal is that Citus should refrain to use all the avaliable | ||
connection slots in ``max_connections`` and allow the client backends (e.g., | ||
``psql``) to have enough space to connect. The value -1 disables throttling. | ||
|
||
|
||
citus.max_adaptive_executor_pool_size (integer) | ||
*********************************************** | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this terminology something we want to generally change? Should probably keep it consistent...