Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYell-0000vF-NA for pgsql-general@arkaria.postgresql.org; Mon, 08 Jan 2018 21:15:45 +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 1eYell-0003W6-5r for pgsql-general@arkaria.postgresql.org; Mon, 08 Jan 2018 21:15:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eYelk-0003Vx-RL for pgsql-general@lists.postgresql.org; Mon, 08 Jan 2018 21:15:44 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eYelh-0001mY-W1 for pgsql-general@lists.postgresql.org; Mon, 08 Jan 2018 21:15:43 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zFp2z1l2cz1qskd for ; Mon, 8 Jan 2018 22:15:39 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zFp2z0J3wz1qqkq for ; Mon, 8 Jan 2018 22:15:39 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7pB00sI5Y5EW for ; Mon, 8 Jan 2018 22:15:38 +0100 (CET) Received: from [192.168.178.37] (ppp-93-104-71-162.dynamic.mnet-online.de [93.104.71.162]) by mail.mnet-online.de (Postfix) with ESMTP for ; Mon, 8 Jan 2018 22:15:38 +0100 (CET) Subject: Re: Supartitions in PGSQL 10 To: pgsql-general@lists.postgresql.org Newsgroups: gmane.comp.db.postgresql.general References: <63b460f60f93466795e01297e8c21cde@USFKL11XG20CN01.mercer.com> From: Thomas Kellerer Message-ID: <45e742f4-c516-08c6-7351-ca26e516085a@gmx.net> Date: Mon, 8 Jan 2018 22:15:37 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <63b460f60f93466795e01297e8c21cde@USFKL11XG20CN01.mercer.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Kumar, Virendra schrieb am 08.01.2018 um 22:12: > Can you please let us know if Sub-partitions are supported in PGSQL > (declarative partitions) 10.1. If yes can it be list-list partitions. > We have a situation where a table is very big having around 2 billion > rows and is growing. We want to use partitions but not sure if > sub-partitions are available. The partition key we are looking for is > having around 8000 different values so it will be 8000 partitions and > I think that number is really too big number of partitions. For your > information RDBMS is not yet Postgres, we are evaluating it to see if > it can support. Quote from the manual: https://www.postgresql.org/docs/current/static/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE Partitions may themselves be defined as partitioned tables, using what is called sub-partitioning Thomas