Re: multiple indexes on the same column

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tiffany Thang <tiffanythang(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: multiple indexes on the same column
Date: 2019-04-12 13:51:51
Message-ID: 16482.1555077111@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tiffany Thang <tiffanythang(at)gmail(dot)com> writes:
> Can someone explain the use of creating multiple indexes on the same
> column?

There is none, unless the indexes have different properties (e.g.
different opclasses and/or index AMs).

I'd suggest reading

https://www.postgresql.org/docs/current/indexes.html

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-04-12 14:16:37 Re: Fwd: Postgresql with nextcloud in Windows Server
Previous Message Geoff Winkless 2019-04-12 11:52:59 Re: multiple indexes on the same column