Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9KOk-0002sU-Sq for pgsql-admin@arkaria.postgresql.org; Mon, 17 Jan 2022 05:17:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n9KOj-0007jY-82 for pgsql-admin@arkaria.postgresql.org; Mon, 17 Jan 2022 05:17:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9KOi-0007iV-Tk for pgsql-admin@lists.postgresql.org; Mon, 17 Jan 2022 05:17:40 +0000 Received: from admin.sibptus.ru ([2001:19f0:5001:21dc::10]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9KOg-0007dN-1Q for pgsql-admin@lists.postgresql.org; Mon, 17 Jan 2022 05:17:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=6JJZRzS70JIn7Ja5j8qubl7dcPi5qtKmR7WH/nJyc3I=; b=Qke5xhYOkjejtaodBzEfY+NiVf EhqstQP2yrngEnUB+KlVYKtiuyeHSqRuY2xAhr80uUUE/VlEKUR6Koq2S8OJZ2ZOZ4HP7/8hV0SkR gZ/Rpx0RXCsYR/6sZKnCi3K/Nj/G6XZu7NVd81QtkOSd9uIRkASwV68+7a1K+rvAQBuE=; Received: from vas by admin.sibptus.ru with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1n9KOf-00059u-11; Mon, 17 Jan 2022 05:17:37 +0000 Date: Mon, 17 Jan 2022 05:17:37 +0000 From: Victor Sudakov To: pgsql-admin@lists.postgresql.org Cc: Tom Lane Subject: Re: Large number of partitions of a table Message-ID: References: <3919502.1642393668@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3919502.1642393668@sss.pgh.pa.us> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tom Lane wrote: > Victor Sudakov writes: > > Do you have success (or disaster) stories for having a large number of > > partitions in a table (like maybe 10000) in a production database? > > I've found a great article > > https://www.depesz.com/2021/01/17/are-there-limits-to-partition-counts/ > > and basically it says 70000 partitions are OK but would like to hear > > more opinions especially from production experience. > > One thing that cannot be said too strongly is that it depends A LOT > on which Postgres major version you are working with. Sorry, I should have mentioned this. I'm talking about 13.5. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet