79704431

Date: 2025-07-17 07:34:40
Score: 0.5
Natty:
Report link

I’ve faced this issue too. GridDB CE doesn’t support GROUP BY or multi-entity time-window aggregations (like TIME_SLICE) within a single TimeSeries container that holds multiple device IDs. TIME_SLICED aggregation works only on single-entity TimeSeries containers without logical partitioning like deviceId.

The recommended approach in GridDB is to create a separate TimeSeries container per device. This allows you to leverage INTERPOLATE and TIME_SLICED queries efficiently. If managing thousands of containers is a concern, consider automating container management, but unfortunately, CE doesn’t support per-device aggregation in a shared container directly via query

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Coders01