Re: Very big insert/join performance problem (bacula)

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Very big insert/join performance problem (bacula)
Дата
Msg-id 4A5F422D0200002500028865@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Very big insert/join performance problem (bacula)  (Marc Cousin <cousinmarc@gmail.com>)
Ответы Re: Very big insert/join performance problem (bacula)
Список pgsql-performance
Marc Cousin <cousinmarc@gmail.com> wrote:

> the hot parts of these 2 tables are extremely likely to be in the
> database or linux cache (buffer hit rate was 97% in the example
> provided). Moreover, the first two queries of the insert procedure
> fill the cache for us...

This would be why the optimizer does the best job estimating the
relative costs of various plans when you set the random_page_cost and
seq_page_cost very low.

-Kevin

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

Предыдущее
От: Scott Carey
Дата:
Сообщение: Re: cluster index on a table
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: cluster index on a table