Re: Time to run initdb is mostly figure-out-the-timezone work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Time to run initdb is mostly figure-out-the-timezone work
Дата
Msg-id 8437.1261159027@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Time to run initdb is mostly figure-out-the-timezone work  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Time to run initdb is mostly figure-out-the-timezone work  (Alex Hunsaker <badalex@gmail.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I notice that most of the difference is system time ... I imagine we do
> a lot of syscalls to guess the timezone.

Yeah, it seems to be mostly the cost of searching the timezone directory
tree and reading all those small files.  I was led to notice this
because Red Hat's latest devel kernels seem to have a bit of a
performance regression in this area:
https://bugzilla.redhat.com/show_bug.cgi?id=548403
Obviously there's something there for the kernel guys to fix, but
even with a non-borked kernel it's an expensive thing to do.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Time to run initdb is mostly figure-out-the-timezone work
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Backup history file should be replicated in Streaming Replication?