Re: pgsql: Use bump memory context for tuplesorts
| От | Melanie Plageman |
|---|---|
| Тема | Re: pgsql: Use bump memory context for tuplesorts |
| Дата | |
| Msg-id | CAAKRu_Y6dZjiJEZghgNZp0Gjar1JVq-CH7XGDqExDVHnPgDjuw@mail.gmail.com обсуждение исходный текст |
| Ответ на | pgsql: Use bump memory context for tuplesorts (David Rowley <drowley@postgresql.org>) |
| Ответы |
Re: pgsql: Use bump memory context for tuplesorts
|
| Список | pgsql-committers |
On Sun, Apr 7, 2024 at 8:32 AM David Rowley <drowley@postgresql.org> wrote:
>
> Use bump memory context for tuplesorts
>
> 29f6a959c added a bump allocator type for efficient compact allocations.
> Here we make use of this for non-bounded tuplesorts to store tuples.
> This is very space efficient when storing narrow tuples due to bump.c
> not having chunk headers. This means we can fit more tuples in work_mem
> before spilling to disk, or perform an in-memory sort touching fewer
> cacheline.
Looks like this assert is tripping on grison [1].
running bootstrap script ... TRAP: failed Assert("total_allocated ==
context->mem_allocated"), File: "bump.c", Line: 808, PID: 30248
[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=grison&dt=2024-04-07%2014%3A10%3A09
В списке pgsql-committers по дате отправления: