Обсуждение: Operating system upgrades on PostgreSQL nodes using streaming replication

Поиск
Список
Период
Сортировка

Operating system upgrades on PostgreSQL nodes using streaming replication

От
Rahat Agivetova
Дата:
Hi All,

We are planning to upgrade the operating system from Centos 7 on Primary 
and Standby PostgreSQL nodes that use streaming replication to RHEL 8.
What is the recommended order to upgrade OS from Centos 7 to RHEL 8? 
Standby first, then Primary? Can there be a small time gap between the 
upgrades or not?

Thanks,
Rahat





Re: Operating system upgrades on PostgreSQL nodes using streaming replication

От
Ron
Дата:
On 11/8/23 06:29, Rahat Agivetova wrote:
> Hi All,
>
> We are planning to upgrade the operating system from Centos 7 on Primary 
> and Standby PostgreSQL nodes that use streaming replication to RHEL 8.
> What is the recommended order to upgrade OS from Centos 7 to RHEL 8? 
> Standby first, then Primary? Can there be a small time gap between the 
> upgrades or not?

libc change means possible collation change.  That means I'd do them both at 
the same time, then rebuild any indices with TEXT, CHAR or VARCHAR fields.

-- 
Born in Arizona, moved to Babylonia.



Re: Operating system upgrades on PostgreSQL nodes using streaming replication

От
Keith Fiske
Дата:


On Wed, Nov 8, 2023 at 8:49 AM Ron <ronljohnsonjr@gmail.com> wrote:
On 11/8/23 06:29, Rahat Agivetova wrote:
> Hi All,
>
> We are planning to upgrade the operating system from Centos 7 on Primary
> and Standby PostgreSQL nodes that use streaming replication to RHEL 8.
> What is the recommended order to upgrade OS from Centos 7 to RHEL 8?
> Standby first, then Primary? Can there be a small time gap between the
> upgrades or not?

libc change means possible collation change.  That means I'd do them both at
the same time, then rebuild any indices with TEXT, CHAR or VARCHAR fields.

--
Born in Arizona, moved to Babylonia.



See the following wiki page for more information on the collation change that Ron is referring to

https://wiki.postgresql.org/wiki/Locale_data_changes

--
Keith Fiske
Senior Database Engineer
Crunchy Data - http://crunchydata.com