RE: PG 9.5 2 tables same DDL with diff size - Mailing list pgsql-performance

From Igor Neyman
Subject RE: PG 9.5 2 tables same DDL with diff size
Date
Msg-id BL2PR17MB0897B3ACF3D54FA3C35C9029DA110@BL2PR17MB0897.namprd17.prod.outlook.com
Whole thread Raw
In response to RE: PG 9.5 2 tables same DDL with diff size  (Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>)
Responses Re: PG 9.5 2 tables same DDL with diff size
List pgsql-performance
-----Original Message-----
From: Isabella Ghiurea [mailto:isabella.ghiurea@nrc-cnrc.gc.ca]
Sent: Wednesday, January 10, 2018 10:48 AM
To: pgsql-performance@postgresql.org
Subject: RE: PG 9.5 2 tables same DDL with diff size

Attention: This email was sent from someone outside of Perceptron. Always exercise caution when opening attachments or
clickinglinks from unknown senders or when receiving unexpected emails. 


I run full vacuum and reindex on largest table (50GB) while there was no server activities  so I assume no transaction
washolding a lock on table since the full vacuum was able to run, anything where I should consider looking ? 


__________________________________________________________________________________________________________

Yes, in  pg_stat_activity look for idle transactions that started long time ago.
To prevent vacuum from doing its job they don't need to lock the table, they could just prevent from cleaning "old" row
versions.

Regards,
Igor Neyman



pgsql-performance by date:

Previous
From: Isabella Ghiurea
Date:
Subject: RE: PG 9.5 2 tables same DDL with diff size
Next
From: ghiureai
Date:
Subject: Re: PG 9.5 2 tables same DDL with diff size