Qingqing Zhou wrote:
> A similar problem was reported before:
>
> http://archives.postgresql.org/pgsql-admin/2005-12/msg00266.php
>
> But we conclude that's not related to pgstats. See if that's related to
> your situation.
Unfortunately, I don't think so. The 8.0.3 run just fine. And I don't
see any pgsql_tmp files. The problems started after migration to 8.1.2.
I posted to pgsql-bugs, following Tom suggestion.
BTW, I made some benchmarks on test machine (which is 32bit 2xPIII
1.4GHz) with pgbench and I was quite amazed:
pgbench -S -c 50 -t 10000 -v pgbench
with stats collector disabled resulted in:
tps = 3178.346439 (including connections establishing)
tps = 3183.360731 (excluding connections establishing)
with stats collector enabled, but stats_command_prompt disabled:
tps = 3143.376908 (including connections establishing)
tps = 3147.564695 (excluding connections establishing)
and with stats_command_prompt enabled:
tps = 2446.136610 (including connections establishing)
tps = 2448.785260 (excluding connections establishing)
However, I didn't notice any suspicious write activity.
Thanks for suggestion,
--
Marcin