stat /etc/localtime 38000 times on startup?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема stat /etc/localtime 38000 times on startup?
Дата
Msg-id 43C11935.6060301@dunslane.net
обсуждение исходный текст
Ответы Re: stat /etc/localtime 38000 times on startup?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I just traced starting up a postmaster, and got over 38000 lines like this:
  stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0

I assume it comes from the timezone library, but it seems highly 
inefficient. Anyone know why we might get this?

cheers

andrew


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl vs LC_COLLATE (was Re: Possible savepoint bug)
Следующее
От: "Alon Goldshuv"
Дата:
Сообщение: Libpq COPY optimization