RE: Cache relation sizes?
Tsunakawa, Takayuki <tsunakawa.takay@jp.fujitsu.com>
From: "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
To: 'Kyotaro HORIGUCHI' <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: "Jamison, Kirk" <k.jamison@jp.fujitsu.com>, "thomas.munro@enterprisedb.com" <thomas.munro@enterprisedb.com>, "david.rowley@2ndquadrant.com" <david.rowley@2ndquadrant.com>, "andres@anarazel.de" <andres@anarazel.de>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-02-06T08:29:54Z
Lists: pgsql-hackers
From: Kyotaro HORIGUCHI [mailto:horiguchi.kyotaro@lab.ntt.co.jp] > Just one counter in the patch *seems* to give significant gain > comparing to the complexity, given that lseek is so complex or it > brings latency, especially on workloads where file is scarcely > changed. Though I didn't run it on a test bench. I expect so, too. > I'm not sure the duration of the 'permanent' there, but it > disappears when server stops. Anyway it doesn't need to be > permanent beyond a server restart. Right, it exists while the server is running. Regards Takayuki Tsunakawa
Commits
-
Optimize DropRelFileNodesAllBuffers() for recovery.
- bea449c635c0 14.0 cited
-
Cache smgrnblocks() results in recovery.
- c5315f4f4484 14.0 landed
-
Use pg_pread() and pg_pwrite() for data files and WAL.
- c24dcd0cfd94 12.0 cited
-
Add a check to prevent overwriting valid data if smgrnblocks() gives a
- ffae5cc5a602 8.2.0 cited