From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly
Date: Fri, 27 Oct 2023 05:21:11 -0500
Message-ID: <14a36dc0-8796-49f4-bf37-535bfe3f0b74@gmail.com> (raw)
In-Reply-To: <8789dad7-93b7-4a04-a061-668e8b1b3cc3@gelassene-pferde.biz>
References: <1334708887.12132.1698396967548.ref@mail.yahoo.com>
<1334708887.12132.1698396967548@mail.yahoo.com>
<8789dad7-93b7-4a04-a061-668e8b1b3cc3@gelassene-pferde.biz>
OP might be referring to migrating from, say, Oracle to Postgresql when
oracle_fdw is not available.
On 10/27/23 04:34, Thiemo Kellner wrote:
>
> Hi
>
> Why do you need checksums? Can you not employ a full outer join? My though
> behind this is that checksumming is quite costly cpuwise and you have to
> fiddle with each and every relevent column, be it as part of the checksum
> string be it as part of the joiner. The joiner would have the advantage
> that you could, if you wanted, also implement logic to tell you precisely
> in which columns the difference is encountered.
>
> Kind regards
>
> Thiemo
>
> Am 27.10.2023 um 10:56 schrieb Y_esteembsv-forum:
>> Hi
>> Need SQL logic/different approach method's to find out way's
>> a) to Implement check sum to validate table data is migrated correctly
>>
>> Any guidance
>>
>> Regards
>> Bharani SV
--
Born in Arizona, moved to Babylonia.
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: ronljohnsonjr@gmail.com
Subject: Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly
In-Reply-To: <14a36dc0-8796-49f4-bf37-535bfe3f0b74@gmail.com>
References: <1334708887.12132.1698396967548.ref@mail.yahoo.com> <1334708887.12132.1698396967548@mail.yahoo.com> <8789dad7-93b7-4a04-a061-668e8b1b3cc3@gelassene-pferde.biz> <14a36dc0-8796-49f4-bf37-535bfe3f0b74@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