Every time when I try to save something into the database, I get this error message. I saw that Heroku offer free PostgreSQL database for the first 10.000 records, above 10.000 records is needed to pay for the database.
Right now, in my database is like 60.000 records. How to fix that error/upgrade database?
Thank you in advance
Heroku provides managed Postgres databases. Different tiered databases have different connection limits. The Hobby Tier databases are limited to 20 connections. Standard and higher tier databases have higher limits.
DATABASE_URL contains the URL your app uses to access the database. If your app already has a Heroku Postgres database and you've provisioned another one, this config var's name instead has the format HEROKU_POSTGRESQL_<COLOR>_URL (for example, HEROKU_POSTGRESQL_YELLOW_URL ).
You'll want to use the PG Backups add-on to backup your database then migrate from your dev/basic plan to a production-grade (paid) plan.
The short of it:
https://devcenter.heroku.com/articles/upgrade-heroku-postgres-with-pgbackups
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With