From: | Claudio Freire <klaussfreire(at)gmail(dot)com> |
---|---|
To: | pavan95 <pavan(dot)postgresdba(at)gmail(dot)com> |
Cc: | postgres performance list <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: 8.2 Autovacuum BUG ? |
Date: | 2018-01-24 14:27:11 |
Message-ID: | CAGTBQpbDRmAaiveO2bDOtXhdBJBqcgvfzmp69=XKDJ3mKcQCHg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Wed, Jan 24, 2018 at 8:50 AM, pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>
wrote:
> Hello all,
>
> One more interesting observation made by me.
>
> I have ran the below query(s) on production:
>
> SELECT
> relname,
> age(relfrozenxid) as xid_age,
> pg_size_pretty(pg_table_size(oid)) as table_size
> FROM pg_class
> WHERE relkind = 'r' and pg_table_size(oid) > 1073741824
> ORDER BY age(relfrozenxid) DESC ;
> relname |
> xid_age | table_size
> ------------------------------------------------------------
> +---------+------------
> *hxxxxxxxxxx* |
> 7798262 | 3245 MB
> hrxxxxxxxxx |
> 7797554 | 4917 MB
> irxxxxxxxxxx |
> 7796771 | 2841 MB
> hr_xxxxxxxxxxxxxxxx | 7744262 |
> 4778 MB
> reimbxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | 6767712 | 1110 MB
>
> show autovacuum_freeze_max_age;
> autovacuum_freeze_max_age
> ---------------------------
> 200000000
> (1 row)
>
You seem to be rather far from the freeze_max_age. Unless you're consuming
txids at a very high rate, I don't think that's your problem.
From | Date | Subject | |
---|---|---|---|
Next Message | Pavan Teja | 2018-01-24 14:48:00 | Re: 8.2 Autovacuum BUG ? |
Previous Message | pavan95 | 2018-01-24 11:50:33 | Re: 8.2 Autovacuum BUG ? |