Re: postgres 7.4 at 100%

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: postgres 7.4 at 100%
Дата
Msg-id 40E1266D.3040607@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: postgres 7.4 at 100%  (Chris Cheston <ccheston@gmail.com>)
Ответы Re: postgres 7.4 at 100%
Список pgsql-performance
> live=# explain analyze SELECT id FROM calllogs WHERE from = 'you';
>                                                 QUERY PLAN
> ----------------------------------------------------------------------------------------------------------
>  Seq Scan on calllogs  (cost=0.00..136.11 rows=24 width=4) (actual
> time=0.30..574.72 rows=143485 loops=1)
>    Filter: (from = 'you'::character varying)
>  Total runtime: 676.24 msec
> (3 rows)

Have you got an index on calllogs(from)?

Have you vacuumed and analyzed that table recently?

Chris


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

Предыдущее
От: Chris Cheston
Дата:
Сообщение: Re: postgres 7.4 at 100%
Следующее
От: Chris Cheston
Дата:
Сообщение: Re: postgres 7.4 at 100%