Re: Vacuum: allow usage of more than 1GB of work mem
От | Claudio Freire |
---|---|
Тема | Re: Vacuum: allow usage of more than 1GB of work mem |
Дата | |
Msg-id | CAGTBQpZwNDQE-AQTuOab8F55=oWvTU6sFnsnRqLVdE4yOi3kbQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Vacuum: allow usage of more than 1GB of work mem (Tomas Vondra <tomas.vondra@2ndquadrant.com>) |
Ответы |
Re: Vacuum: allow usage of more than 1GB of work mem
|
Список | pgsql-hackers |
On Thu, Sep 15, 2016 at 3:48 PM, Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote: > For example, we always allocate the TID array as large as we can fit into > m_w_m, but maybe we don't need to wait with switching to the bitmap until > filling the whole array - we could wait as long as the bitmap fits into the > remaining part of the array, build it there and then copy it to the > beginning (and use the bitmap from that point). The bitmap can be created like that, but grow from the end of the segment backwards. So the scan can proceed until the bitmap fills the whole segment (filling backwards), no copy required. I'll try that later, but first I'd like to get multiarray approach right since that's the basis of it.
В списке pgsql-hackers по дате отправления: