Re: How filesystems matter with PostgreSQL

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: How filesystems matter with PostgreSQL
Дата
Msg-id 201006041504.03218.andres@anarazel.de
обсуждение исходный текст
Ответ на How filesystems matter with PostgreSQL  (Jon Schewe <jpschewe@mtu.net>)
Ответы Re: How filesystems matter with PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Friday 04 June 2010 14:17:35 Jon Schewe wrote:
> Some interesting data about different filesystems I tried with
> PostgreSQL and how it came out.
>
> I have an application that is backed in postgres using Java JDBC to
> access it. 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. All filesystems were created with the
> default options.
>
> XFS (logbufs=8): ~4 hours to finish
> ext4: ~1 hour 50 minutes to finish
> ext3: 15 minutes to finish
> ext3 on LVM: 15 minutes to finish
My guess is that some of the difference comes from barrier differences. ext4
uses barriers by default, ext3 does not.

Andres

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

Предыдущее
От: "J. Roeleveld"
Дата:
Сообщение: Re: How filesystems matter with PostgreSQL
Следующее
От: Marc Cousin
Дата:
Сообщение: performance regression with Linux 2.6.33 and glibc 2.12