Re: explain analyze reports that my queries are fast but they run very slowly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explain analyze reports that my queries are fast but they run very slowly
Дата
Msg-id 19936.1356644001@sss.pgh.pa.us
обсуждение исходный текст
Ответ на explain analyze reports that my queries are fast but they run very slowly  (Nikolas Everett <nik9000@gmail.com>)
Ответы Re: explain analyze reports that my queries are fast but they run very slowly
Список pgsql-performance
Nikolas Everett <nik9000@gmail.com> writes:
> We straced the backend during the explain and it looked like the open
> commands were taking several seconds each.

Kind of makes me wonder if you have a whole lot of tables ("whole lot"
in this context probably means tens of thousands) and are storing the
database on a filesystem that doesn't scale well to lots of files in one
directory.  If that's the explanation, the reason the 8.3 installation
was okay was likely that it was stored on a more modern filesystem.

BTW, please keep the list cc'd on replies.

            regards, tom lane


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

Предыдущее
От: Shaun Thomas
Дата:
Сообщение: sched_migration_cost for high-connection counts
Следующее
От: Nikolas Everett
Дата:
Сообщение: Re: explain analyze reports that my queries are fast but they run very slowly