pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <srkrishna1@aol.com>
To: splarv@ya.ru
Cc: pgsql-general@lists.postgresql.org
Subject: Re: GIN Index for low cardinality
Date: Thu, 25 Oct 2018 13:55:58 +0000 (UTC)
Message-ID: <1521513486.16082500.1540475758494@mail.yahoo.com> (raw)
In-Reply-To: <3E50E972-7451-4B86-95EF-33A9C2B777FB@ya.ru>
References: <CAGY1NOkYep1Mshow9aZe6wM1YipTYuL09MpR0QHDjcqbOxm0Jg@mail.gmail.com>
	<cedd5ae45b99b0f4fd9b75319700bbc8cf431eec.camel@cybertec.at>
	<CAGY1NOk=MFvgyjQErd3TR_+FAAOn2O0MNR_q=6udd+L-KU+VHw@mail.gmail.com>
	<6f6b9febf25df823552b0d80c5eff9eeccf628d4.camel@cybertec.at>
	<CAGY1NOmpFXV_1L1DFknOh-c-mVfjH6aOfZO_E92iprN-4E87sg@mail.gmail.com>
	<CAGY1NO=s6qMJtv-yTqoGM8hCAKTsojKdueJSk2AW+HsnDXtKOg@mail.gmail.com>
	<E260AEE7-95B3-4142-9A4B-A4416F1701F0@aol.com>
	<3E50E972-7451-4B86-95EF-33A9C2B777FB@ya.ru>

>>Does it mean that GIN is a very good choice for low cardinality columns.  
>Not necessary. There is other index which also don’t keep column value in an every leaf. Hash, for instance. 

Well I asked about GIN's usefulness for low cardinality.  Good to know that Hash can also be considered.
BTW until recently wasn't Hash unsafe for production since it was not WAL logged.





view thread (9+ messages)  latest in thread

Message-ID: <1521513486.16082500.1540475758494@mail.yahoo.com>
Permalink:  ../1521513486.16082500.1540475758494@mail.yahoo.com/
Also on:    postgresql.org/message-id/1521513486.16082500.1540475758494@mail.yahoo.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: srkrishna1@aol.com, splarv@ya.ru
  Subject: Re: GIN Index for low cardinality
  In-Reply-To: <1521513486.16082500.1540475758494@mail.yahoo.com>
  References: <CAGY1NOkYep1Mshow9aZe6wM1YipTYuL09MpR0QHDjcqbOxm0Jg@mail.gmail.com> <cedd5ae45b99b0f4fd9b75319700bbc8cf431eec.camel@cybertec.at> <CAGY1NOk=MFvgyjQErd3TR_+FAAOn2O0MNR_q=6udd+L-KU+VHw@mail.gmail.com> <6f6b9febf25df823552b0d80c5eff9eeccf628d4.camel@cybertec.at> <CAGY1NOmpFXV_1L1DFknOh-c-mVfjH6aOfZO_E92iprN-4E87sg@mail.gmail.com> <CAGY1NO=s6qMJtv-yTqoGM8hCAKTsojKdueJSk2AW+HsnDXtKOg@mail.gmail.com> <E260AEE7-95B3-4142-9A4B-A4416F1701F0@aol.com> <3E50E972-7451-4B86-95EF-33A9C2B777FB@ya.ru> <1521513486.16082500.1540475758494@mail.yahoo.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