Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.33 KB

dropping-chunks-times-out.md

File metadata and controls

32 lines (28 loc) · 1.33 KB
title section products topics apis keywords tags
Dropping chunks times out
troubleshooting
cloud
mst
self_hosted
data retention
hypertables
hypertables
drop_chunks()
data retention
chunks
drop
delete
locks

When you drop a chunk, it requires an exclusive lock. If a chunk is being accessed by another session, you cannot drop the chunk at the same time. If a drop chunk operation can't get the lock on the chunk, then it times out and the process fails. To resolve this problem, check what is locking the chunk. In some cases, this could be caused by a continuous aggregate or other process accessing the chunk. When the drop chunk operation can get an exclusive lock on the chunk, it completes as expected.

For more information about locks, see the PostgreSQL lock monitoring documentation.