Re: random_page_cost = 2.0 on Heroku Postgres

From: Marcos Ortiz Valmaseda <mlortiz(at)uci(dot)cu>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: random_page_cost = 2.0 on Heroku Postgres
Date: 2012-02-09 05:11:43
Message-ID: 4F33558F.1020504@uci.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 09/02/12 00:09, Greg Sabino Mullane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
>
>> You can execute several queries with the three different values provided
>> by Scott and Josh.
>> - SET random_page_cost = 2.0
>> First execution of the queries with EXPLAIN ANALYZE
>> - SET random_page_cost = 1.4
>> Second execution of the queries with EXPLAIN ANALYZE
>> - SET random_page_cost = 1.2
>> Second execution of the queries with EXPLAIN ANALYZE
> Well, such a tool would ideally be smarter than that, such that
> you would run EXPLAIN and compare to the previous plan and
> only run EXPLAIN ANALYZE if the plan changed. One could even
> decrement rpc slowly and find out at one points it changes,
> which would be more interesting than testing arbitrary numbers.
> Would lead to some really sweet graphs as well. :)
>
Well, the MyYearBook.com´s guys built something seemed called Posuta, I
don´t know is this project is alive, but we can ask to them
(michael(dot)glaesemann(at)myyearbook(dot)com).

http://area51.myyearbook.com
Posuta can be a starting point for it. It uses Ruby and Clojure for core
functionalities, jQuery/Flot for graphics,

--
Marcos Luis Ortíz Valmaseda
Sr. Software Engineer (UCI)
http://marcosluis2186.posterous.com
http://www.linkedin.com/in/marcosluis2186
Twitter: @marcosluis2186

Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Vik Reykja 2012-02-09 10:09:25 Re: Inserts or Updates
Previous Message Greg Sabino Mullane 2012-02-09 04:39:50 Re: random_page_cost = 2.0 on Heroku Postgres