On a Heroku-managed instance of postgres the default value for random_page_cost is 2.0. I'd like to change the value, but don't see a way to do so. How can I change that value?
On a Heroku-managed instance of postgres the default value for random_page_cost is 2.0. I'd like to change the value, but don't see a way to do so. How can I change that value?
You can alter the database to get the number you want.
alter database mydb set random_page_cost=1.4;