Re: Performance With Joins on Large Tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance With Joins on Large Tables
Дата
Msg-id 16645.1158181784@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Performance With Joins on Large Tables  ("Joshua Marsh" <icub3d@gmail.com>)
Ответы Re: Performance With Joins on Large Tables
Список pgsql-performance
"Joshua Marsh" <icub3d@gmail.com> writes:
> I have a suspision that pgsql isn't tuned to properly deal with tables
> of this size.

Actually, it is.  Most of the planner complaints we get are from people
whose tables fit in memory and they find that the default planner
behavior doesn't apply real well to that case.  I find your
indexscan-is-faster-than-sort results pretty suspicious for large
tables.  Are the tables perhaps nearly in order by the dsiacctno fields?
If that were the case, and the planner were missing it for some reason,
these results would be plausible.

BTW, what are you using for work_mem, and how does that compare to your
available RAM?

            regards, tom lane

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

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: Unsubscribe
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: sql-bench