| From: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
|---|---|
| To: | amit(dot)kapila16(at)gmail(dot)com |
| Cc: | ikedamsh(at)oss(dot)nttdata(dot)com, masao(dot)fujii(at)oss(dot)nttdata(dot)com, pgsql-hackers(at)postgresql(dot)org, tsunakawa(dot)takay(at)fujitsu(dot)com, magnus(at)hagander(dot)net |
| Subject: | Re: New statistics for tuning WAL buffer size |
| Date: | 2020-09-28 02:54:16 |
| Message-ID: | 20200928.115416.175989928927733297.horikyota.ntt@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
At Mon, 28 Sep 2020 08:11:23 +0530, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote in
> One other thing that occurred to me today is can't we keep this as
> part of PgStat_GlobalStats? We can use pg_stat_reset_shared('wal'); to
> reset it. It seems to me this is a cluster-wide stats and somewhat
> similar to some of the other stats we maintain there.
I like that direction, but PgStat_GlobalStats is actually
PgStat_BgWriterStats and cleard by a RESET_BGWRITER message.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Nancarrow | 2020-09-28 03:14:27 | Re: Parallel INSERT (INTO ... SELECT ...) |
| Previous Message | Peter Smith | 2020-09-28 02:51:40 | Re: Load TIME fields - proposed performance improvement |