Vivek Khera vivek
Mon Jun 13 17:12:09 PDT 2005
On Jun 13, 2005, at 10:21 AM, Christopher Browne wrote:

> Your best answer, for now, is to drop any indices that you can on the
> "slave" system while the COPY_SET event runs.
>

This is what I do... on the replicas I create the schemas without any  
indexes (other than the PK ones) and let slony do its thing.  Once  
slony has caught up the new replica (sl_status on master shows 0 or  
1  pending events) I add the necessary indexes.

I've copied many hundreds of millions of rows across several tables  
in under 2 hours this way (over Gig-E network on a pair of very fast  
dual opterons)

The index creation took another 4 hours, btw :-(


Vivek Khera, Ph.D.
+1-301-869-4449 x806




More information about the Slony1-general mailing list