Re: multiple indexes on the same column

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: multiple indexes on the same column
Дата
Msg-id 20190412165515.xmuni4ucagtehiqj@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: multiple indexes on the same column  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: multiple indexes on the same column
Список pgsql-general
Hi,

On 2019-04-12 09:51:51 -0400, Tom Lane wrote:
> Tiffany Thang <tiffanythang@gmail.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).

Well, it can be beneficial to create a new index concurrently, and then
drop the old one concurrently. Before v12 that's the only way to
recreate an index during production, if it e.g. bloated.

Greetings,

Andres Freund



В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Fwd: Postgresql with nextcloud in Windows Server
Следующее
От: Tom Lane
Дата:
Сообщение: Re: multiple indexes on the same column