Re: VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?
Дата
Msg-id 4DBA02D8.4050705@2ndQuadrant.com
обсуждение исходный текст
Ответ на VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?  (HSIEN-WEN CHU <hsienwen.chu@googlemail.com>)
Список pgsql-performance
On 04/27/2011 11:33 PM, HSIEN-WEN CHU wrote:
> When database files are on a VxFS filesystem, performance can be
> significantly improved by setting the VX_CONCURRENT cache advisory on
> the file according to vxfs document,
>

That won't improve performance, and it's not safe either.  VX_CONCURRENT
switches the filesystem to use direct I/O.  That's usually slower for
PostgreSQL.  And it introduces some requirements for both block
alignment and the application avoiding overlapping writes.  PostgreSQL
doesn't do either, so I wouldn't expect it to be compatible with
VX_CONCURRENT.

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: reducing random_page_cost from 4 to 2 to force index scan
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Performance