Troubleshooting Guide
This guide provides solutions to common issues you may encounter when using Timeplus.
Please also query system.stream_state_log and system.stream_metric_log to check the state changes, metrics and errors of database resources in Timeplus.
Memory Issues
JOIN queries run out of memory
Symptoms:
default.hop_mv: Background runtime error: Code: 191. DB::Exception:
Streaming join's memory reaches max size: 524288000,
current total: 524297968, left total: 177712480, right total: 346585488:
While executing StreamingJoinTransform.
Solution: Increase the JOIN buffer size for the query or materialized view.
ALTER VIEW hop_mv MODIFY QUERY SETTING join_max_buffered_bytes=8589934592
JavaScript UDF runs out of memory
Symptoms:
default.omv: Background runtime error: Code: 2531. DB::Exception:
Current V8 heap size used=571000 bytes, total=40307261440 bytes,
javascript_max_memory_bytes=2, exceed the limit=2 bytes, v8 heap stat={...}:
While executing GlobalAggregatingTransform. (UDF_MEMORY_THRESHOLD_EXCEEDED)
Solution: Increase the memory limit for the JavaScript UDF.
ALTER VIEW <mv_name> MODIFY QUERY SETTING javascript_max_memory_bytes = 10485760000