Pgpool-II Configuration Parameters - enable_shared_relcache
In the previous post , I explained how to control the client connections by using reserved_connections parameter. In this post I would like to introduce how to use shared relation cache to improve performance. Shared relation cache is added in Pgpool-II 4.1. Before explaining this feature, let's have a look at what relation cache of Pgpool-II is. What is relation cache? If Pgpool-II receives a client query, Pgpool-II will parse the query and extract the table name, then access PostgreSQL system catalogs to get the relation information. Pgpool-II obtains the following information from PostgreSQL system catalogs: whether a table included in the query is a temporary table or not whether a table included in the query is an unlogged table or not whether a function included in the query is "immutable" or not (if a function is used in the query and query cache mode is enabled) If the table included in the query is a temporary table or an unlogged table, then Pgpool-II must sen...