@@ -5,6 +5,7 @@ keywords: [data retention, troubleshooting]
5
5
---
6
6
7
7
# Troubleshooting data retention
8
+
8
9
This section contains some ideas for troubleshooting common problems experienced
9
10
with data retention.
10
11
@@ -19,13 +20,14 @@ with data retention.
19
20
-->
20
21
21
22
## Dropping chunks times out
23
+
22
24
When you drop a chunk, it requires an exclusive lock. If a chunk is being
23
- If a chunk is being accessed by another session, you cannot drop the chunk at the same time. If a drop chunk
24
- operation can't get the lock on the chunk, then it times out and the process
25
- fails. To resolve this problem, check what is locking the chunk. In some cases,
26
- this could be caused by a continuous aggregate or other process accessing the
27
- chunk. When the drop chunk operation can get an exclusive lock on the chunk, it
28
- completes as expected.
25
+ accessed by another session, you cannot drop the chunk at the same time. If a
26
+ drop chunk operation can't get the lock on the chunk, then it times out and the
27
+ process fails. To resolve this problem, check what is locking the chunk. In some
28
+ cases, this could be caused by a continuous aggregate or other process accessing
29
+ the chunk. When the drop chunk operation can get an exclusive lock on the chunk,
30
+ it completes as expected.
29
31
30
32
For more information about locks, see the
31
33
[ PostgreSQL lock monitoring documentation] [ pg-lock-monitoring ] .
0 commit comments