Re: Partitioned Tables vs Vacuum+Reindex - Mailing list pgsql-admin

From Shreeyansh Dba
Subject Re: Partitioned Tables vs Vacuum+Reindex
Date
Msg-id CAGDYbUM15dEPEq8TxnHCX_d_70wRB-8=xG8DJv2XXmMeJZKrPg@mail.gmail.com
Whole thread Raw
In response to Partitioned Tables vs Vacuum+Reindex  (Edgar Delgado <edgdelgado@gmail.com>)
List pgsql-admin
Hi Edgar, 

After  performing the  partition we have to vacuum individual partitions. 
Just vacuuming the parent table won't vacuum the child tables. 

Thanks and Regards 
Ajinkya Bangale 
Database Administrator 
Www.shreeyansh.com 

On Friday, January 8, 2016, Edgar Delgado <edgdelgado@gmail.com> wrote:
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 by date:

Previous
From: Edgar Delgado
Date:
Subject: Partitioned Tables vs Vacuum+Reindex
Next
From: Keith Fiske
Date:
Subject: Re: Partitioned Tables vs Vacuum+Reindex