From: Jamison, Kirk/ジャミソン カーク <k.jami...@fujitsu.com> > For non-recovery path, did you mean by any chance > measuring the cache hit rate for varying shared_buffers?
No. You can test the speed of DropRelFileNodeBuffers() during normal operation, i.e. by running TRUNCATE on psql, instead of performing recovery. To enable that, you can just remove the checks for recovery, i.e. removing the check if InRecovery and if the value is cached or not. Regards Takayuki Tsunakawa