Skip to content

Commit 5f5fc04

Browse files
authored
Update README.md
1 parent 8570724 commit 5f5fc04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Important notes/bugs:
22

33
#1 The script is FIXED for MySQL 8. It works for both MySQL and MariaDB latest versions and should still work with older versions as well.
4+
#2 The weekly partitioning is FIXED.
45

56
Make sure to uncomment the correct lines (see blog post), the default is setup for MySQL 5.6 or MariaDB.
67

@@ -77,6 +78,8 @@ journalctl -t mysql_zbx_part
7778
```
7879

7980
### Partitioning by week
81+
NOTE: See version 2.1 for older (before 20-09-2021) partitioned databases. Otherwise use 3.0+ upwards (recommended to use current).
82+
8083
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**.
8184

8285
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.

0 commit comments

Comments
 (0)