Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsUmK-008HBe-AX for pgsql-admin@arkaria.postgresql.org; Mon, 16 Oct 2023 21:05:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qsUmH-004Hef-Tm for pgsql-admin@arkaria.postgresql.org; Mon, 16 Oct 2023 21:05:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsUmH-004HeX-FL for pgsql-admin@lists.postgresql.org; Mon, 16 Oct 2023 21:05:30 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsUmE-0013tO-4K for pgsql-admin@lists.postgresql.org; Mon, 16 Oct 2023 21:05:29 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2380063EEF; Mon, 16 Oct 2023 21:04:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1697490265; bh=C0C89pNT1zbHEMCJMXmbpUxjDZpRcMTB9Fmatea894Q=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=O9Xpp6g23+F0RuOzVUSO7eGyQhMx0y/W0hkjY2SBuPArIRqDw6htWhpmnPpLF4wbm RvO3OKu4QrocKbl75q2U8rYVPqqeyZIKgaLCCczgNqgUmO0wqGBhu2B6ZtfdmWVqKu rubkGxvic5o44Yuiq+4hTvTMBYYJFtSYhssC4kXGPOOKGQnVAaIVAvMYVcekq4SEwU LymSFBtjG2mT47tlsSKNFmEB50Pm8ik5oHi5dSKSKmQxUv/aw1UwCfGM5MBfzyfGax ZulvHVgatkZVjyn71YAygqluWsaK2Cuy7j5IunwTR3aZy3zepw/QTJ1LnOoZz9Oodv CdlVAMGvPeqRQ== X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LL5TRnLGjvgg; Mon, 16 Oct 2023 21:04:24 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 85E6963EDC; Mon, 16 Oct 2023 21:04:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1697490264; bh=C0C89pNT1zbHEMCJMXmbpUxjDZpRcMTB9Fmatea894Q=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=TASn4ZhkycngVOc1h40P84GFUlkgoVlYX118zFRP/9yb10MhiAE2zuIv/cNnIWxPC h4zpr/wdBrb7VRZr3B733egQwYPYwCbfOvweHa+Jt81uuEPx+AyVCUS/jbnLonFsPK YPyN7Ys+heI640x1foF9mGdwp1DQ2a65zctBrq5u5y9t/ifLTFEziMZmhX9xsYJpKK rv3TYxzKmfQ1kk7qLh0zaIpKJYVgCY6PQ8tlDVbz8PBlYiGLy2zwUitZBRWcq7ql6E idrESJjpwDne2/vi8FdHvHvZvh1aUtRUUm+T44V0tdK/Uk0736/XciWSsR4d1djmG1 GVbnLCdhFkiHg== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: Re: List Based Table Partitioning on non-Primary Key Columns From: Scott Ribe In-Reply-To: Date: Mon, 16 Oct 2023 15:04:13 -0600 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Amit Sharma X-Mailer: Apple Mail (2.3774.100.2.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Oct 16, 2023, at 2:55=E2=80=AFPM, Amit Sharma = wrote: >=20 > My question is, is there any downside of using a similar partition = option in PostgreSQL from performance or manageability perspective? Has = anyone dealt with a similar type of partition issues? Is there any other = alternate option we should be using? It's not unreasonable. But an alternative is to have a set, fewer, = number of partitions and hash partition. You could wind up with better = balanced partitions, and the cost of on average larger partitions.