Skip to content

Commit eea3dbe

Browse files
authored
Update README.md
1 parent ee497cb commit eea3dbe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,11 @@ Then we can check and see if it worked with:
7575
```
7676
journalctl -t mysql_zbx_part
7777
```
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.
85+

0 commit comments

Comments
 (0)