Re: fallocate / posix_fallocate for new WAL file creation (etc...)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Дата
Msg-id 20130530152126.GE2548@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: fallocate / posix_fallocate for new WAL file creation (etc...)  (Greg Smith <greg@2ndQuadrant.com>)
Ответы Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Список pgsql-hackers
Greg Smith escribió:

> The messy part of extending relations in larger chunks
> is how to communicate that back into the buffer manager usefully.
> The extension path causing trouble is RelationGetBufferForTuple
> calling ReadBufferBI.  All of that is passing a single buffer
> around.  There's no simple way I can see to rewrite it to handle
> more than one at a time.

No, but we can have it create several pages and insert them into the
FSM.  So they aren't returned to the original caller but are available
to future users.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: pg_dump with postgis extension dumps rules separately
Следующее
От: Greg Smith
Дата:
Сообщение: Re: fallocate / posix_fallocate for new WAL file creation (etc...)