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:28:17 -0500
Message-ID: <49939d78-0a8e-4e1d-b627-2eade49736db@gmail.com> (raw)
In-Reply-To: <1334708887.12132.1698396967548@mail.yahoo.com>
References: <1334708887.12132.1698396967548.ref@mail.yahoo.com>
<1334708887.12132.1698396967548@mail.yahoo.com>
On 10/27/23 03:56, Y_esteembsv-forum wrote:
> 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
When migrating from Oracle to PostgreSQL, on both the Oracle side and the
Postgresql side, I dumped each table (for the big ones, I split them into
views) as a tab-separated value file ordered by the primary key and piped
that into md5sum.
Had to play a few games with capitalization in blob/bytea columns
That way, I could verify that each table's data was identical.
--
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: <49939d78-0a8e-4e1d-b627-2eade49736db@gmail.com>
References: <1334708887.12132.1698396967548.ref@mail.yahoo.com> <1334708887.12132.1698396967548@mail.yahoo.com> <49939d78-0a8e-4e1d-b627-2eade49736db@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