In 5.4 sql scripts were moved into a single package called zabbix-sql-scripts. It now contains sql files for server (create.sql.gz), proxy (schema.sql) and some auxilary ones like double.sql or timescaledb.sql
- It is inconsistent whether these files are compressed or not in packages for different distributions. Different between RPM and DEB packages. Suggest making it consistent.
- Suggest renaming create.sql into server.sql and schema.sql to proxy.sql inside packages to make it obvious for users what files to use. Suggest compressing only these to files and keeping other smaller files uncompressed.
For RPMs sql file compression is done explicitly in spec file, for DEBs override_dh_compress can be used.