From: Natalie Wenz <nataliewenz@gmail.com>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Database migration across different operating systems
Date: Tue, 8 Jan 2019 13:16:47 -0600
Message-ID: <EC1500C0-AD6C-45E6-8E97-6A8709A5DF58@gmail.com> (raw)
In-Reply-To: <875zuzr06z.fsf@news-spur.riddles.org.uk>
References: <A740E5D2-34BE-46AA-A9FE-50F510E771EC@gmail.com>
<875zuzr06z.fsf@news-spur.riddles.org.uk>
Thanks, Andrew.
All of our databases do have lc_collate=C. To check my understanding, if that were not the case, we’d need to reindex, but since it is all lc_collate=C, we shouldn’t run into that particular problem. Did I get that right?
On Jan 8, 2019, at 3:06 AM, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>>> "Natalie" == Natalie Wenz <nataliewenz@gmail.com> writes:
>
> Natalie> We are in an unusual circumstance, where we need to move all
> Natalie> of our Postgres 10 databases from their homes on servers
> Natalie> running FreeBSD 11 with ZFS to servers in another data center
> Natalie> running Red Hat Linux 7.6 (also with ZFS), with minimal
> Natalie> downtime.
>
> [...]
>
> Natalie> We’ve tested this procedure on a small database, and it
> Natalie> starts, it runs, returns queries. There seems to be no issues.
>
> Natalie> Is this a reasonable approach? Are there any known
> Natalie> concerns/things to investigate before choosing this course?
>
> Locales will bite you unless your databases all have lc_collate=C or
> you're using ICU for all collations); you will need, at minimum, to
> reindex every index containing a collatable column with an OS-provided
> collation (i.e. not ICU and not C / POSIX).
>
> --
> Andrew (irc:RhodiumToad)
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: nataliewenz@gmail.com, andrew@tao11.riddles.org.uk, pgsql-admin@lists.postgresql.org
Subject: Re: Database migration across different operating systems
In-Reply-To: <EC1500C0-AD6C-45E6-8E97-6A8709A5DF58@gmail.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