[YSQL] Add flag controlling relcache file usage #19226
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-8018
Description
Currently, the first Postgres backend that starts will preload its catalog cache in order to build the relcache init file. Subsequent connections do not preload their catalog cache, instead relying on the previously built relcache init file and on-demand RPC requests to master during query execution.
This behavior is undesirable for two reasons:
To remedy this, we would like to add a flag that controls whether the relcache file is used, allowing customers to choose between (a) predictable memory usage/low master overhead and (b) lower memory usage during DML-only workloads.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: