-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[doc][2024.2.1] Added limitations for YSQL Connection Manager #25458
base: master
Are you sure you want to change the base?
Changes from 1 commit
a1529eb
894dcd4
f2f5a30
6bd8ec9
a9896fe
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 | ||||
---|---|---|---|---|---|---|
|
@@ -97,3 +97,13 @@ The following table describes YB-TServer flags related to YSQL Connection Manage | |||||
| ysql_conn_mgr_server_lifetime | The maximum duration (in seconds) that a backend PostgreSQL connection managed by YSQL Connection Manager can remain open after creation. | 3600 | | ||||||
| ysql_conn_mgr_log_settings | Comma-separated list of log settings for YSQL Connection Manger. Can include 'log_debug', 'log_config', 'log_session', 'log_query', and 'log_stats'. | "" | | ||||||
| ysql_conn_mgr_use_auth_backend | Enable the use of the auth-backend for authentication of logical connections. When false, the older auth-passthrough implementation is used. | true | | ||||||
|
||||||
## Limitations | ||||||
|
||||||
- Changes to default GUC values for a user or database (ALTER ROLE SET/ALTER DATABASE SET queries) may reflect in other pre-existing active sessions. | ||||||
rahulb-yb marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- Connection Manager can only support upto a total of 10,000 pools to route. This includes pools corresponding to dropped users and databases as well. | ||||||
rahulb-yb marked this conversation as resolved.
Show resolved
Hide resolved
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. is this simultaneous, or what exactly? 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. not simultaneous - Connection Manager can route upto 10,000 unique connection pools over its lifetime as a process. As of now, there is no capability to "clean up" the history of pools for "dead" routes corresponding to users or databases that do not exist |
||||||
- Prepared statements may be visible to other sessions within the same connection pool. [#24652](https://github.com/yugabyte/yugabyte-db/issues/24652) | ||||||
rahulb-yb marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- Attempting to use DEALLOCATE/DEALLOCATE ALL queries can result in unexpected behavior. [#24653](https://github.com/yugabyte/yugabyte-db/issues/24653) | ||||||
- As of now, Connection Manager does not facilitate custom configurations per pool. All configurations used will apply to every pool that Connection Manager routes through. | ||||||
rahulb-yb marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- With connection manager enabled, the backend PID stored using JDBC drivers may not accurate. This does not affect backend-specific functionalities (eg. cancel queries), but this PID should not be used to identify the backend process. | ||||||
rahulb-yb marked this conversation as resolved.
Show resolved
Hide resolved
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. tracking issue? |
||||||
- `currval` and `nextval` functions do not work by default with connection manager enabled. They can be supported with the help of the `ysql_conn_mgr_sequence_support_mode` flag. | ||||||
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.
Suggested change
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. the 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. I changed the suggested text slightly
ddhodge marked this conversation as resolved.
Show resolved
Hide resolved
|
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.
can you be more specific? only flags, not YSQL configuration parameters, are listed above - so what values are you talking about?
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.
GUC values have nothing to do with anything previously mentioned on this page; this category of session-specific database objects may not have the correct behaviour when using connection manager as per the limitation I have mentioned. I also use the term "may" on this line because trying to explain the scenario(s) where this behaviour can be seen would dive into too many technical details for what is a very rare corner case.