On 16/5/25 20:10, Scott Ribe wrote:
> I would guess that shared_blks_dirtied in pg_stat_statements is basically the count of blocks which will be logged
intoWAL and written back during checkpoints. So then what is shared_blks_written? Or do I misunderstand
shared_blks_dirtied???
My understanding is that dirtied will be eventually written, via
checkpoint or bg writer, so it's a matter of timing.
>
> --
> Scott Ribe
> scott_ribe@elevated-dev.com
> https://www.linkedin.com/in/scottribe/
>
>
>
>
>