From: | bricklen <bricklen(at)gmail(dot)com> |
---|---|
To: | S H <msq001(at)live(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: bloating vacuum |
Date: | 2013-05-14 15:06:20 |
Message-ID: | CAGrpgQ_RNeRxjkfZ8AE1HP3K3r8PCt8WWivC5_vsStHGr5zcSg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, May 14, 2013 at 7:51 AM, S H <msq001(at)live(dot)com> wrote:
> I created small table and started doing insertion/deletion/updation on
> 2 rows in infinite loop. It started bloating around 844 times, but after it
> stopped bloating.. what could be the reason?
>
Did autovacuum kick in and clean up the table?
Is autovacuum on? Type:
show autovacuum;
You can watch the dead tuple count using *pgstattuple (an extension which
can be installed via "create extension pgstattuple;".
Once installed,
select * from pgstattuple('name_of_your_table');
*http://www.postgresql.org/docs/current/static/pgstattuple.html
> In between i am running manual vacuum analyze ( without full option)
>
After every iteration?
>
From | Date | Subject | |
---|---|---|---|
Next Message | Igor Neyman | 2013-05-14 15:06:25 | Re: Running out of memory on vacuum |
Previous Message | Rob Sargent | 2013-05-14 15:05:01 | Re: postgres and xquery |