Zabbix was experiencing performance issues due to large history tables in the database. To address this, the architecture was changed to store history data in Elasticsearch instead of database tables. This improved scalability and performance. The basic item and event data remained in the MariaDB database cluster. Zabbix proxies were also used to distribute load across multiple network segments. With this new architecture, history data is indexed in Elasticsearch without database tables, improving query speed and reducing database size.