On that, we can’t (heavily) support with moving to external DB, but we can certainly optimise and improve existing apps - we helped one client moving to dedicated reduce their costs by around $25k a year in just a couple of weeks.
But if you want DB migration and long term strategy advice for moving it to a traditional tech stack, @lindsay_knowcode is the guy.