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
Copy file name to clipboardExpand all lines: README.md
+8
Original file line number
Diff line number
Diff line change
@@ -75,3 +75,11 @@ Then we can check and see if it worked with:
75
75
```
76
76
journalctl -t mysql_zbx_part
77
77
```
78
+
79
+
### Partitioning by week
80
+
By default history tables are partitioned by day and trends are partitioned by month. It is also possible to partition both types of tables by **week**.
81
+
82
+
To do so change the **period** value to **week** under **my $tables =**. Also make sure to use a different naming convention for your partition names (2021_w36) and while partitioning make sure to use the correct UNIXTIMESTAMP.
83
+
84
+
The weekly partitioning setup IS NOT described in the Zabbix blog.
0 commit comments