pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: iulian dragos <iulian.dragos@databricks.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to reduce query planning time (10s)
Date: Mon, 20 Dec 2021 12:04:50 -0500
Message-ID: <2449277.1640019890@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMNsu3mohUfOt5gxyka6_vtoAZx28uvBJ38Z_6T4HXQUo41PGw@mail.gmail.com>
References: <CAMNsu3mKDtf_zm04v-7_4JJDd1XDE17Mz-WnmxFFVjDaJGDK+w@mail.gmail.com>
	<CAFj8pRBzNhAQ1xL3cQPzz1bTKSTitKA+gaMUo0dXXnsttZQVZg@mail.gmail.com>
	<CAMNsu3mohUfOt5gxyka6_vtoAZx28uvBJ38Z_6T4HXQUo41PGw@mail.gmail.com>

iulian dragos <iulian.dragos@databricks.com> writes:
> Is there any way to validate the bloated index hypothesis before I invest
> too much in this direction?

A plain old VACUUM ought to take care of most of the problem.

			regards, tom lane





view thread (5+ messages)

Message-ID: <2449277.1640019890@sss.pgh.pa.us>
Permalink:  ../2449277.1640019890@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2449277.1640019890@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, iulian.dragos@databricks.com, pavel.stehule@gmail.com
  Subject: Re: How to reduce query planning time (10s)
  In-Reply-To: <2449277.1640019890@sss.pgh.pa.us>
  References: <CAMNsu3mKDtf_zm04v-7_4JJDd1XDE17Mz-WnmxFFVjDaJGDK+w@mail.gmail.com> <CAFj8pRBzNhAQ1xL3cQPzz1bTKSTitKA+gaMUo0dXXnsttZQVZg@mail.gmail.com> <CAMNsu3mohUfOt5gxyka6_vtoAZx28uvBJ38Z_6T4HXQUo41PGw@mail.gmail.com> <2449277.1640019890@sss.pgh.pa.us>

* 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