When people create sensors they sometime have difficulty on how it updates. As a solution, they set this to time so it updates the sensor every second. This adds a lot to the database.
entity_id (Optional): Add a list of entity IDs so the sensor only reacts to state changes of these entities. This will reduce the number of times the sensor will try to update it’s state.
phpmyadmin is probably not for you if you just want to reduce your database. I thought it might be helpful to analyse the database entries to see which one is taking the most space. I would suggest you use the include option in the recorder and add only what you really want to log. (or track down which ones are causing the problem) You can then delete the database and recreate and see if the size builds as fast.
if you want phpmyadmin, put it in the www directory of HA or another webserver on your mysql machine.
I point to mine with this on builtin webserver on a mac.
@anon35356645 If you have another always on computer on your network or preferably a NAS, you may be able to set up mysql or one of the other supported databases there that won’t put the strain on your HASS machine. 30 GB sounds like a lot of database in a single day. Are you sure you aren’t misreading the size? At the command line try
ls -lh