pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <dgrowleyml@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Mikhail Balayan <mv.balayan@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Planning time is time-consuming
Date: Mon, 11 Sep 2023 20:24:35 +1200
Message-ID: <CAApHDvptg3+=rPK2s1T2bMASu4coYo7ssrkN_Smf8-RVC3sfFQ@mail.gmail.com> (raw)
In-Reply-To: <5ef3acf5733d5a8584b09eb5dd107e59aa87a075.camel@cybertec.at>
References: <CAC2oM1bUqsBFQKVrZy9Z95SuDbmj-uSkXdbYfTnRwyTACSmd4w@mail.gmail.com>
	<5ef3acf5733d5a8584b09eb5dd107e59aa87a075.camel@cybertec.at>

On Mon, 11 Sept 2023 at 18:16, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> Also, there are quite a lot of indexes on "test_db_bench_1".  On a test database, drop some
> indexes and see if that makes a difference.

Yeah, I count 3 that either have the key columns as some prefix of
another index or are just a duplicate of some other index.

Getting rid of those 3 will save some time in create_index_paths().

David





view thread (15+ messages)  latest in thread

Message-ID: <CAApHDvptg3+=rPK2s1T2bMASu4coYo7ssrkN_Smf8-RVC3sfFQ@mail.gmail.com>
Permalink:  ../CAApHDvptg3+=rPK2s1T2bMASu4coYo7ssrkN_Smf8-RVC3sfFQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAApHDvptg3+=rPK2s1T2bMASu4coYo7ssrkN_Smf8-RVC3sfFQ@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dgrowleyml@gmail.com, laurenz.albe@cybertec.at, mv.balayan@gmail.com
  Subject: Re: Planning time is time-consuming
  In-Reply-To: <CAApHDvptg3+=rPK2s1T2bMASu4coYo7ssrkN_Smf8-RVC3sfFQ@mail.gmail.com>

* 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