Re: How filesystems matter with PostgreSQL

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: How filesystems matter with PostgreSQL
Дата
Msg-id 4C0AD180.90607@2ndquadrant.com
обсуждение исходный текст
Ответ на How filesystems matter with PostgreSQL  (Jon Schewe <jpschewe@mtu.net>)
Ответы Re: How filesystems matter with PostgreSQL  (Jon Schewe <jpschewe@mtu.net>)
Список pgsql-performance
Jon Schewe wrote:
> The tests were all done on an opensuse 11.2 64-bit machine,
> on the same hard drive (just ran mkfs between each test) on the same
> input with the same code base.

So no controller card, just the motherboard and a single hard drive?  If
that's the case, what you've measured is which filesystems are safe
because they default to flushing drive cache (the ones that take around
15 minutes) and which do not (the ones that take >=around 2 hours).  You
can't make ext3 flush the cache correctly no matter what you do with
barriers, they just don't work on ext3 the way PostgreSQL needs them to.

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


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: slow query
Следующее
От: Jon Schewe
Дата:
Сообщение: Re: How filesystems matter with PostgreSQL