Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id D95121337B47 for ; Sat, 4 Dec 2010 19:19:37 -0400 (AST) 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 42376-03 for ; Sat, 4 Dec 2010 23:19:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mail.postgresql.org (Postfix) with ESMTP id A8DCF1336FA7 for ; Sat, 4 Dec 2010 19:19:30 -0400 (AST) X-Authority-Analysis: v=1.1 cv=NFUeGz0loTdi/T6hXKngYYtckjed7x3pKvNOqmBBK18= c=1 sm=0 a=NdO16byWu90A:10 a=JRZeEW2aRuwA:10 a=8nJEP1OIZ-IA:10 a=RAii6je2cdnAH6ATCOpc6g==:17 a=_Ixf_7qHAAAA:8 a=EyrR49Tx1CdMQQrR0y4A:9 a=h3k6kYveYuSHFIVvHJI89zewUuEA:4 a=wPNLvfGTeEIA:10 a=ryAo9hy1-OkA:10 a=6vsjEBoLwlAA:10 a=0tfO7MgyNwYA:10 a=RAii6je2cdnAH6ATCOpc6g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.73.87.196 Received: from [74.73.87.196] ([74.73.87.196:17835] helo=[192.168.1.100]) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 54/68-12606-28CCAFC4; Sat, 04 Dec 2010 23:19:30 +0000 Message-ID: <4CFACC81.3050901@vmsinfo.com> Date: Sat, 04 Dec 2010 18:19:29 -0500 From: Mladen Gogala Reply-To: mladen.gogala@vmsinfo.com Organization: VMS User-Agent: Thunderbird 2.0.0.24 (X11/20101126) MIME-Version: 1.0 To: Tom Lane CC: John Papandriopoulos , "pgsql-performance@postgresql.org" Subject: Re: Query-plan for partitioned UPDATE/DELETE slow and swaps vmem compared to SELECT References: <14012.1291443654@sss.pgh.pa.us> <23792.1291480923@sss.pgh.pa.us> <13159.1291502400@sss.pgh.pa.us> In-Reply-To: <13159.1291502400@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201012/46 X-Sequence-Number: 41498 Tom Lane wrote: > Partitioning using these techniques will work well with up to > perhaps a hundred partitions; don't try to use many thousands of > partitions. > > regards, tom lane > Hmmm, what happens if I need 10 years of data, in monthly partitions? It would be 120 partitions. Can you please elaborate on that limitation? Any plans on lifting that restriction? -- Mladen Gogala Sr. Oracle DBA 1500 Broadway New York, NY 10036 (212) 329-5251 www.vmsinfo.com