From: pinker <pinker@onet.eu>
To: pgsql-general@postgresql.org
Subject: Sum of written buffers bigger than allocation?
Date: Sun, 8 Apr 2018 08:28:35 -0700 (MST)
Message-ID: <1523201315068-0.post@n3.nabble.com> (raw)
Hi All!
First time I see that the sum of written buffers:
3765929+878326121 = 882092050 = select
pg_size_pretty(882092050::numeric*8192) = 6730 GB
is bigger than buffers_alloc value in pg_stat_bgwriter view:
buffers_alloc | 20426161 = 156 GB
buffers_checkpoint | 878599316
buffers_clean | 0
maxwritten_clean | 0
buffers_backend | 3766409
buffers_backend_fsync | 0
buffers_alloc | 20426161
It's kinda mysterious... Any explanations?
Does it mean that the same buffers were written over and over again?
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: pinker@onet.eu
Subject: Re: Sum of written buffers bigger than allocation?
In-Reply-To: <1523201315068-0.post@n3.nabble.com>
References: <1523201315068-0.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox