From: Daniel Verite <daniel@manitou-mail.org>
To: Alexander Shutyaev <shutyaev@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_upgrade and wraparound
Date: Wed, 27 Jun 2018 11:43:45 +0200
Message-ID: <3987660e-ff1a-47cb-bf44-52cfd3029cfb@manitou-mail.org> (raw)
In-Reply-To: <CAGBp8g-_ijC-Anm1MCV0kEg89O00nRtTmz9o6+hep2GpVMRL6Q@mail.gmail.com>
Alexander Shutyaev wrote:
> Is there any hope the issue with pg_upgrade can be resolved? If not,
> could you give me some hints as to how can I decrease time needed
> for pg_dumpall | psql?
Not sure about the larger problem, but for the part about having more
than 1 million large objects that get committed individually, setting
fsync=off for the reload phase is likely to help a lot.
Just don't forget to turn it on again when it's done. See
https://blog.2ndquadrant.com/postgresql-fsync-off-warning-in-config-file/
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
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: daniel@manitou-mail.org, shutyaev@gmail.com, andres@anarazel.de, tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com
Subject: Re: pg_upgrade and wraparound
In-Reply-To: <3987660e-ff1a-47cb-bf44-52cfd3029cfb@manitou-mail.org>
References: <CAGBp8g-_ijC-Anm1MCV0kEg89O00nRtTmz9o6+hep2GpVMRL6Q@mail.gmail.com> <3987660e-ff1a-47cb-bf44-52cfd3029cfb@manitou-mail.org>
* 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