Skip to content

Commit 8c159e3

Browse files
Update _use-case-transport-geolocation.md (#4501)
Hinting about the tuple decompression limit error and how to set it to zero. Signed-off-by: Raja Yogan <[email protected]> Co-authored-by: Iain Cox <[email protected]>
1 parent 2eed5f8 commit 8c159e3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

_partials/_use-case-transport-geolocation.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,20 @@ data by time and location.
2626
UPDATE rides SET pickup_geom = ST_Transform(ST_SetSRID(ST_MakePoint(pickup_longitude,pickup_latitude),4326),2163),
2727
dropoff_geom = ST_Transform(ST_SetSRID(ST_MakePoint(dropoff_longitude,dropoff_latitude),4326),2163);
2828
```
29-
This updates 10,906,860 rows of data on both columns, it takes a while. Coffee is your friend.
29+
This updates 10,906,860 rows of data on both columns, it takes a while. Coffee is your friend.
30+
31+
You might run into this error while the update happens
32+
33+
`Error: tuple decompression limit exceeded by operation
34+
Error Code: 53400
35+
Details: current limit: 100000, tuples decompressed: 10906860
36+
Hint: Consider increasing timescaledb.max_tuples_decompressed_per_dml_transaction or set to 0 (unlimited).`
37+
38+
To fix this, use
39+
40+
```sql
41+
SET timescaledb.max_tuples_decompressed_per_dml_transaction TO 0;
42+
```
3043

3144
</Procedure>
3245

0 commit comments

Comments
 (0)