Re: Nagios XI slowness
Posted: Fri Aug 28, 2020 12:28 am
Hello,
We have made the changes to the below databases as per your suggestion, we will get back to you if we see any improvement in performance:
mysql> select count(*) from nagios_logentries;
+----------+
| count(*) |
+----------+
| 227410 |
+----------+
1 row in set (0.00 sec)
mysql> TRUNCATE TABLE nagios_logentries;
Query OK, 0 rows affected (0.01 sec)
mysql> select count(*) from nagios_logentries;
+----------+
| count(*) |
+----------+
| 12 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from nagios_notifications;
+----------+
| count(*) |
+----------+
| 70246 |
+----------+
1 row in set (0.00 sec)
mysql> TRUNCATE TABLE nagios_notifications;
Query OK, 0 rows affected (0.01 sec)
mysql> select count(*) from nagios_statehistory;
+----------+
| count(*) |
+----------+
| 5377 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from nagios_statehistory;
+----------+
| count(*) |
+----------+
| 1 |
+----------+
1 row in set (0.00 sec)
Please suggest if any additional changes can be performed.
Also, we checked for the storage part and we are using the fastest storage that can be used.
We are using Premium SSD storage with size 158 GiB and Max IOPS is 1100.
We have made the changes to the below databases as per your suggestion, we will get back to you if we see any improvement in performance:
mysql> select count(*) from nagios_logentries;
+----------+
| count(*) |
+----------+
| 227410 |
+----------+
1 row in set (0.00 sec)
mysql> TRUNCATE TABLE nagios_logentries;
Query OK, 0 rows affected (0.01 sec)
mysql> select count(*) from nagios_logentries;
+----------+
| count(*) |
+----------+
| 12 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from nagios_notifications;
+----------+
| count(*) |
+----------+
| 70246 |
+----------+
1 row in set (0.00 sec)
mysql> TRUNCATE TABLE nagios_notifications;
Query OK, 0 rows affected (0.01 sec)
mysql> select count(*) from nagios_statehistory;
+----------+
| count(*) |
+----------+
| 5377 |
+----------+
1 row in set (0.00 sec)
mysql> select count(*) from nagios_statehistory;
+----------+
| count(*) |
+----------+
| 1 |
+----------+
1 row in set (0.00 sec)
Please suggest if any additional changes can be performed.
Also, we checked for the storage part and we are using the fastest storage that can be used.
We are using Premium SSD storage with size 158 GiB and Max IOPS is 1100.