Richard Yen dba at richyen.com
Mon Jul 28 17:57:13 PDT 2008
Hi,

Just had a couple of questions as I was tinkering with the code to  
make it fit my requirements...

1.  Seems like slony_logshipper attempts to parse each logfile as it  
performs archscan()...is this necessary?  My understanding is that the  
slon daemon outputs all the logfiles, and slony_logshipper serves its  
purpose by passing them into psql--shouldn't the slon daemon be  
responsible enough to output properly-formatted SQL?  As it is right  
now, it looks like there's a big performance hit as slony_logshipper  
attempts to read each logfile.  Is there a significant design purpose  
for this?

2.  Once slony_logshipper reaches the end of its queue, it waits  
forever.  Is there a design purpose at afilias for not re-reading the  
archive directory?  Looks like it waits for me to feed it another  
logfile.  Perhaps an option/function to re-read the archive would be  
good?

Thanks!
--Richard


More information about the Slony1-general mailing list