Re: slow joining very large table to smaller ones

Поиск
Список
Период
Сортировка
От John A Meinel
Тема Re: slow joining very large table to smaller ones
Дата
Msg-id 42D6EB31.9040909@arbash-meinel.com
обсуждение исходный текст
Ответ на Re: slow joining very large table to smaller ones  (Dan Harris <fbsd@drivefaster.net>)
Список pgsql-performance
Dan Harris wrote:
>
> On Jul 14, 2005, at 9:42 AM, John A Meinel wrote:

...
Did you try doing this to see how good the planners selectivity
estimates are?

>> Well, postgres is estimating around 500 rows each, is that way off?  Try
>> just doing:
>> EXPLAIN ANALYZE SELECT incidentid FROM k_b WHERE id = 107;
>> EXPLAIN ANALYZE SELECT incidentid FROM k_r WHERE id = 94;

These should be fast queries.

John
=:->

Вложения

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

Предыдущее
От: Dan Harris
Дата:
Сообщение: Re: slow joining very large table to smaller ones
Следующее
От: Michael Stone
Дата:
Сообщение: Re: slow joining very large table to smaller ones