Re: BUG #15609: synchronous_commit=off insert performance regressionwith secondary indexes

Поиск
Список
Период
Сортировка
От Saul, Jean Paolo
Тема Re: BUG #15609: synchronous_commit=off insert performance regressionwith secondary indexes
Дата
Msg-id CA+73ANffu7xZDPOAtH5=jNsN2eyOWx8Dw0R4Hi_92pxqm4=1Ag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #15609: synchronous_commit=off insert performance regressionwith secondary indexes  ("Saul, Jean Paolo" <paolo.saul@verizonconnect.com>)
Ответы Re: BUG #15609: synchronous_commit=off insert performance regressionwith secondary indexes  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-bugs
Hi All,


I have found a short term workaround for this. You recreate the index with an added second column with high-cardinality.
ex. CREATE INDEX ON test_indexes USING BTREE (low_cardinality_column, primary_key_id);

We have around 1,500 tables with low-cardinality indexes, so its not the best workaround but one that restores the performance bump for PG11.

Can anyone please shed some light as to why this works?
The only thing I could think of is a locking issue with the leaf nodes.

How much testing is required for this to be considered a proper bug?


Cheers,

Paolo



PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL

VERIZON CONNECT CONFIDENTIALITY NOTICE
This message is intended for the addressee only and may contain confidential and/or privileged material. Any review, re-transmission, dissemination, reliance upon or other use of this information by persons or entities other than the addressee is prohibited. If you receive this in error, please contact the sender and delete this message. Thank you.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15572: Misleading message reported by "Drop function operation" on DB with functions having same name
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15628: Error while installing postgreSQL