Hello,
I'm trying to implement table partitioning on Zabbix 3.0
My current setup is:
- CentOS 7
- MariaDB 10.1.12
I've used this guide for table partitioning: https://www.zabbix.org/wiki/Docs/how...l_partitioning
When I'm trying to send SQL command to alter table, I'm getting error: ERROR 1526 (HY000): Table has no partition for value 1457215200
CMD output:
MariaDB [zabbix]> SELECT FROM_UNIXTIME(MIN(clock)) FROM `history_uint`;
+---------------------------+
| FROM_UNIXTIME(MIN(clock)) |
+---------------------------+
| 2016-03-05 18:33:22 |
+---------------------------+
1 row in set (0.96 sec)
MariaDB [zabbix]> ALTER TABLE `history_uint` PARTITION BY RANGE (`clock`) (PARTITION p2016_03_05 VALUES LESS THAN (UNIX_TIMESTAMP("2016-03-06 00:00:00")) ENGINE = InnoDB);
ERROR 1526 (HY000): Table has no partition for value 1457215200
Does anyone succeed with MariaDB table partitioning?
Thank you
I'm trying to implement table partitioning on Zabbix 3.0
My current setup is:
- CentOS 7
- MariaDB 10.1.12
I've used this guide for table partitioning: https://www.zabbix.org/wiki/Docs/how...l_partitioning
When I'm trying to send SQL command to alter table, I'm getting error: ERROR 1526 (HY000): Table has no partition for value 1457215200
CMD output:
MariaDB [zabbix]> SELECT FROM_UNIXTIME(MIN(clock)) FROM `history_uint`;
+---------------------------+
| FROM_UNIXTIME(MIN(clock)) |
+---------------------------+
| 2016-03-05 18:33:22 |
+---------------------------+
1 row in set (0.96 sec)
MariaDB [zabbix]> ALTER TABLE `history_uint` PARTITION BY RANGE (`clock`) (PARTITION p2016_03_05 VALUES LESS THAN (UNIX_TIMESTAMP("2016-03-06 00:00:00")) ENGINE = InnoDB);
ERROR 1526 (HY000): Table has no partition for value 1457215200
Does anyone succeed with MariaDB table partitioning?
Thank you
Comment