Re: WIP: Avoid creation of the free space map for small tables

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: WIP: Avoid creation of the free space map for small tables
Дата
Msg-id CAEepm=3dfuAHv_v+K7VjhwyXHWEk14HshpavMrAt-oyVO-TwGQ@mail.gmail.com
обсуждение исходный текст
Ответ на WIP: Avoid creation of the free space map for small tables  (John Naylor <jcnaylor@gmail.com>)
Ответы Re: WIP: Avoid creation of the free space map for small tables
Список pgsql-hackers
On Sat, Oct 6, 2018 at 7:47 AM John Naylor <jcnaylor@gmail.com> wrote:
> A while back, Robert Haas noticed that the space taken up by very
> small tables is dominated by the FSM [1]. Tom suggested that we could
> prevent creation of the FSM until the heap has reached a certain
> threshold size [2]. Attached is a WIP patch to implement that. I've
> also attached a SQL script to demonstrate the change in behavior for
> various scenarios.

Hi John,

You'll need to tweak the test in contrib/pageinspect/sql/page.sql,
because it's currently asserting that there is an FSM on a small table
so make check-world fails.

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Odd 9.4, 9.3 buildfarm failure on s390x
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Postgres 11 release notes