Suggestion by Eric Sooros:
One further change that may be helpful -- the newer versions of postgresql (10+, but 12 especially when it's available on RDS) have improving support for parallelizing expensive queries. I think this would likely be helpful here, and at the very least, not harmful.
From my look at the code, this app doesn't appear to be doing anything that would cause issues with upgrading. I've run the upgrade on the dev-scale database in RDS and haven't seen any issues. (but, as you know, it's not a very complete system).
I believe we just need to test this change locally by upgrading PostgreSQL at Docker compose file. If there is no issues, we can migrate the production database.
I've just noticed that we are using a PostGIS image, which was set at the begining of the project. I think we can drop it, as no geo features are being used.
Suggestion by Eric Sooros:
I believe we just need to test this change locally by upgrading PostgreSQL at Docker compose file. If there is no issues, we can migrate the production database.
I've just noticed that we are using a PostGIS image, which was set at the begining of the project. I think we can drop it, as no geo features are being used.