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 1uCOZd-00EYSq-5t for pgsql-hackers@arkaria.postgresql.org; Tue, 06 May 2025 20:07:29 +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 1uCOZc-009hPT-0h for pgsql-hackers@arkaria.postgresql.org; Tue, 06 May 2025 20:07:28 +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 1uCOZb-009hPK-No for pgsql-hackers@lists.postgresql.org; Tue, 06 May 2025 20:07:27 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uCOZY-000VED-2Z for pgsql-hackers@lists.postgresql.org; Tue, 06 May 2025 20:07:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2025010100; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=9TZE7J6gUA0BNCGQG2ZWAsENfaGNQQwjFS05jOi82u8=; b=EKlWcqmX+aijY+QnM1vpk6Z7y7 O/Aw9/I4MXlAUfJlQreoBaq31naO12brgNYcJruZgAHDrqPOFf8D1e8mHpts4tLVx5LAZdw7hR90z uP1cSeULIhKDoKpWRTUlVcgoZPqRI3LAe4d4CAMSPVakW4240Y90CVxCD6ylz8SzbfGM6XjhOFo1W 4dMUO7LeL+SFKmUmMWR8TCSlBI1lmpFxuE3oPVlkuQeTYXM3s7obKws1kk+RyYF6DlfATEqMTZJ3W SpnX1gbBKvhdqWw0D7CDefqzQUUtmKh23eUifIuxDgVYjGOys9wXNK1gdICdrXbLR8LxvhqpITs62 bbSUk59w==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1uCOZY-006nxT-05; Tue, 06 May 2025 16:07:24 -0400 Date: Tue, 6 May 2025 16:07:24 -0400 From: Bruce Momjian To: Amit Langote Cc: PostgreSQL-development , David Rowley Subject: Re: PG 18 release notes draft committed Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, May 6, 2025 at 03:08:13PM +0900, Amit Langote wrote: > > I don't think most people would know what EquivalenceMember is, and even > > if they did, would they be able to connect it to an SQL query? > > Thanks for splitting these (cf847d634). I think the text for the > locking item should mention “during execution,” as David also > suggested. Again, I don’t think this change belongs under Optimizer > since it doesn’t really affect the planner -- it’s mainly an executor > improvement. Maybe the General Performance section is a better fit. Yes, good idea, done. > Also, just to clarify why the individual items are meaningful > performance improvements: > > * Locking change: Executing cached plans involving hundreds or > thousands of partitions was bottlenecked by locking; with this change, > execution is now roughly 20x faster with 1000 partitions. > > * Planning time improvements: Planning certain commonly used queries > against partitioned tables when they don’t use partition pruning is > now roughly 20x faster with 1000 partitions. That's impressive! -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.