Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly
Date: 2023-10-27 10:28:17
Message-ID: 49939d78-0a8e-4e1d-b627-2eade49736db@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dimitrios Apostolou 2023-10-27 14:48:14 BRIN index maintenance on table without primary key
Previous Message Ron 2023-10-27 10:21:11 Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly