Re: turn off caching for performance test
От
Scott Marlowe
Тема
Re: turn off caching for performance test
Дата
Msg-id
AANLkTin7OCNMxnZeejraQ+vawy5rO0ZOZFC6WKzX00oR@mail.gmail.com
Ответ на
turn off caching for performance test (Willy-Bas Loos)
Список
Дерево обсуждения
turn off caching for performance test Willy-Bas Loos <willybas@gmail.com>
Re: turn off caching for performance test Arjen van der Meijden <acmmailing@tweakers.net>
Re: turn off caching for performance test Merlin Moncure <mmoncure@gmail.com>
Re: turn off caching for performance test Scott Marlowe <scott.marlowe@gmail.com>
Re: turn off caching for performance test Willy-Bas Loos <willybas@gmail.com>
Re: turn off caching for performance test Willy-Bas Loos <willybas@gmail.com>
Re: turn off caching for performance test Robert Haas <robertmhaas@gmail.com>
Re: turn off caching for performance test "Pierre C" <lists@peufeu.com>
Re: turn off caching for performance test Willy-Bas Loos <willybas@gmail.com>
Re: turn off caching for performance test Greg Smith <greg@2ndquadrant.com>
On Thu, Aug 26, 2010 at 4:32 AM, Willy-Bas Loos wrote: > Hi, > > I have a colleague that is convinced that the website is faster if > enable_seqscan is turned OFF. > I'm convinced of the opposite (better to leave it ON), but i would like to > show it, prove it to him. Stop, you're both doing it wrong. The issue isn't whether or not turning off seq scans will make a few things faster here and there, it's why is the query planner choosing sequential scans when it should be choosing index scans. So, what are your non-default settings in postgresql.conf? Have you increased effective_cache_size yet? Lowered random_page_cost? Raised default stats target and re-analyzed? Have you been looking at the problem queries with explain analyze? What does it have to say about the planners choices?
В списке pgsql-performance по дате отправления