Re: Problems with adding a is not null to a query.
От | Robert Haas |
---|---|
Тема | Re: Problems with adding a is not null to a query. |
Дата | |
Msg-id | AANLkTi=6wYtWRURpUtBgJcZEMPGUne+emSmxL_sGbP6y@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Problems with adding a is not null to a query. (Tim Uckun <timuckun@gmail.com>) |
Ответы |
Re: Problems with adding a is not null to a query.
|
Список | pgsql-bugs |
On Sun, Jan 16, 2011 at 5:47 PM, Tim Uckun <timuckun@gmail.com> wrote: >> Hmm, autovacuum *should* have been keeping track of things for you, >> but it might still be worth doing a manual ANALYZE against that table >> to see if the estimated rowcount changes. =A0If not, you'll need to raise >> the statistics target for that column (and again ANALYZE). > > > The analyze finished. I re-ran the explain it was still taking a very > long time. I stopped it eventually. Hmm. What do you get for: SELECT relname, pg_relation_size(oid), reltuples, relpages FROM pg_class WHERE relname IN ('consolidated_urls', 'consolidated_urls_pkey'); --=20 Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-bugs по дате отправления: