Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 567D764FCEB for ; Wed, 3 Sep 2008 07:00:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 81669-08 for ; Wed, 3 Sep 2008 07:00:24 -0300 (ADT) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from wmproxy1-g27.free.fr (wmproxy1-g27.free.fr [212.27.42.91]) by postgresql.org (Postfix) with ESMTP id 1B4A964FCEA for ; Wed, 3 Sep 2008 07:00:24 -0300 (ADT) Received: from UNKNOWN (unknown [172.20.243.131]) by wmproxy1-g27.free.fr (Postfix) with ESMTP id BC12E2B4DC for ; Wed, 3 Sep 2008 12:24:32 +0200 (CEST) Received: by UNKNOWN (Postfix, from userid 0) id 1EC42F120EE; Wed, 3 Sep 2008 12:00:22 +0200 (CEST) Received: from ([86.64.71.27]) by imp.free.fr (IMP) with HTTP for ; Wed, 03 Sep 2008 12:00:22 +0200 Message-ID: <1220436022.48be603606137@imp.free.fr> Date: Wed, 03 Sep 2008 12:00:22 +0200 From: s.caillet@free.fr To: pgsql-performance@postgresql.org Subject: Partitions number limitation ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.8 X-Originating-IP: 86.64.71.27 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.41 tagged_above=0 required=5 tests=SUBJECT_FUZZY_TION=0.41 X-Spam-Level: X-Archive-Number: 200809/45 X-Sequence-Number: 31358 Hi ! To improve our software insert datas performance, we have decided to use partition architecture in our database. It works well for the following volume : 45 main tables and 288 inherited daughter tables for each, that is a total of 12960 partitions. I have some trouble now with another customer's database with the following volume : 87 main tables and 288 tables for each, that is 25056 partitions. Is there some kind of limit in postgresql about the number of partitions ? Do you know some tuning in the conf files to improve postgresql management of so many tables ? I have already used different tablespaces, one for each main table and its 288 partitions. I have many datas to insert into these tables (that is ten or hundred of thousands every five minutes for each main group). Do you think it can be done with a hardware raid 0 SATA disk (it's the case today ...) ? Thank you all for help. Best regards Sylvain Caillet