Re: PG 16 draft release notes ready

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: PG 16 draft release notes ready
Дата
Msg-id CAApHDvozHpXLSte2CLOHjk+VG5cuhZExM+41rpEGuxorK_Yx3w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG 16 draft release notes ready  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: PG 16 draft release notes ready  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, 25 May 2023 at 05:45, Bruce Momjian <bruce@momjian.us> wrote:
>
> On Wed, May 24, 2023 at 01:43:50PM -0400, Bruce Momjian wrote:
> > > * Reduce palloc() memory overhead for all memory allocations down to 8
> > > bytes on all platforms. (Andres Freund, David Rowley)
> > >
> > > This allows more efficient use of memory and is especially useful in
> > > queries which perform operations (such as sorting or hashing) that
> > > require more than work_mem.
> >
> > Well, this would go in the source code section, but it seems too
> > internal and global to mention.
>
> What was the previous memory allocation overhead?

On 64-bit builds, it was 16 bytes for AllocSet contexts, 24 bytes for
generation contexts and 16 bytes for slab contexts.

David



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: PostgreSQL 16 Beta 1 release announcement draft
Следующее
От: Richard Guo
Дата:
Сообщение: Re: Wrong results due to missing quals