Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eU6Wg-0006U9-VO for pgsql-general@arkaria.postgresql.org; Wed, 27 Dec 2017 07:53:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eU6Wg-00051e-2P for pgsql-general@arkaria.postgresql.org; Wed, 27 Dec 2017 07:53:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eU6Wf-00051L-Qm for pgsql-general@lists.postgresql.org; Wed, 27 Dec 2017 07:53:21 +0000 Received: from mail.tamay-dogan.net ([78.47.247.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eU6WY-00051K-2V for pgsql-general@lists.postgresql.org; Wed, 27 Dec 2017 07:53:20 +0000 Received: from localhost (localhost [127.0.0.1]) (uid 33) by mail.tamay-dogan.net with local; Wed, 27 Dec 2017 08:53:11 +0100 id 0000000000001F47.5A435167.00000FCD Received: from 37.157.109.77 (SquirrelMail authenticated user michelle.konzack) by webmail.tamay-dogan.net with HTTP; Wed, 27 Dec 2017 08:53:11 +0100 Message-ID: <338af873d776ec0128e9fdc9ded31506.squirrel@webmail.tamay-dogan.net> In-Reply-To: <20171227004818.GC1727@paquier.xyz> References: <985d2955b835dfc9033108c7a271d94e.squirrel@webmail.tamay-dogan.net> <20171227004818.GC1727@paquier.xyz> Date: Wed, 27 Dec 2017 08:53:11 +0100 Subject: Re: [table partitioning] How many partitions are possibel? From: "Michelle Konzack" To: pgsql-general@lists.postgresql.org User-Agent: SquirrelMail/1.4.23 [SVN] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal OpenPGP: id=A5957FD8834573E2 X-Mime-Autoconverted: from 8bit to 7bit by courier 0.68 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, Am 2017-12-26 hackte Michael Paquier in die Tasten: ------------------------------------------------------------------------ > On Tue, Dec 26, 2017 at 11:04:55AM +0100, Michelle Konzack wrote: >> I like to make the partitions smaller, but the documentation say, you >> should not dare to make several 1000 partitions.. > > Even more than a hundred may be already risky in my opinion here. The > issue with a large number of partitioning using the pre-9.6 grammar > comes from the planning time which sky-rockets because the optimizer > uses a O(N^2) algorithm to consider all the partitions. The v10 grammar > does not take care of this planning problem as far as I recall, but v11 > gets that better for partition-wise joins if my memory does not fail me. > -- > Michael I think on migrating to v10, but I have to backport the PostgreSQL. Currently I am thinking about hot to backup 28 TByte of data... Have to dump and compress table by table and thios take endless time, especially, if I am in Estonia and the database is in Germany. Is there already a rease date for v11? Thanks in avance -- Michelle Konzack 00372-54541400