Re: xlog.c: WALInsertLock vs. WALWriteLock

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: xlog.c: WALInsertLock vs. WALWriteLock
Дата
Msg-id 1288191884-sup-5858@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: xlog.c: WALInsertLock vs. WALWriteLock  (Markus Wanner <markus@bluegap.ch>)
Список pgsql-hackers
Excerpts from Markus Wanner's message of mié oct 27 11:44:20 -0300 2010:
> On 10/26/2010 05:52 PM, Alvaro Herrera wrote:
> > And horrible for performance, I imagine.  Those locks are highly trafficked.
> 
> Note, however, that offloading this to the file-system just moves
> congestion there. So we are effectively saying that we expect
> filesystems to do a better job (in that aspect) than our WAL implementation.

Well, you can just read at your pace from the filesystem; the data is
going to stay there for a long time.  WAL buffers are constantly moving,
and aren't as big.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: add label to enum syntax
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Bikeshedding on enum vocabulary