Re: same plan, add 1 condition, 1900x slower

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: same plan, add 1 condition, 1900x slower
Дата
Msg-id 437485DB.50005@archonet.com
обсуждение исходный текст
Ответ на Re: same plan, add 1 condition, 1900x slower  (Mitch Skinner <mitch@egcrc.net>)
Ответы Re: same plan, add 1 condition, 1900x slower  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: same plan, add 1 condition, 1900x slower  (Mitch Skinner <mitch@egcrc.net>)
Список pgsql-performance
Mitch Skinner wrote:
>
> The version with the condition is definitely doing more I/O.  The
> version without the condition doesn't read at all.
[snip]
>            relname           | relpages |  reltuples
> -----------------------------+----------+-------------
>  external_id_map             |   126883 | 1.55625e+07
>  external_id_map_primary_key |    64607 | 1.55625e+07
>  subject                     |       31 |        1186
>  subject_pkey                |       19 |        1186

Does external_id_map really have 15 million rows? If not, try a VACUUM
FULL on it. Be prepared to give it some time to complete.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Mitch Skinner
Дата:
Сообщение: Re: same plan, add 1 condition, 1900x slower
Следующее
От: Tom Lane
Дата:
Сообщение: Re: same plan, add 1 condition, 1900x slower