GIN fast update technique and work_mem

Поиск
Список
Период
Сортировка
От Amit Langote
Тема GIN fast update technique and work_mem
Дата
Msg-id CA+HiwqGF=OoLp1RWaM4r6EjuahNw_64nKPxWQGveb7nV2LBGuw@mail.gmail.com
обсуждение исходный текст
Ответы Re: GIN fast update technique and work_mem  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-general
Hi,

While going through the documentation for GIN fast update technique, I read -

"...or if the pending list becomes too large (larger than work_mem),
the entries are moved to the main GIN data structure using the same
bulk insert techniques used during initial index creation."

The "work_mem" links to work_mem setting documentation.

Whereas in the src/backend/access/gin/README, as one of the features
of GIN, I read  -

"...* Optimized index creation (Makes use of maintenance_work_mem to accumulate
    postings in memory.)"

So, which one is it - work_mem or maintenance_work_mem?

Or are these things unrelated?


--
Amit


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

Предыдущее
От: Eelke Klein
Дата:
Сообщение: Wrong estimate in query plan
Следующее
От: Andres Freund
Дата:
Сообщение: Re: GIN fast update technique and work_mem