Re: Performance Anomalies in 7.4.5

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: Performance Anomalies in 7.4.5
Дата
Msg-id Pine.LNX.4.44.0410212303161.2015-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Performance Anomalies in 7.4.5  (Thomas F.O'Connell <tfo@sitening.com>)
Ответы Re: Performance Anomalies in 7.4.5  (Thomas F.O'Connell <tfo@sitening.com>)
Список pgsql-performance
On Thu, 21 Oct 2004, Thomas F.O'Connell wrote:

>   Aggregate  (cost=0.02..0.02 rows=1 width=8) (actual
> time=298321.421..298321.422 rows=1 loops=1)
>     ->  Nested Loop  (cost=0.00..0.01 rows=1 width=8) (actual
> time=1.771..298305.531 rows=2452 loops=1)
>           Join Filter: ("inner".id = "outer".id)
>           ->  Seq Scan on userdata u  (cost=0.00..0.00 rows=1 width=8)
> (actual time=0.026..11.869 rows=2452 loops=1)
>           ->  Seq Scan on userdata_history h  (cost=0.00..0.00 rows=1
> width=8) (actual time=0.005..70.519 rows=41631 loops=2452)
>                 Filter: (id = 18181::bigint)

It looks like you have not run ANALYZE recently. Most people run VACUUM
ANALYZE every night (or similar) in a cron job.

--
/Dennis Björklund


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

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Performance Anomalies in 7.4.5
Следующее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Performance Anomalies in 7.4.5