Migrating my tag database from sqlite to postgres

I’m at the end of my last adventure and now I have a database dump with 700k entries, 300k tags and 20M link entries in my sqlite database. Working with this data has not been a concern but now I’ve written a simple website to sift through the data. Pretty quickly I’ve noticed that a few scenarios are slow: Going to the end of my list (~2 seconds) Searching for any amount of tags (~2 seconds)…