Re: TPC-R benchmarks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TPC-R benchmarks
Дата
Msg-id 10130.1065046783@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TPC-R benchmarks  (Oleg Lebedev <oleg.lebedev@waterford.org>)
Список pgsql-performance
Oleg Lebedev <oleg.lebedev@waterford.org> writes:
> All right, my query just finished running with EXPLAIN ANALYZE.
> I show the plan below and also attached it as a file.
> Any ideas?

Uh, have you done an ANALYZE (or VACUUM ANALYZE) on this database?
It sure looks like the planner thinks the tables are a couple of orders
of magnitude smaller than they actually are.  Certainly the estimated
sizes of the joins are way off :-(

If you did analyze, it might help to increase the statistics target and
re-analyze.

            regards, tom lane

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: TPC-R benchmarks
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: TPC-R benchmarks