pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Ravi Krishna <srkrishna@yahoo.com>
Cc: Cybertec Schönig & Schönig GmbH <laurenz.albe@cybertec.at>
Cc: Thomas Kellerer <shammat@gmx.net>
Cc: PG List <pgsql-general@lists.postgresql.org>
Subject: Re: vacuum vs vacuum full
Date: Wed, 18 Nov 2020 15:59:30 +0100
Message-ID: <8AFEB6EE-02C5-4E7C-952C-34E639DAD2B2@gmail.com> (raw)
In-Reply-To: <3C986184-C865-4069-B9D7-CA0580222080@yahoo.com>
References: <CA+ONtZ5QFB7yc110XdE_d8=7z7HXB_DiNbJ39sz8nf3uUPMcTw@mail.gmail.com>
	<CAJ7S9TWGN01KhO636AWFUVtEFqMkRtf6qaPH6B9VkaN_4spORg@mail.gmail.com>
	<80603b4e-058c-fd9e-8e8c-50010dc32572@gmail.com>
	<1933cd6b-45b0-be1f-3a05-dd02e341ec28@gmx.net>
	<da652dd72d8c1b08f01c131ac2a98dcc0df96b1b.camel@cybertec.at>
	<CB3E8A7A-9481-4D81-9D93-9BA1B9100B05@gmail.com>
	<3C986184-C865-4069-B9D7-CA0580222080@yahoo.com>

Hi Ravi,

> On 18. Nov, 2020, at 15:30, Ravi Krishna <srkrishna@yahoo.com> wrote:
> 
> ALTER TABLE TABLE_NAME DROP PARTITION PARTITION_NAME UPDATE INDEXES;

IIRC the statement is

alter table <table> drop partition <partition> update *GLOBAL* indexes;

But we experienced big problems in the past which is why we changed all to local indexes. The situation may have improved in the last few years but we will not change back again. :-) Why should we?

Cheers,
Paul




view thread (19+ messages)  latest in thread

Message-ID: <8AFEB6EE-02C5-4E7C-952C-34E639DAD2B2@gmail.com>
Permalink:  ../8AFEB6EE-02C5-4E7C-952C-34E639DAD2B2@gmail.com/
Also on:    postgresql.org/message-id/8AFEB6EE-02C5-4E7C-952C-34E639DAD2B2@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 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: paul.foerster@gmail.com, srkrishna@yahoo.com, laurenz.albe@cybertec.at, shammat@gmx.net
  Subject: Re: vacuum vs vacuum full
  In-Reply-To: <8AFEB6EE-02C5-4E7C-952C-34E639DAD2B2@gmail.com>
  References: <CA+ONtZ5QFB7yc110XdE_d8=7z7HXB_DiNbJ39sz8nf3uUPMcTw@mail.gmail.com> <CAJ7S9TWGN01KhO636AWFUVtEFqMkRtf6qaPH6B9VkaN_4spORg@mail.gmail.com> <80603b4e-058c-fd9e-8e8c-50010dc32572@gmail.com> <1933cd6b-45b0-be1f-3a05-dd02e341ec28@gmx.net> <da652dd72d8c1b08f01c131ac2a98dcc0df96b1b.camel@cybertec.at> <CB3E8A7A-9481-4D81-9D93-9BA1B9100B05@gmail.com> <3C986184-C865-4069-B9D7-CA0580222080@yahoo.com> <8AFEB6EE-02C5-4E7C-952C-34E639DAD2B2@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