<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:14px"><div>Hi, I&#39;d like to suggest a new parameter called check_unlogged_table which is</div><div>very similiar to check_temp_table.</div><div><br></div>
<div>Our pgpool server with streaming replication backends handles many short-lived</div><div>sessions per second, and we&#39;ve noticed that the master backend is running lots</div><div>of system catalog queries. This problem is alleviated when check_temp_table is</div>
<div>set to 0, but the master server still consumes twice as much CPU time as the</div><div>slave, because of session-local checking for unlogged tables.</div><div><br></div><div>Since we&#39;re not planning to use unlogged tables, we&#39;d like to avoid this</div>
<div>unnecessary cost, as we can do so for temp tables with check_temp_table</div><div>parameter. We&#39;ve added the parameter to our fork of pgpool2. It would be nice</div><div>if it could be merged into the trunk.</div>
<div><br></div><div>Attached is the patch. The code is almost identical to that for</div><div>check_temp_table. Please take a look.</div><div><br></div><div>Thanks.</div><div>Junegunn Choi.</div></div></div>