Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

postgresql cannot drop a table when autovacuum holds lock on it

$
0
0

Autovacuuming process holds RowExclusiveLock and ShareUpdateExclusiveLock on the table, which I want to drop. I read that autovacuum should be canceled automatically, when submitting DROP TABLE command, but it doesn’t happen. Maybe I have wrong configuration of postgresql? Furthermore I don’t have any delete or update operations of those tables — only inserts and drops. Can I disable autovacuum on those particular tables?


Viewing all articles
Browse latest Browse all 1138

Trending Articles