Re: [HACKERS] Re: Burst in WAL size when UUID is used as PK whilefull_page_writes are enabled

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: [HACKERS] Re: Burst in WAL size when UUID is used as PK whilefull_page_writes are enabled
Дата
Msg-id CAA4eK1JrkR_nuquVf44hfVou06MBe9bWWq0ZN4Uc=wCDVCjxMw@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] Re: Burst in WAL size when UUID is used as PK whilefull_page_writes are enabled  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-hackers
On Fri, Oct 27, 2017 at 5:46 PM, Thomas Kellerer <spam_eater@gmx.net> wrote:
> akapila wrote:
>
>> You might want to give a try with the hash index if you are planning
>> to use PG10 and your queries involve equality operations.
>
> But you can't replace the PK index with a hash index, because hash indexes
> don't support uniqueness.
>

That's true, but it hasn't been mentioned in the mail that the usage
of hash index is the for primary key.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Burst in WAL size when UUID is used as PK whilefull_page_writes are enabled
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] MERGE SQL Statement for PG11