Partitioned Tables vs Vacuum+Reindex

Поиск
Список
Период
Сортировка
От Edgar Delgado
Тема Partitioned Tables vs Vacuum+Reindex
Дата
Msg-id CAENQbUMxRHhLuz_FC-EPhuFRqJx=20hjqwuWvb4WT9D+QnzHPg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Partitioned Tables vs Vacuum+Reindex  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
Re: Partitioned Tables vs Vacuum+Reindex  (Keith Fiske <keith@omniti.com>)
Список pgsql-admin
Hello!

I've a question about partitioned tables (never used before).


I got a table with 100gb and data been added and removed all the time so once I week I run vacuum on it, the problem is the vacuum is taking 1 n 1/2 hour to finish.

Only newest data on this table keep been added/removed, data from 2-3 months in the past is only used for historical needs.

If I partition my table will be fast the vacuum process? Can I only vacuum the main partitioned table and the the historical out of the maintenance?


Thanks.
Edgar

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

Предыдущее
От: "Gunnar \"Nick\" Bluth"
Дата:
Сообщение: Re: New Column existing table + View
Следующее
От: Shreeyansh Dba
Дата:
Сообщение: Re: Partitioned Tables vs Vacuum+Reindex