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 1ljQN5-0003V2-C9 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 May 2021 17:52:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ljQN4-000588-C4 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 May 2021 17:52:38 +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 1ljQN4-000566-0O for pgsql-hackers@lists.postgresql.org; Wed, 19 May 2021 17:52:38 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ljQMw-0004DV-Gp for pgsql-hackers@postgresql.org; Wed, 19 May 2021 17:52:37 +0000 Received: by mail-pf1-x42c.google.com with SMTP id f22so2059410pfn.0 for ; Wed, 19 May 2021 10:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=x0LkBwX6pnbEtDrYFCwm+425ulLlKa/HvynI9LptwjI=; b=Sh5tuG5TLh8fqtK86lzILoOXETI6O9JF5ps3k+MGi7eRSZ4MYCMf7LTSAVggGste9k dEjipRbMuxLOIaqfoAVN23IlIZyimJF5r8LivUq90daXLXilcqlD/+3ToSAMeUkTNCCZ YTLYQdIUosb2x7sKteswmHDrgfzrMKSVtrLUNvkjoZyhKIl9G4c5QAAr23kb6OUnTgUw m+2kZI/6+Vdkfy6D0uhQ/RyRKRjfhDCWhLWcAJXrMO2CjwAVpC1/QKx7sHl5xniQnJ1L u07rttQ8FyIAQBXSYWVC9kYr5HOLj6iGNmBOqTzMYeTtZdW5Gd00OgLMxCxqgQQW8wqa h31A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=x0LkBwX6pnbEtDrYFCwm+425ulLlKa/HvynI9LptwjI=; b=Jp1eDpEOcF2R/vL49irVtz85yK4IJgHocqcQJ8XabinZ3CInurMxiuwRZ7AlDgA8du YcVt4ZXxlL+LdAP6r77EcjPfajFAhpAjiSVD5pYJdxTZX/qawoZaUZhrx91dw52fKKP9 Jn6Z9wZScDWkmidfseRquMyzRbp6cBbXcZyXYNeYhCtqCCWUnH9zvtNXqJNJXPiYXWJa d0DCz2Dtr0Zuzg+RydXp3y6kHkXr1orSJwPVaA2Zt3uaOGWJ5lTbucvAO0iQBoFN0ZPV T6GU0ioe1XOdmkEZV1nSIHcQa/DpW1IGFxgI1o0Jb+kCT4cQ554ovy4c5yzyevdUb6gt ye/A== X-Gm-Message-State: AOAM532WxbbVEYqcZETBESaN9U+KJ/RUQ3qBi28+g76ugYZO9gPfRCJw bdeNgLNczwA3RUwiL5iVOYKAWs9erXPBMdeg/3nVLa/sezQ+5TBQu4gYcelEVf6Sg2A3YtlJcyH YVgi4hK0cRxUJo0AgZ3eQJISPYEsZIq6NuW0kRTAp23lYj5HxFpFmhWtR/aAX0ci3gYT4wJbTH/ JJKlkOoS9TZnDIdDwjO68Wo5oAPgazQKvCITFuK765JjyQ72aOu620sjlmd5veXEA= X-Google-Smtp-Source: ABdhPJyltZZdPuxaObW91lvxfqFLXlvE+baUF/fawML5HMEp4XLlzgr3qB5pfSkzlawIGG3F58FaJZEs0bUR0UfwSKs= X-Received: by 2002:aa7:8f37:0:b029:2db:551f:ed8e with SMTP id y23-20020aa78f370000b02902db551fed8emr243972pfr.43.1621446747485; Wed, 19 May 2021 10:52:27 -0700 (PDT) MIME-Version: 1.0 References: <20201110230848.GB12947@momjian.us> <996474.1605726312@sss.pgh.pa.us> <20201123153936.GA29448@momjian.us> <20201217145858.GA23260@momjian.us> In-Reply-To: <20201217145858.GA23260@momjian.us> From: John Naylor Date: Wed, 19 May 2021 13:52:03 -0400 Message-ID: Subject: Re: cutting down the TODO list thread To: pgsql-hackers Content-Type: multipart/alternative; boundary="000000000000680f7205c2b27db7" X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000680f7205c2b27db7 Content-Type: text/plain; charset="UTF-8" Hi, I let this drop off my radar a few months ago, but I'm going to try to get back into the habit of looking at a few items a week. As before, let me know in the next few days if anyone has thoughts or objections. (Optimizer / Executor) - Consider increasing the default values of from_collapse_limit, join_collapse_limit, and/or geqo_threshold http://archives.postgresql.org/message-id/4136ffa0905210551u22eeb31bn5655dbe7c9a3aed5@mail.gmail.com This seems to have been rejected. - Improve use of expression indexes for ORDER BY http://archives.postgresql.org/pgsql-hackers/2009-08/msg01553.php Skimming the thread, I'm not quite sure if index-only scans (not available at the time) solves the problem, or is orthogonal to it? - Modify the planner to better estimate caching effects http://archives.postgresql.org/pgsql-performance/2010-11/msg00117.php Huge discussion. This sounds like a research project, and maybe a risky one. - Allow shared buffer cache contents to affect index cost computations http://archives.postgresql.org/pgsql-hackers/2011-06/msg01140.php Related to the above, but has a more specific approach in mind. The discussion thread is not useful for getting one's head around how to think about the problem, much less to decide if it's worth working on -- it's mostly complaining about the review process. Independent of that, the idea of inspecting the buffer cache seems impractical. -- John Naylor EDB: http://www.enterprisedb.com --000000000000680f7205c2b27db7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I let this drop off my radar a few months ago, = but I'm going to try to get back into the habit of looking at a few ite= ms a week. As before, let me know in the next few days if anyone has though= ts or objections.

(Optimizer / Executor)

- Consider increasin= g the default values of from_collapse_limit, join_collapse_limit, and/or ge= qo_threshold

http://archives.p= ostgresql.org/message-id/4136ffa0905210551u22eeb31bn5655dbe7c9a3aed5@mail.g= mail.com

This seems to have been rejected.

- Improve use = of expression indexes for ORDER BY

http://archives.postgresql.org= /pgsql-hackers/2009-08/msg01553.php

Skimming the thread, I'm= not quite sure if index-only scans (not available at the time) solves the = problem, or is orthogonal to it?

- Modify the planner to better esti= mate caching effects

http://archives.postgresql.org/pgsql-per= formance/2010-11/msg00117.php

Huge discussion. This sounds like = a research project, and maybe a risky one.

- Allow shared buffer cac= he contents to affect index cost computations

http://archives.pos= tgresql.org/pgsql-hackers/2011-06/msg01140.php

Related to the ab= ove, but has a more specific approach in mind. The discussion thread is not= useful for getting one's head around how to think about the problem, m= uch less to decide if it's worth working on -- it's mostly complain= ing about the review process. Independent of that, the idea of inspecting t= he buffer cache seems impractical.

--
John Naylor
EDB: http://www.enterprisedb.com
--000000000000680f7205c2b27db7--