Take the 2-minute tour ×
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. It's 100% free, no registration required.

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 stackoverflow.com Dec 21 '13 at 15:20

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

1 Answer 1

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

 
discard

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