Bill Moran wmoran at collaborativefusion.com
Fri Apr 13 07:53:31 PDT 2007
In response to "Don Barthel" <dbarthel at usedeverywhere.com>:

> Hi, I use slony to make a replication copy to run queries against to
> offload those from the main database for performance purposes.
> 
> I would like to optimize even further by periodically removing records
> from the copy without removing them from the main database.
> 
> Will I upset slony if I do this?
> 
> My main concern is that if I delete from the copy and then later that
> record is deleted from the main database, will slony handle the error
> gracefully when the DELETE FROM command comes through?
> 
> Thanks in advance!
> 
> I run Postgres 8.0 with Slony 1.1.5

This will break Slony.  It may cause data corruption.  It has also been
shown to cause cancer in laboratory animals.

A more correct approach would be to reorganize your schema so the unneeded
records are in tables that don't get replicated.

-- 
Bill Moran
Collaborative Fusion Inc.

wmoran at collaborativefusion.com
Phone: 412-422-3463x4023

****************************************************************
IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************


More information about the Slony1-general mailing list