From: Gregory S. Williamson <gsw@globexplorer.com>
To: pgsql-sql@postgresql.org
Subject: Comparing two (largish) tables on different servers
Date: Tue, 9 Nov 2004 14:41:00 -0800
Message-ID: <71E37EF6B7DCC1499CEA0316A256832801D4BAB0@loki.wc.globexplorer.net> (raw)
This is probably a silly question.
Our runtime deployment of database servers (7.4) involves some redundant/duplicate databases. In order to compare tables (about 5 gigs each) on different servers I unload the things (takes a while etc.), sort them with a UNIX sort and then do a cksum on them.
Is there any way to do this from inside postgres that anyone knows of ? I looked through the manual and the contrib stuff and didn't see much ...
Thanks,
Greg Williamson
DBA
GlobeXplorer LLC
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-sql@postgresql.org
Cc: gsw@globexplorer.com
Subject: Re: Comparing two (largish) tables on different servers
In-Reply-To: <71E37EF6B7DCC1499CEA0316A256832801D4BAB0@loki.wc.globexplorer.net>
References: <71E37EF6B7DCC1499CEA0316A256832801D4BAB0@loki.wc.globexplorer.net>
* 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