Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 43D91B5DBE1 for ; Fri, 30 Sep 2011 14:13:42 -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 08966-04 for ; Fri, 30 Sep 2011 17:13:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-yw0-f46.google.com (mail-yw0-f46.google.com [209.85.213.46]) by mail.postgresql.org (Postfix) with ESMTP id E06A5B5DBC0 for ; Fri, 30 Sep 2011 14:13:34 -0300 (ADT) Received: by ywb5 with SMTP id 5so1675765ywb.19 for ; Fri, 30 Sep 2011 10:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=qDWcC4JUVmcpmfsuZK/znx8q86Q9y80FLw01qXw43Ys=; b=wE61Q1PWwrDTdO6vtEj8HSAiT/CvtAHjclv/c01F2rt7CiDUJOU0JXgZvIXgBM8XXJ PbGszGBKc+sxIed1msVaX1oYeBJGkCvLh/HRtst9j+crjeujnzhQpgBLItQwPDqYq/UA 2OvkLN1FCQttfNY7ABWPvzQxzpdk1fG8wIvWs= Received: by 10.236.177.66 with SMTP id c42mr73774615yhm.14.1317402814508; Fri, 30 Sep 2011 10:13:34 -0700 (PDT) Received: from [192.168.1.229] ([177.35.194.80]) by mx.google.com with ESMTPS id o61sm7082302yhi.26.2011.09.30.10.13.32 (version=SSLv3 cipher=OTHER); Fri, 30 Sep 2011 10:13:33 -0700 (PDT) Message-ID: <4E85F8C1.3040900@gmail.com> Date: Fri, 30 Sep 2011 14:13:37 -0300 From: alexandre - aldeia digital User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: the number of child tables --table partitioning References: <4E8443B502000025000418DE@gw.wicourts.gov> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.889 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201109/439 X-Sequence-Number: 45215 Em 30-09-2011 14:01, Merlin Moncure escreveu: > 2011/9/29 Ondrej Ivanič: >> Hi, >> >> On 30 September 2011 01:08, Kevin Grittner wrote: >>>> Is there a suggested number of child tables for table >>>> partitioning, >>> Generally, don't go over about 100 partitions per table. >> Having 365 partitions per table is fine... > yeah -- the system was certainly designed to support 'dozens to > hundreds', but 'hundreds of thousands' is simply not realistic. any > measurable benefit gained from partitioning is going to be var > exceeded by the database having to track so many tables. > > btw, partitioning for purposes of performance is a dubious strategy > unless you can leverage non-uniform access patterns of the data or do > other tricks that allow simplification of structures (like removing > 'company_id' from all tables and indexes because it's implied by the > partition itself). > > merlin > Can we see the transparent table partitioningimplemented in Postgres 9.2 version before the end of the world in 2012? ;) Today, it is very difficult to maintain table partitioning schemes even with small number of partitions. Anyway, congrats for the superb 9.1 version!