Re: Really really slow select count(*)

Поиск
Список
Период
Сортировка
Искать
От
Scott Marlowe
Тема
Re: Really really slow select count(*)
Дата
Msg-id
AANLkTingr+vPHiBw38=SQxREYFkPe9OXu_kT2EqBxW7f@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Really really slow select count(*) felix <crucialfelix@gmail.com>
Re: Really really slow select count(*) hubert depesz lubaczewski <depesz@depesz.com>
Re: Really really slow select count(*) Greg Smith <greg@2ndquadrant.com>
Re: Really really slow select count(*) Shaun Thomas <sthomas@peak6.com>
Re: Really really slow select count(*) Shaun Thomas <sthomas@peak6.com>
Re: Really really slow select count(*) Merlin Moncure <mmoncure@gmail.com>
You can run vacuum verbose on just the postgres database and get the
global numbers at the end.  gotta be a superuser as well.

# \c postgres postgres
postgres=# vacuum verbose;
.... lots deleted.
DETAIL:  A total of 7664 page slots are in use (including overhead).
7664 page slots are required to track all free space.
Current limits are:  1004800 page slots, 5000 relations, using 6426 kB.
В списке pgsql-performance по дате отправления
От: felix
Дата:
От: Shaun Thomas
Дата:
FAQ