Hi,
We are using mysql8 as backend for Zabbix 6.0 and I have some doubts about mysql config/tuning.
When I run select min(clock) from history_text it takes more than 7 minutes and select count(*) from history_text it takes more than 5 minutes.
To me that feels like something is very wrong.
mysql> select min(clock) from history_text ;
+------------+
| min(clock) |
+------------+
| 1693384510 |
+------------+
1 row in set (7 min 9.18 sec)
mysql> select count(*) from history_text ;
+-----------+
| count(*) |
+-----------+
| 464306714 |
+-----------+
1 row in set (5 min 17.46 sec)​
Is this normal ?
Regards,
Paul
We are using mysql8 as backend for Zabbix 6.0 and I have some doubts about mysql config/tuning.
When I run select min(clock) from history_text it takes more than 7 minutes and select count(*) from history_text it takes more than 5 minutes.
To me that feels like something is very wrong.
mysql> select min(clock) from history_text ;
+------------+
| min(clock) |
+------------+
| 1693384510 |
+------------+
1 row in set (7 min 9.18 sec)
mysql> select count(*) from history_text ;
+-----------+
| count(*) |
+-----------+
| 464306714 |
+-----------+
1 row in set (5 min 17.46 sec)​
Is this normal ?
Regards,
Paul
Comment