Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 830CCB5DC0C for ; Mon, 12 Sep 2011 13:36:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 05160-04 for ; Mon, 12 Sep 2011 16:36:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.peak6.com (smtp.optionshouse.com [38.98.137.6]) by mail.postgresql.org (Postfix) with ESMTP id 70D8CB5DBC5 for ; Mon, 12 Sep 2011 13:36:23 -0300 (ADT) X-AuditID: 0a64cb1e-b7c2bae0000029bf-f8-4e6e35022b23 Message-ID: <4E6E3506.8070501@peak6.com> Date: Mon, 12 Sep 2011 11:36:22 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Claudio Freire CC: Andy Colson , Igor Chudov , Subject: Re: Postgres for a "data warehouse", 5-10 TB References: <4E6CC2BB.1060704@squeakycode.net> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.220.61] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsXCxcQrpstkmudncKib32JWu7zF07fXmSye /Gpitbg+8xyzA4vHzll32T0u7JvG7rH46TfmAOaoBkabxLy8/JLEklSFlNTiZFulAFdHbzOF 4JLEvJTEohQFl8zi5JzEzNzUIiWFzBRbJSMlhYKcxOTU3NS8ElulxIKC1LwUJTsuBQxgA1SW maeQmpecn5KZl26r5Bnsr2thYWqpa6hkF48ACd0sGf3v+hkLFnJUnH/7jLGB8TJbFyMnh4SA icS+PY/YIWwxiQv31oPFeQU0JFZ0NTOC2CwCqhKLPjYwg9hsAmoSC3ffBIsLCchK7F91jhXE 5hcQltj3oQmsRlQgQGLBpLeMEHMEJU7OfMICYosIaEucubsJbBezQK7E9wl9YPXCAvYSHz4u A6rhApq5g1Fi7+tVQA4HB6dAoMTnXTEQ9bYSF+ZcZ4Gw5SW2v53DDHGDnMSdhudsIOUSAgoS 15f7T2AUmoVk8ywk3bOQdC9gZF7FKF5clpickWlaUJxbUmCoV5CamG2ml5dasokRFNMpp+V2 ME5fqniIUYCDUYmHV/hljp8Qa2JZcWXuIUYJDmYlEd5jL3P9hHhTEiurUovy44tKc1KLDzFq A4NsIrMUd3I+MN3klcQbGxgoifPG/Mn0ExJIB6aB7NTUgtQimGomDk6pBsbeBa/bt71juv1W 4dT0WxMd9H56Z+RsbJ8wqejbqY8KNm8W3NrIYp3zWEj2pakY4wvNB4+X7i38KdX89YyevpEA +6WXXo0Ld/eKiGU9vB7XJd750rBU2SxU1+N1Z1S53NKnm3zf+30TWdvFrlfhVTXpVUHtPg1J BTGBb7VFTE8nvPg9xfv4vR9KLMUZiYZazEXFiQBNvXQF9QIAAA== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201109/142 X-Sequence-Number: 44918 On 09/11/2011 09:27 AM, Claudio Freire wrote: > I have used slony to do database migration. It is a pain to set up, > but it saves you hours of downtime. I've had to shoot this option down in two separate upgrade scenarios in two different companies. Theoretically it's possible, but slony is based on triggers. If you have an OLTP database with frequent writes, that overhead (firing the trigger, storing the replicated data, reading the replication log, traffic to the upgrade node) can literally kill your application. Downtime is one thing, but maintenance windows can be planned. Ruining application performance for an undetermined length of time is probably worse. Thankfully 8.4 added pg_migrator/pg_upgrade, so that kind of pain is probably over for the most part. But even without it, 8.4 and above have parallel restore, which can drop upgrade times down to a fraction of their former length. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email