RE: Partial index creation always scans the entire table

Поиск
Список
Период
Сортировка
От Mike Sofen
Тема RE: Partial index creation always scans the entire table
Дата
Msg-id 05fc01d5e52b$3c3d1c50$b4b754f0$@runbox.com
обсуждение исходный текст
Ответ на Re: Partial index creation always scans the entire table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Partial index creation always scans the entire table  (Justin Pryzby <pryzby@telsasoft.com>)
Re: Partial index creation always scans the entire table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
>From: Tom Lane <tgl@sss.pgh.pa.us>   Sent: Sunday, February 16, 2020 7:30
AM
>I've seen people try to do this before.  I wonder if the manual page about
partial indexes should explicitly say "don't do that". 
>    regards, tom lane

Yes please (seriously).  The utter beauty of Postgres is the flexibility and
power that its evolutionary path has allowed/created.  The tragic danger is
that the beauty is fairly easy to misapply/misuse.  Caveats in the
documentation would be very beneficial to both seasoned practitioners and
newcomers - it is quite challenging to keep up with everything Postgres and
the documentation is where most of us turn for guidance.  

And thank you Tom (and others), for your willingness to share these (and
many, many other) insights - it is so powerful when facts connect with
database reality.

Mike Sofen 





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

Предыдущее
От: Lars Aksel Opsahl
Дата:
Сообщение: SubtransControlLock and performance problems
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Partial index creation always scans the entire table