Re: freebsd/softupdates for data dir

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: freebsd/softupdates for data dir
Дата
Msg-id A3A08921-7B37-448A-8F34-A921FECC8BC8@pervasive.com
обсуждение исходный текст
Ответ на Re: freebsd/softupdates for data dir  (Vivek Khera <vivek@khera.org>)
Ответы Re: freebsd/softupdates for data dir
Список pgsql-performance
On Apr 4, 2006, at 10:41 AM, Vivek Khera wrote:
> On Apr 3, 2006, at 10:10 PM, Mark Kirkwood wrote:
>
>> I've always left them on, and never had any issues...(even after
>> unscheduled power loss - which happened here yesterday). As I
>> understand it, the softupdate code reorders *metadata* operations,
>> and does not alter data operations - so the effect of fysnc(2) on
>> a preexisting file is not changed by softupdates being on or off.
>
> This is also my understanding, and I also leave softupdates on for
> the data partition.  Even if it doesn't improve performance, it
> will not reduce it, and otherwise does no harm with respect to
> postgres' disk usage.

More importantly, it allows the system to come up and do fsck in the
background. If you've got a large database that's a pretty big benefit.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Sun Fire T2000 and PostgreSQL 8.1.3
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Sun Fire T2000 and PostgreSQL 8.1.3