pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedReplication between different architectures
4+ messages / 3 participants
[nested] [flat]
* Replication between different architectures
@ 2021-10-13 16:09 Phil Endecott <spam_from_pgsql_lists@chezphil.org>
2021-10-13 17:07 ` Re: Replication between different architectures hubert depesz lubaczewski <depesz@depesz.com>
2021-10-13 19:41 ` Re: Replication between different architectures Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 4+ messages in thread
From: Phil Endecott @ 2021-10-13 16:09 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Dear Experts,
Is replication going to work from an x86-64 master to an
arm64 replica?
These are AWS EC2 instances, both 64-bit. I may eventually move
them all to ARM, but have a mix of architectures temporarily.
What could possibly go wrong ?!
(If it does fail, will I notice before it's too late?)
Thanks, Phil.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Replication between different architectures
2021-10-13 16:09 Replication between different architectures Phil Endecott <spam_from_pgsql_lists@chezphil.org>
@ 2021-10-13 17:07 ` hubert depesz lubaczewski <depesz@depesz.com>
1 sibling, 0 replies; 4+ messages in thread
From: hubert depesz lubaczewski @ 2021-10-13 17:07 UTC (permalink / raw)
To: Phil Endecott <spam_from_pgsql_lists@chezphil.org>; +Cc: pgsql-general@lists.postgresql.org
On Wed, Oct 13, 2021 at 05:09:36PM +0100, Phil Endecott wrote:
> Is replication going to work from an x86-64 master to an
> arm64 replica?
Hi,
tested, works well.
Best regards,
depesz
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Replication between different architectures
2021-10-13 16:09 Replication between different architectures Phil Endecott <spam_from_pgsql_lists@chezphil.org>
@ 2021-10-13 19:41 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-10-13 23:12 ` Re: Replication between different architectures Phil Endecott <spam_from_pgsql_lists@chezphil.org>
1 sibling, 1 reply; 4+ messages in thread
From: Tom Lane @ 2021-10-13 19:41 UTC (permalink / raw)
To: Phil Endecott <spam_from_pgsql_lists@chezphil.org>; +Cc: pgsql-general@lists.postgresql.org
"Phil Endecott" <spam_from_pgsql_lists@chezphil.org> writes:
> Is replication going to work from an x86-64 master to an
> arm64 replica?
The hard part of this is usually whether the operating systems
are identical. If they have different locale data, you may find
that indexes on text columns appear out-of-order and therefore
corrupt on the replica. See
https://wiki.postgresql.org/wiki/Locale_data_changes
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Replication between different architectures
2021-10-13 16:09 Replication between different architectures Phil Endecott <spam_from_pgsql_lists@chezphil.org>
2021-10-13 19:41 ` Re: Replication between different architectures Tom Lane <tgl@sss.pgh.pa.us>
@ 2021-10-13 23:12 ` Phil Endecott <spam_from_pgsql_lists@chezphil.org>
0 siblings, 0 replies; 4+ messages in thread
From: Phil Endecott @ 2021-10-13 23:12 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org; +Cc: Tom Lane <tgl@sss.pgh.pa.us>
Tom Lane wrote:
> "Phil Endecott" <spam_from_pgsql_lists@chezphil.org> writes:
>> Is replication going to work from an x86-64 master to an
>> arm64 replica?
>
> The hard part of this is usually whether the operating systems
> are identical. If they have different locale data, you may find
> that indexes on text columns appear out-of-order and therefore
> corrupt on the replica. See
Thanks Tom. All these systems are currently running Debian 11;
I dealt with the glibc locale issue a while ago.
Regards, Phil.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2021-10-13 23:12 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 16:09 Replication between different architectures Phil Endecott <spam_from_pgsql_lists@chezphil.org>
2021-10-13 17:07 ` hubert depesz lubaczewski <depesz@depesz.com>
2021-10-13 19:41 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-10-13 23:12 ` Phil Endecott <spam_from_pgsql_lists@chezphil.org>
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