pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Linux Update Experience
Date: Fri, 29 May 2020 11:56:49 +0200
Message-ID: <20200529095649.GB2410@elch.exwg.net> (raw)
In-Reply-To: <20200529070949.GA32670@hjp.at>
References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch>
	<90960e1f-37ea-59f7-50cb-965865d985da@aklaver.com>
	<f6ca973697c7497ba3cc6ab23a6d4e18@zuerich.ch>
	<20200529070949.GA32670@hjp.at>

## Peter J. Holzer (hjp-pgsql@hjp.at):

> * Update frequently. That reduces the risk of needing a package which
>   has since been deleted from a repo, but more importantly it makes it
>   easier to pinpoint the cause of a conflict.

This. Plus: make sure you can re-create any machine in a fully deterministic
manner - that way, you can easily create a test environment to match
production (minus RAM/CPU/storage) for testing upgrades beforehand.

Rationale: experience shows that using Test as "first stage" and carrying
changes forward to Production results in a "contaminated" test environment;
before long, results of failed experiments have accumulated on Test,
Production and Test are diverging, and at that point Test has lost it's
purpose.
(For some people, that's a point for containerization: you don't change
a running container, but package a new one. Other environments have so
much Production with all the redundancy etc that they can "test in
production" and just scrap-and-replace failed tests, but that's not an
option if you have just a handful of systems.)

Regards,
Christoph

-- 
Spare Space





view thread (6+ messages)

Message-ID: <20200529095649.GB2410@elch.exwg.net>
Permalink:  ../20200529095649.GB2410@elch.exwg.net/
Also on:    postgresql.org/message-id/20200529095649.GB2410@elch.exwg.net

 · 

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 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: cmt@burggraben.net
  Subject: Re: Linux Update Experience
  In-Reply-To: <20200529095649.GB2410@elch.exwg.net>
  References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch> <90960e1f-37ea-59f7-50cb-965865d985da@aklaver.com> <f6ca973697c7497ba3cc6ab23a6d4e18@zuerich.ch> <20200529070949.GA32670@hjp.at> <20200529095649.GB2410@elch.exwg.net>

* 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