Re: random_page_cost = 2.0 on Heroku Postgres

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: random_page_cost = 2.0 on Heroku Postgres
Дата
Msg-id 00198dd656e4228cb66aa53a68ca0e14@biglumber.com
обсуждение исходный текст
Ответ на Re: random_page_cost = 2.0 on Heroku Postgres  (Marcos Ortiz Valmaseda <mlortiz@uci.cu>)
Ответы Re: random_page_cost = 2.0 on Heroku Postgres  (Marcos Ortiz Valmaseda <mlortiz@uci.cu>)
Список 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 по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: random_page_cost = 2.0 on Heroku Postgres
Следующее
От: Marcos Ortiz Valmaseda
Дата:
Сообщение: Re: random_page_cost = 2.0 on Heroku Postgres