Skip site navigation (1) Skip section navigation (2)

Re: random_page_cost = 2.0 on Heroku Postgres

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: random_page_cost = 2.0 on Heroku Postgres
Date: 2012-02-09 00:50:46
Message-ID: 4F331866.7070401@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-performance
On 2/7/12 4:59 PM, Peter van Hardenberg wrote:
> Per the thread from last month, I've updated the default
> random_page_cost on Heroku Postgres to reduce the expected cost of a
> random_page on all new databases.

This is because Heroku uses AWS storage, which has fast seeks but poor
throughput compared to internal disk on a standard system, BTW.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

pgsql-performance by date

Next:From: Scott MarloweDate: 2012-02-09 01:39:14
Subject: Re: random_page_cost = 2.0 on Heroku Postgres
Previous:From: Kevin GrittnerDate: 2012-02-08 23:41:06
Subject: Re: index scan forward vs backward = speed difference of 357X slower!

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group