Re: random_page_cost = 2.0 on Heroku Postgres - Mailing list pgsql-performance

From Greg Sabino Mullane
Subject Re: random_page_cost = 2.0 on Heroku Postgres
Date
Msg-id 00198dd656e4228cb66aa53a68ca0e14@biglumber.com
Whole thread Raw
In response to Re: random_page_cost = 2.0 on Heroku Postgres  (Marcos Ortiz Valmaseda <mlortiz@uci.cu>)
Responses Re: random_page_cost = 2.0 on Heroku Postgres  (Marcos Ortiz Valmaseda <mlortiz@uci.cu>)
List pgsql-performance
-----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. :)

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201202082338
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk8zTewACgkQvJuQZxSWSsiprACfTlYKiC4SS1UnERU+1N/2EGhJ
s9AAoIXLJk88hoNHEkWKhUTqikDBtC/B
=S65l
-----END PGP SIGNATURE-----



pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: random_page_cost = 2.0 on Heroku Postgres
Next
From: Marcos Ortiz Valmaseda
Date:
Subject: Re: random_page_cost = 2.0 on Heroku Postgres