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 1niN28-00016x-LN for pgsql-general@arkaria.postgresql.org; Sat, 23 Apr 2022 21:11:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1niN27-0007wT-BI for pgsql-general@arkaria.postgresql.org; Sat, 23 Apr 2022 21:11:11 +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 1niN26-0007rZ-S2 for pgsql-general@lists.postgresql.org; Sat, 23 Apr 2022 21:11:10 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niN20-0003lY-Ep for pgsql-general@lists.postgresql.org; Sat, 23 Apr 2022 21:11:09 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 5A32232007CF; Sat, 23 Apr 2022 17:11:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 23 Apr 2022 17:11:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding: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=fm3; t=1650748261; x= 1650834661; bh=CoK8ba7rmytMmd1qe61Vrm256qN4djvuFwehFhMoQlo=; b=g 3K1tx0b81zybJRP3Yc32JakBBz2wW9k7bFWV2qatJqvpdFtOXklLFV+fivty8XbX YpiinlsW9R5wWytq3qmdUOYIDK0UvQoCcWfwKzN9HtEXSD2uKkKtYO1pC8S1bN0r i0sebCZ18t9PZ4hFrs2j+oa/cPM5n0xjEFAgnnmdg/4CniGzVM3LGG7pfFeXJGY5 SJI9Uuztwkiy/AElmfrI07x8eLtxedUJwIinywuV6gxmrJkZ9H3YyvCkiPEnIZop YUk1OFwnq3E54zxqk09guKYhCZrgD/3l9c+T0SEqViH3p7HmOMSoo8tA5xiKRr5Y EeahTFvDiI/p0A6LXDZZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date: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= fm1; t=1650748261; x=1650834661; bh=CoK8ba7rmytMmd1qe61Vrm256qN4 djvuFwehFhMoQlo=; b=Y74AI3xPs8iqxR7yaQfNG+Xr3j73rO1TX66beqeblPHD 2wTBZmG4cVfSFJr6ek5Er5aN5x3NdUScaaQ/LJCuNclnOhhOgyirrPgF7qb1n3qB hdTIKkX7b+MCMAHiTkCy2KH2IDsOb9XIWZ/L0v6mYK5izWyYsWPkRPVxjJzfw2AB 2NNUYRILEpw3M35NI6o3PAEwoziuv4u5i4NFLe6z0V+P4Lpf0uM3cUAonzApERYX 3ZKioqxVNwAsyX0/GQ2MsNATUXitSK0SRBmg313XLhCHl0a4VFK6tuKXItlO2OCZ YjkHaDOhC3nDjwxsBYPU8+XgKD/fXjZx+uoN5Amoqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdeigdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepvedvkeeihf duhffhtdekleegffduiefgteejgeffgffhteefleeludfgleelgeevnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Apr 2022 17:11:00 -0400 (EDT) Message-ID: <409fbd2f-a4de-c4f0-0b2c-0f083868c9a8@aklaver.com> Date: Sat, 23 Apr 2022 14:11:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: SELECT creates millions of temp files in a single directory Content-Language: en-US To: Peter , pgsql-general@lists.postgresql.org References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/23/22 12:50, Peter wrote: > People seem to have been brainwashed by Web-Services and OLTP, > and now think the working set must always fit in memory. But this > is only one possible usecase, it is not the exclusive only one. This is no-win situation as most of the complaints in recent years have been that Postgres was/is to conservative in its default settings and is not taking advantage of newer more powerful hardware. -- Adrian Klaver adrian.klaver@aklaver.com