From: Christophe Courtois <christophe.courtois@dalibo.com>
To: pgsql-general@lists.postgresql.org
Subject: Pgbench : vacuum default behaviour history
Date: Mon, 6 Jul 2020 18:41:37 +0200
Message-ID: <5d78a46f-d7a8-dd35-644b-367488fb60ce@dalibo.com> (raw)
Hi,
We're wondering why pgbench behaves this way by default:
"With neither -n nor -v,
pgbench will vacuum the pgbench_tellers and pgbench_branches tables, and
will truncate pgbench_history."
Why pgbench_accounts not vacuumed by default?
I've dug the history of pgbench until 1999. The vaccum of
tellers|branches was added when creating the pgbench contrib in Jan
2000, but I've not found any explanation or discussion.
My hypothesis is that vaccuuming the accounts was too long in 1999, so
it could be skipped for quick tests. And it was never changed.
Did I miss something?
--
Christophe Courtois
Consultant Dalibo
https://dalibo.com/
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: christophe.courtois@dalibo.com
Subject: Re: Pgbench : vacuum default behaviour history
In-Reply-To: <5d78a46f-d7a8-dd35-644b-367488fb60ce@dalibo.com>
References: <5d78a46f-d7a8-dd35-644b-367488fb60ce@dalibo.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