Re: very slow selects on a small table

Поиск
Список
Период
Сортировка
От Brian Cox
Тема Re: very slow selects on a small table
Дата
Msg-id 4A397F4B.30003@ca.com
обсуждение исходный текст
Ответ на very slow selects on a small table  (Brian Cox <brian.cox@ca.com>)
Ответы Re: very slow selects on a small table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane [tgl@sss.pgh.pa.us] wrote:
> This seems like kind of a stupid plan anyway (which PG version was this
> exactly?) but certainly the big issue is the catastrophically bad
> rowcount estimate for the indexscan.  Do you have ANALYZE stats for
> ts_stats_transetgroup_user_daily at all (look in pg_stats)?
postgres 8.3.5. Yes, here's a count(*) from pg_stats:

cemdb=# select count(*) from pg_stats where
tablename='ts_stats_transetgroup_user_daily';
  count
-------
    186
(1 row)


Thanks,
Brian

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: very slow selects on a small table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: very slow selects on a small table