Re: VACUUM VERBOSE ANALYZE taking long time to process.

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема Re: VACUUM VERBOSE ANALYZE taking long time to process.
Дата
Msg-id 9A6FAF1F-C85D-4546-B60D-E7375142AA56@silentmedia.com
обсуждение исходный текст
Ответ на VACUUM VERBOSE ANALYZE taking long time to process.  (anil7385 <anilnk7385@gmail.com>)
Список pgsql-performance
On Sep 9, 2015, at 3:43 AM, anil7385 <anilnk7385@gmail.com> wrote:
>
> Hi,
> We have a table which consists of 3 millions of records and when we try to
> delete them and run VACUUM VERBOSE ANALYZE on it in production environment ,
> it takes 6/7 hours to process.

You make it sound like you are deleting all records. If that's true, why not TRUNCATE? It'll be a lot faster, and also
leaveyou with no need to vacuum. 

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

Предыдущее
От: anil7385
Дата:
Сообщение: VACUUM VERBOSE ANALYZE taking long time to process.
Следующее
От: Eildert Groeneveld
Дата:
Сообщение: degrading inser performance