Hi,
We are running a reasonably large environment with the following stats:
Number of hosts (enabled/disabled/templates) 1138 829 / 11 / 298
Number of items (enabled/disabled/not supported) 40107 39609 / 1 / 497
Number of triggers (enabled/disabled [problem/ok]) 16973 15259 / 1714 [78 / 15181]
Number of users (online) 88 3
Required server performance, new values per second 508.48
The Zabbix Master (VM) is running v3.0.2 (upgraded previously from 2.4.X versions) with 13 Zabbix Proxies attached and sending data back to the Postgresql Database (9.2.14) on the Master
The spec of the Zabbix Master (VM) is:
24GB RAM
4 vCPU
750GB of space for Postgresql DB.
Currently I have History set to 7 days and Trends set to 365 days, but the database just seems to keep on growing, even with Housekeeping on.
The size of the database 4 days ago was:
name | owner | size
-----------+----------+---------
zabbix | zabbix | 526 GB
relation | size
-------------------------+---------
public.history_uint_1 | 139 GB
public.history_uint | 129 GB
public.history_1 | 110 GB
public.history | 100 GB
public.trends_uint | 13 GB
public.trends_uint_pkey | 11 GB
and now already:
name | owner | size
-----------+----------+---------
zabbix | zabbix | 537 GB
relation | size
-------------------------+---------
public.history_uint_1 | 144 GB
public.history_uint | 133 GB
public.history_1 | 111 GB
public.history | 101 GB
public.trends_uint | 13 GB
public.trends_uint_pkey | 11 GB
It seems the trends tables are staying reasonably static, but the History tables are increasing in size substantially...over the last 4 days by 11GB!
Also the history_uint index is 129GB in size.
Does this seem normal behaviour in terms of the size increase of the DB? What sort of total size of DB should I be seeing for this number of items and hosts counts?
Another question: What is the best way to verify that Housekeeping is working as it should and has deleted all the history records out of the DB that are more than 1 year old for example?
Thanks Alot
Regards
Philipp
We are running a reasonably large environment with the following stats:
Number of hosts (enabled/disabled/templates) 1138 829 / 11 / 298
Number of items (enabled/disabled/not supported) 40107 39609 / 1 / 497
Number of triggers (enabled/disabled [problem/ok]) 16973 15259 / 1714 [78 / 15181]
Number of users (online) 88 3
Required server performance, new values per second 508.48
The Zabbix Master (VM) is running v3.0.2 (upgraded previously from 2.4.X versions) with 13 Zabbix Proxies attached and sending data back to the Postgresql Database (9.2.14) on the Master
The spec of the Zabbix Master (VM) is:
24GB RAM
4 vCPU
750GB of space for Postgresql DB.
Currently I have History set to 7 days and Trends set to 365 days, but the database just seems to keep on growing, even with Housekeeping on.
The size of the database 4 days ago was:
name | owner | size
-----------+----------+---------
zabbix | zabbix | 526 GB
relation | size
-------------------------+---------
public.history_uint_1 | 139 GB
public.history_uint | 129 GB
public.history_1 | 110 GB
public.history | 100 GB
public.trends_uint | 13 GB
public.trends_uint_pkey | 11 GB
and now already:
name | owner | size
-----------+----------+---------
zabbix | zabbix | 537 GB
relation | size
-------------------------+---------
public.history_uint_1 | 144 GB
public.history_uint | 133 GB
public.history_1 | 111 GB
public.history | 101 GB
public.trends_uint | 13 GB
public.trends_uint_pkey | 11 GB
It seems the trends tables are staying reasonably static, but the History tables are increasing in size substantially...over the last 4 days by 11GB!
Also the history_uint index is 129GB in size.
Does this seem normal behaviour in terms of the size increase of the DB? What sort of total size of DB should I be seeing for this number of items and hosts counts?
Another question: What is the best way to verify that Housekeeping is working as it should and has deleted all the history records out of the DB that are more than 1 year old for example?
Thanks Alot
Regards
Philipp
Comment