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 1kHv86-00078G-NK for pgsql-general@arkaria.postgresql.org; Mon, 14 Sep 2020 20:31:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kHv85-0003sD-LP for pgsql-general@arkaria.postgresql.org; Mon, 14 Sep 2020 20:31:13 +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 1kHv85-0003s6-DR for pgsql-general@lists.postgresql.org; Mon, 14 Sep 2020 20:31:13 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kHv81-0000bn-Th for pgsql-general@lists.postgresql.org; Mon, 14 Sep 2020 20:31:12 +0000 Received: by mail-pg1-x544.google.com with SMTP id f2so741954pgd.3 for ; Mon, 14 Sep 2020 13:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=UoT+vfkKjIMJtcgO8F3H3l2mczzCS2LxOStxJ+RXfkY=; b=M/64O0vj3ERJzZG4vTMEb0UlXaYxgHpowA+C8BOQiQuBVSLP0WEqQLrHnBxidA3VKN I2WlTpqQ1xE2zRvM5o5VdTak7xw+cbY0pGjfL9qtkXy9jliZ11+fJUoX8tVNOflI1QMN dyK9lKIYT5gkdwywVmLF6OWWyLTXG5jV8EsHXvstwHWp50+nibyQFFSZbM8lPyQLvli4 DuhRFbSQKmRNGY+QZhH6S6h1I2PiQiOcMwFRy7btnpU8xCn4Z+qB75I7d2aQfYT/TRsL H/oKKILSiGIKsmWvcCzz6omekqBk/lt5pCPXB1UZOk3YPiDobvuP/dHxV/8KqW4fI0iN 93Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=UoT+vfkKjIMJtcgO8F3H3l2mczzCS2LxOStxJ+RXfkY=; b=KrnPioOaesGn5tfFFwA8rFfP9wdU9/HwQOEAGIN6odmjDyTCnuIxw0BCGbAGxuNIvX 7B8GUpn/3cjHvmFIlrmFSj3ztOD+SvFQgt92vYSiwwJqpnWrs/11SzNPnjzELOOxRVH6 gBflyZzaJRhgE4usmxscK62Zrz4hx3Spob+9hNhATHRE68gQBqcocL/ci6+wt/Qm5+Tl oRBWgpQz5b7QbgAjaCXpJVVdioGFTKm9g4VbeBQa8SvFg7TOshVMmYcvwa0Mj+GBfwFz d/lhNxtcQBHSe55wBsf4WopGLUeQYZ27ntsxEY6UXNbqoGEkPgHeaucQtsDqs2Wk1e0m yrPg== X-Gm-Message-State: AOAM532Q5cFj0FtA0VpO0Og1G2pcScD8wgaMoblOTcKBV/7TLdkNRbDl Q0b0ByZvh1FlaQXp9ytj6GpOZ4zG4Lc23A== X-Google-Smtp-Source: ABdhPJzT6bJHzQI3gONihUX1gohSc/H+rKTny6TdaYc3mi0fI6FCg9d4K5967R35NUs0STEl2+TnoA== X-Received: by 2002:a05:6a00:1507:b029:13e:d13d:a13c with SMTP id q7-20020a056a001507b029013ed13da13cmr14934421pfu.36.1600115467248; Mon, 14 Sep 2020 13:31:07 -0700 (PDT) Received: from [2600:8801:8800:b39:300f:d382:200:0] ([2600:8801:8800:b39::11]) by smtp.gmail.com with ESMTPSA id x4sm11008202pff.57.2020.09.14.13.31.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2020 13:31:06 -0700 (PDT) Date: Mon, 14 Sep 2020 13:30:39 -0700 From: Guyren Howe To: pgsql-general@lists.postgresql.org, tutiluren@tutanota.com Message-ID: <1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark> In-Reply-To: References: Subject: Re: Can I get some PostgreSQL developer feedback on these five general issues I have with PostgreSQL and its ecosystem? X-Readdle-Message-ID: 1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5f5fd309_515f007c_d7ee" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --5f5fd309_515f007c_d7ee Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Regarding indexes, I recommend the website use-the-index-luke.com. That g= uy=E2=80=99s other website about modern SQL is also great. Regarding self-tuning, it was actually part of the original vision for re= lational databases that they would do that, but I=E2=80=99m not aware of = any modern SQL database that does, although there are third-party tools t= hat will eg offer index suggestions (I don=E2=80=99t know which is best, = so I won=E2=80=99t propose any). On Sep 14, 2020, 13:22 -0700, tutiluren=40tutanota.com, wrote: > 4. There is no built-in means to have PG manage (or even suggest) index= es on its own. Trying to figure out what indexes to create/delete/fine-tu= ne, and determine all the extremely complex rules for this art (yes, I ju= st called index management an *art*, because it is=21), is just utterly h= opeless to me. It never gets any easier. Not even after many years. It's = the by far worst part of databases to me (combined with point five). Havi= ng to use third-party solutions ensures that it isn't done in practice, a= t least for me. I don't trust, nor do I want to deal with, external softw= are and extensions in my databases. I still have nightmares from PostGIS,= which I only keep around, angrily, out of absolute necessity. I fundamen= tally don't like third-party add-ons to things, but want the core product= to properly support things. Besides, this (adding/managing indexes) is n= ot even some niche/obscure use-case, but something which is crucial for b= asically any nontrivial database of any kind=21 --5f5fd309_515f007c_d7ee Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Regarding indexes, I recommend the website use-the-= index-luke.com. That guy=E2=80=99s other website about modern SQL is also= great.

Regarding self-tuning, it was actually part of the original vision for re= lational databases that they would do that, but I=E2=80=99m not aware of = any modern SQL database that does, although there are third-party tools t= hat will eg offer index suggestions (I don=E2=80=99t know which is best, = so I won=E2=80=99t propose any).
On Sep 14, 2020, 13:22 -0700, tutiluren=40tutanota.= com, wrote:
4. There is no built-in means to= have PG manage (or even suggest) indexes on its own. Trying to figure ou= t what indexes to create/delete/fine-tune, and determine all the extremel= y complex rules for this art (yes, I just called index management an *art= *, because it is=21), is just utterly hopeless to me. It never gets any e= asier. Not even after many years. It's the by far worst part of databases= to me (combined with point five). Having to use third-party solutions en= sures that it isn't done in practice, at least for me. I don't trust, nor= do I want to deal with, external software and extensions in my databases= . I still have nightmares from PostGIS, which I only keep around, angrily= , out of absolute necessity. I fundamentally don't like third-party add-o= ns to things, but want the core product to properly support things. Besid= es, this (adding/managing indexes) is not even some niche/obscure use-cas= e, but something which is crucial for basically any nontrivial database o= f any kind=21
--5f5fd309_515f007c_d7ee--