Re: moving pg_xlog -- yeah, it's worth it!

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: moving pg_xlog -- yeah, it's worth it!
Дата
Msg-id
20100212141036.GB3737@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
Re: moving pg_xlog -- yeah, it's worth it! "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: moving pg_xlog -- yeah, it's worth it! Alvaro Herrera <alvherre@commandprompt.com>
Re: moving pg_xlog -- yeah, it's worth it! Alvaro Herrera <alvherre@commandprompt.com>
Re: moving pg_xlog -- yeah, it's worth it! "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: moving pg_xlog -- yeah, it's worth it! Alvaro Herrera <alvherre@commandprompt.com>
Re: moving pg_xlog -- yeah, it's worth it! Greg Smith <greg@2ndquadrant.com>
Re: moving pg_xlog -- yeah, it's worth it! "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: moving pg_xlog -- yeah, it's worth it! Ben Chobot <bench@silentmedia.com>
Alvaro Herrera wrote:
> Kevin Grittner wrote:

> > Anyway, given that these are replication
> > targets, and aren't the "database of origin" for any data of their
> > own, I guess there's no reason not to try asynchronous commit. 
> 
> Yeah; since the transactions only ever write commit records to WAL, it
> wouldn't matter a bit that they are lost on crash.  And you should see
> an improvement, because they wouldn't have to flush at all.

Actually, a transaction that performed no writes doesn't get a commit
WAL record written, so it shouldn't make any difference at all.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-performance по дате отправления
От: Alvaro Herrera
Дата:
От: Kevin Grittner
Дата:
FAQ