pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: discourage use of partial indexes for poor-man's-partitioni
Date: Wed, 19 Feb 2020 23:52:37 +0000
Message-ID: <E1j4Z8v-0005lr-7b@gemulon.postgresql.org> (raw)

Doc: discourage use of partial indexes for poor-man's-partitioning.

Creating a bunch of non-overlapping partial indexes is generally
a bad idea, so add an example saying not to do that.

Back-patch to v10.  Before that, the alternative of using (real)
partitioning wasn't available, so that the tradeoff isn't quite
so clear cut.

Discussion: https://postgr.es/m/CAKVFrvFY-f7kgwMRMiPLbPYMmgjc8Y2jjUGK_Y0HVcYAmU6ymg@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bbce2912fa899de30783a6a76a6443b5a2aede8d

Modified Files
--------------
doc/src/sgml/indices.sgml | 48 +++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 46 insertions(+), 2 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1j4Z8v-0005lr-7b@gemulon.postgresql.org>
Permalink:  ../E1j4Z8v-0005lr-7b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1j4Z8v-0005lr-7b@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: discourage use of partial indexes for poor-man's-partitioni
  In-Reply-To: <E1j4Z8v-0005lr-7b@gemulon.postgresql.org>

* 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