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 1tIQIu-00EEqn-1c for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Dec 2024 10:38:52 +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 1tIQIr-009AXx-Fz for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Dec 2024 10:38:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIQIr-009AXn-5l for pgsql-hackers@lists.postgresql.org; Tue, 03 Dec 2024 10:38:50 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIQIp-000oIq-OZ for pgsql-hackers@lists.postgresql.org; Tue, 03 Dec 2024 10:38:49 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id C08461380648; Tue, 3 Dec 2024 05:38:46 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Tue, 03 Dec 2024 05:38:46 -0500 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 :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1733222326; x=1733308726; bh=X YBKIhzozbMYqK4+UVjyvAZdAs4RRn+X0AO68mU6PPs=; b=SUlvCpX6eP574SYGv BrgX3UjxLqKcvECky3VO35yikUuwCAMYANLVd8s9bOGD0wVdBqh1I2RLZd75qvfG Gjzxda73yI1f6eE86Zav8Xj8upW1FvvYnq7/xy+zHJ/VzXWB6uFMQivNGXlPv3R5 eaYTO5tVF981yy1jZYvx/RxSZVU/vvsQY9M0cQRP31qBw2/d7EJP6OkvyTWlsfMy ewwsN1U2U5NGNIeeOmaG2+/Te5M+mS4bf4WW5aVkbFsuYxpsjFJ1UsQifm28yrTk kWf5n3XqCnCGngCYKBDt78FDxUtchJh4TuzOEyns2WOA+k+oA/baQuCpX/JIU/2j IoXfg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddriedvgddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecu hfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrd hnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpedvudeftdfgvedvgfffgefhvedu vdeghfdugedufffhgeduudettedthfdvgeffheenucffohhmrghinhepvghnthgvrhhprh hishgvuggsrdgtohhmpdhtfihithhtvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqd hiphdrohhrghdpnhgspghrtghpthhtohepuddupdhmohguvgepshhmthhpohhuthdprhgt phhtthhopeelvghrthhhrghlihhonheisehgmhgrihhlrdgtohhmpdhrtghpthhtoheprg hshhhuthhoshhhrdgsrghprghtrdhoshhssehgmhgrihhlrdgtohhmpdhrtghpthhtohep ughgrhhofihlvgihmhhlsehgmhgrihhlrdgtohhmpdhrtghpthhtohepjhhirghnrdhunh hivhgvrhhsrghlihhthiesghhmrghilhdrtghomhdprhgtphhtthhopeifrghtrghrihdr hihuhigrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepiihmlhhpohhsthhgrhgvshesgh hmrghilhdrtghomhdprhgtphhtthhopehthhhomheslhhinhhugidrtghomhdprhgtphht thhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdroh hrghdprhgtphhtthhopegrrdhlvghpihhkhhhovhesphhoshhtghhrvghsphhrohdrrhhu X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Dec 2024 05:38:46 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1733222325; bh=Ylw5F+WKKQKThhTqOGYQGpJCkUdAjL5t6MH/RWr19tU=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=jjXgQ3farTA3sImNugreF96VQwEQxjxmdD8zczkP8RfDbJGsydGt9Y/9kTEyRGbo8 EbvOzQL/yNdJs1FmPdWjwyTkX+sWs8xaWlaCxFHhFqlNSNCDxfnIKKWCDDPnLvtDHE gfM2BDetynXajWEV7VtXud/SgqUk/4sVDStWL6ab1QfGz0IS2RJKUpjuPeO8cjcyvc 2Ff9IpYsI3GLdrEiJj5i5ma+/9yzPXh+aGRM7LXvDWKFjQpqJpXrGW3LJRYca9QEA3 EuT5MtXXckfA7sOHXGCaaTNtCme3NN+llZFFdWREE1Lh52J435vso6SAe/6SBol1M3 wa3j5Pbhy4fSg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 0B29B95; Tue, 3 Dec 2024 11:38:45 +0100 (CET) Date: Tue, 3 Dec 2024 11:38:45 +0100 From: Alvaro Herrera To: Ashutosh Bapat Cc: Yuya Watari , Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL Developers , jian he , Alena Rybakina , Andrei Lepikhov , David Rowley , Thom Brown , Zhang Mingli , Tom Lane Subject: Re: [PoC] Reducing planning time when tables have many partitions Message-ID: <202412031038.zrosgbzsoutg@alvherre.pgsql> 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 Hello, On 2024-Dec-03, Ashutosh Bapat wrote: > For one of the earlier versions, I had reported a large memory > consumption in all cases and increase in planning time for Assert > enabled builds. How does the latest version perform in those aspects? I don't think planning time in assert-enabled builds is something we should worry about, at all. Planning time in production builds is the important one. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Learn about compilers. Then everything looks like either a compiler or a database, and now you have two problems but one of them is fun." https://twitter.com/thingskatedid/status/1456027786158776329