RE: PG 9.5 2 tables same DDL with diff size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Isabella Ghiurea [mailto:isabella.ghiurea@xxxxxxxxxxxxxx] 
Sent: Wednesday, January 10, 2018 10:48 AM
To: pgsql-performance@xxxxxxxxxxxxxx
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 clicking links 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 was holding 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






[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux