Re: select count(*) performance (vacuum did not help)

Поиск
Список
Период
Сортировка
От Dave Dutcher
Тема Re: select count(*) performance (vacuum did not help)
Дата
Msg-id 02d201c7fec0$d95a2cd0$cb00a8c0@tridecap.com
обсуждение исходный текст
Ответ на Re: select count(*) performance (vacuum did not help)  (Gábor Farkas <gabor@nekomancer.net>)
Список pgsql-performance
> -----Original Message-----
> From: Gábor Farkas
>
>
> i see.
>
> will i achieve the same thing by simply dropping that table
> and re-creating it?

Yes.  Or even easier (if you don't need the data anymore) you can use the
truncate command.  Which deletes everything in the table including dead
rows.

Dave


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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: select count(*) performance (vacuum did not help)
Следующее
От: Niklas Johansson
Дата:
Сообщение: Re: TEXT or LONGTEXT?