Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to rename table. But it had error:

LOG:  sending cancel to blocking autovacuum PID 11911
Detail:  Process 10377 waits for AccessExclusiveLock on database 21819191 relation 24338310
Statement:  ALTER TABLE member_orderinfo2 RENAME TO member_orderinfo

Please tell me how to fix it ? Thanks you !

share|improve this question

migrated from Dec 21 '13 at 15:20

This question came from our site for professional and enthusiast programmers.

It is not error - it is log message so your request sent (and maybe still waits) cancel request to autovacuum. It is usually not any issue. Vacuum should be finished in next iteration.

share|improve this answer
Is there anyway to overcome this case ??? – Béo Bảnh Bao Dec 20 '13 at 7:10
just try later and rename the table. – francs Dec 24 '13 at 7:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.