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

Поиск
Список
Период
Сортировка
От Ron
Тема Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly
Дата
Msg-id 49939d78-0a8e-4e1d-b627-2eade49736db@gmail.com
обсуждение исходный текст
Ответ на need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly  (Y_esteembsv-forum <esteembsv-forum@yahoo.com>)
Список 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: need SQL logic to find out way's to Implement check sum to validate table data is migrated correctly
Следующее
От: Dimitrios Apostolou
Дата:
Сообщение: BRIN index maintenance on table without primary key