<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>SELECT pg_size_pretty(pg_database_size(current_database()))</DIV>
<DIV>-&gt; 1198MB</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt; Making Slony scale like this is a non-starter, I would think.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can it cascade?:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Master</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |-Regional Master 1</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |-Slave1.1</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |-Slave1.2</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;-Slave 1.3</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |-Regional Master 2</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |-Slave 2.1</DIV>
<DIV>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |-Slave 2.2</DIV>
<DIV>...<BR><BR>&nbsp;</DIV>Dave Stevenson<BR>dave.stevenson@pacbell.net 
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Peter Geoghegan &lt;peter.geoghegan86@gmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Dave Stevenson &lt;dave.stevenson@pacbell.net&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> Michael Squires &lt;msquires@whitepages.com&gt;; slony1-general@lists.slony.info<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thu, February 25, 2010 8:44:29 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Slony1-general] Is Slony for me?<BR></FONT><BR>&gt; &nbsp;&nbsp;&nbsp; Not sure exactly how to measure this. After installing PostgreSQL to a<BR>&gt; new machine, the 'data' directory is 32MB. I then restore my db from backup,<BR>&gt; the data directory is 1.31GB. However, the .backup file from which the db<BR>&gt; was restored is only 91MB.<BR><BR>To determine the size of your database, do this while connected to it:<BR>SELECT
 pg_size_pretty(pg_database_size(current_database()))<BR><BR>&gt; &nbsp;&nbsp;&nbsp; Maybe up to a few dozen or so eventually.<BR><BR>What you must understand is that slony's communication overhead with<BR>respect to the number of nodes increases quadratically; Every time you<BR>double the number of nodes, you quadruple the communication overhead.<BR>According to the docs, "Up to a half dozen nodes seems pretty<BR>reasonable". I'm not sure what the record is for number of slony nodes<BR>in a single cluster, but I suspect it is more than 6 but quite a bit<BR>less than several dozen. Making Slony scale like this is a<BR>non-starter, I would think.<BR><BR>Regards,<BR>Peter Geoghegan<BR></DIV></DIV></div></body></html>