i would lie to change max_allowed_packet setting because my magento e-commer suggest me to change it. https://devdocs.magento.com/guides/v2.0/install-gde/prereq/mysql.html
Valerio Barbera commented
It needs to better fit a scenario where it isn't a problem relative to query frequency but query size. I experienced with the same needs, It should be made available for tuning in the server panel.