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 1qEE5J-0003hg-Bd for pgsql-general@arkaria.postgresql.org; Tue, 27 Jun 2023 19:10:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qEE5I-0004tR-7K for pgsql-general@arkaria.postgresql.org; Tue, 27 Jun 2023 19:10:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qEE5H-0004qW-5T for pgsql-general@lists.postgresql.org; Tue, 27 Jun 2023 19:10:39 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qEE5E-000mjP-19 for pgsql-general@lists.postgresql.org; Tue, 27 Jun 2023 19:10:37 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 929723200915; Tue, 27 Jun 2023 15:10:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 27 Jun 2023 15:10:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1687893033; x=1687979433; bh=glXZjZN6r2PB81xub0tJkIkXcYuK6moWsrq n8zAhf5A=; b=kP4Hn5dF3ui1OLBRgTeGDSartuwYL9eVVXyKlrBkZNRIV3/EwjA 5zCRndOUO5kVKDpmw7li6YQTOF93gLFmfFp1pbQwOrFZJPcagi9sSMRIWbC7m1Fr sHGzae+rNLWQAUrFhYEMVBGpFwhgPJTeEd2CtOI5PdAxYLr/80qon9CUaD75TvBo G9cvgjlfw2/o20MWGf/IvadGK3iWqVdYz+7aIjQ1cExeL07RGiag/1ccGYmvuWBM zQ2MQn6GVwgFTjqnJzFYh6pW8lySWJ1cWlFRlFl9Ek7Ae4aZQ/23Qm4eS/RqPJX+ fIwdAx14KzlddvDs/biBq7Sr3FEK91TJuig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1687893033; x=1687979433; bh=glXZjZN6r2PB81xub0tJkIkXcYuK6moWsrq n8zAhf5A=; b=Kce6h7u1RHCeCIkADWpcopLSQ2x284TPUw6mBXIeJk4t62X9UiS DBylfj7sYtKAKIuWBqXblf96uscoBpGvHcgY62/7usME7a19lN1ofKy4NmwWNlq0 zDkZSHqXqjDTlsV3NErA139cxUfg9sqT/siq/puYCeCEfBBRPnFwbgszM0UiBg5E RgVNv3OLrE8OLj9FpPvtdACi9pfZcPKFK8LWjp+cwcEc7A0xPhq/gMNOHPt/vKJe HigJ17HzXW8Whipj4WfU0wNngoXDU7IU+B4t3sKE9hH9QgMV7ejxQX61H9YJ3mHf rF15mvdWp9QJomu/mZSJcn5aN4VHJZB1FoA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtddtgdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfevfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeduhfeiteduvedtgfeikeeuudetveevueekvedutdfh teeluedtudduvdefveejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Jun 2023 15:10:32 -0400 (EDT) Subject: Re: typical active table count? To: Jeremy Schneider , Ben Chobot Cc: pgsql-general References: <0cc7b26e-3766-50c9-6212-4e2ed281b822@silentmedia.com> From: Adrian Klaver Message-ID: <2ea89954-b978-5622-7239-1b872fda24d3@aklaver.com> Date: Tue, 27 Jun 2023 12:10:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/27/23 11:47 AM, Jeremy Schneider wrote: > On 6/27/23 9:32 AM, Ben Chobot wrote: >> We certainly have databases where far more than 100 tables are updated >> within a 10 second period. Is there a specific concern you have? >> > > Thank Ben, not a concern but I'm trying to better understand how common > this might be. And I think sharing general statistics about how people > use PostgreSQL is a great help to the developers who build and maintain it. Given that Postgres is used up into the petabyte range, it is reasonable to assume that it handles dealing with large multiples of tables. This of course is based on sufficient hardware and proactive tuning. Personally I think you are getting into the range of premature optimization. There are so many ways to use Postgres that unless you provide a detailed example of how you want to use it the survey you seem to be requesting will likely have more cases that do not apply then those that do. To me the way forward is to create a plan for what you want accomplish and then ask specific questions based on that or build a test/dev setup that institutes the plan and deal with the diversions, if any, from the plan. > -Jeremy > > -- Adrian Klaver adrian.klaver@aklaver.com