You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`hypertable`|REGCLASS| - | ✔ | Hypertable or continuous aggregate to update interval for. |
41
+
|`chunk_time_interval`|See note|- | ✔ | Event time that each new chunk covers. |
42
+
|`dimension_name`|REGCLASS|- | ✖ | The name of the time dimension to set the number of partitions for. Only use `dimension_name` when your hypertable has multiple time dimensions. |
43
+
44
+
If you change chunk time interval you may see a chunk that is smaller than the new interval. For example, if you
45
+
have two 7-day chunks that cover 14 days, then change `chunk_time_interval` to 3 days, you may end up with a
46
+
transition chunk covering one day. This happens because the start and end of the new chunk is calculated based on
47
+
dividing the timeline by the `chunk_time_interval` starting at epoch 0. This leads to the following chunks
48
+
[0, 3), [3, 6), [6, 9), [9, 12), [12, 15), [15, 18) and so on. The two 7-day chunks covered data up to day 14:
49
+
[0, 7), [8, 14), so the 3-day chunk for [12, 15) is reduced to a one day chunk. The following chunk [15, 18) is
50
+
created as a full 3 day chunk.
41
51
42
52
The valid types for the `chunk_time_interval` depend on the type used for the
43
53
hypertable `time` column:
@@ -56,15 +66,5 @@ hypertable `time` column:
56
66
57
67
For more information, see [hypertable partitioning][hypertable-partitioning].
58
68
59
-
## Optional arguments
60
-
61
-
|TEXT|Description|
62
-
|-|-|-|
63
-
|`dimension_name`|REGCLASS|The name of the time dimension to set the number of partitions for|
64
-
65
-
You need to use `dimension_name` argument only if your hypertable has multiple
0 commit comments