pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guyren Howe <guyren@gmail.com>
To: pgsql-general@lists.postgresql.org
To: tutiluren@tutanota.com
Subject: Re: Can I get some PostgreSQL developer feedback on these five general issues I have with PostgreSQL and its ecosystem?
Date: Mon, 14 Sep 2020 13:30:39 -0700
Message-ID: <1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark> (raw)
In-Reply-To: <MHDH6oj--3-2@tutanota.com>
References: <MHDH6oj--3-2@tutanota.com>

Regarding indexes, I recommend the website use-the-index-luke.com. That guy’s other website about modern SQL is also great.

Regarding self-tuning, it was actually part of the original vision for relational databases that they would do that, but I’m not aware of any modern SQL database that does, although there are third-party tools that will eg offer index suggestions (I don’t know which is best, so I won’t propose any).
On Sep 14, 2020, 13:22 -0700, tutiluren@tutanota.com, wrote:
> 4. There is no built-in means to have PG manage (or even suggest) indexes on its own. Trying to figure out what indexes to create/delete/fine-tune, and determine all the extremely complex rules for this art (yes, I just called index management an *art*, because it is!), is just utterly hopeless 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). Having to use third-party solutions ensures 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-ons to things, but want the core product to properly support things. Besides, this (adding/managing indexes) is not even some niche/obscure use-case, but something which is crucial for basically any nontrivial database of any kind!

view thread (40+ messages)  latest in thread

Message-ID: <1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark>
Permalink:  ../1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark/
Also on:    postgresql.org/message-id/1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: guyren@gmail.com, tutiluren@tutanota.com
  Subject: Re: Can I get some PostgreSQL developer feedback on these five general issues I have with PostgreSQL and its ecosystem?
  In-Reply-To: <1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark>
  References: <MHDH6oj--3-2@tutanota.com> <1055e3df-5be1-4d03-b8a0-bd613fe447da@Spark>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox