pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: old cluster does not use data checksums but the new one does
Date: Sun, 5 May 2019 14:56:27 -0600
Message-ID: <D915857D-2C84-404E-AF6F-C56AD724ADBA@elevated-dev.com> (raw)
In-Reply-To: <CA+t6e1mP0Qzkw6HpoqeU6WN4_SbG0w=9MrZf3VhG9eMXBst2aw@mail.gmail.com>
References: <CA+t6e1mCtZsNsg2HVZHrS5ZUiQExj-=KRhC=+P61LttUvdKHyQ@mail.gmail.com>
	<20190505120454.2zgsqcudz4eqquvy@momjian.us>
	<CA+t6e1kE5ix3VHB_3RZfp=shZof_edgUk1sjbGxMd7eY81BmMA@mail.gmail.com>
	<FA67AC22-5E1D-4A1A-99F6-C4D835FF0D37@elevated-dev.com>
	<CA+t6e1mP0Qzkw6HpoqeU6WN4_SbG0w=9MrZf3VhG9eMXBst2aw@mail.gmail.com>

> On May 5, 2019, at 2:42 PM, Mariel Cherkassky <mariel.cherkassky@gmail.com> wrote:
> 
> in aspect of upgrade, what will be faster, pg_upgrade or dump and restore each db in the cluster ?
> 
> ‫בתאריך יום א׳, 5 במאי 2019 ב-19:11 מאת ‪Scott Ribe‬‏ <‪scott_ribe@elevated-dev.com‬‏>:‬
> > On May 5, 2019, at 9:58 AM, Mariel Cherkassky <mariel.cherkassky@gmail.com> wrote:
> > 
> > My only option is doing the upgrade with other tools and not with pg_upgrade ?
> 
> Dump & restore; you're changing the on-disk file format, so attempts to use current disk files cannot work.

In my opinion, depends on your confidence in your disks & file system etc. For instance, given enterprisey hardware (channel per disk, no half-backed SATA multipliers, decent disks) + ZFS with appropriate redundancy, I wouldn't see the need. On the other hand, a desktop PC with some multi-disk USB box, and hell yeah I want checksums. Systems in between, harder judgment call...




view thread (8+ messages)

Message-ID: <D915857D-2C84-404E-AF6F-C56AD724ADBA@elevated-dev.com>
Permalink:  ../D915857D-2C84-404E-AF6F-C56AD724ADBA@elevated-dev.com/
Also on:    postgresql.org/message-id/D915857D-2C84-404E-AF6F-C56AD724ADBA@elevated-dev.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, mariel.cherkassky@gmail.com, bruce@momjian.us, pgsql-admin@lists.postgresql.org
  Subject: Re: old cluster does not use data checksums but the new one does
  In-Reply-To: <D915857D-2C84-404E-AF6F-C56AD724ADBA@elevated-dev.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