http://lainyubrp2aabmxhepbttfdbl53dct2inqifs42buvpf6w44uiitbeqd.onion/blog/matrix.html
I have synapse-admin web frontend for that activities, but still, some actions has to be done manually. First of all, the database grows exponentially. You may need third-party software to compress rows in it, and at some point you will need to dive into it manually to remove unused strings!