Re: Is disableing nested_loops a bad idea ?
От
Kevin Grittner
Тема
Re: Is disableing nested_loops a bad idea ?
Дата
Msg-id
4C91E28C0200002500035868@gw.wicourts.gov
Ответ на
Re: Is disableing nested_loops a bad idea ? (Franck Routier)
Список
Дерево обсуждения
Is disableing nested_loops a bad idea ? Franck Routier <franck.routier@axege.com>
Re: Is disableing nested_loops a bad idea ? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Is disableing nested_loops a bad idea ? Franck Routier <franck.routier@axege.com>
Re: Is disableing nested_loops a bad idea ? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Is disableing nested_loops a bad idea ? Robert Haas <robertmhaas@gmail.com>
Re: Is disableing nested_loops a bad idea ? Samuel Gendler <sgendler@ideasculptor.com>
Franck Routier wrote: > So I wanted to better understand to what extend using a > sledgehammer will impact me :-) Disabling it globally is likely to significantly hurt some queries. Before resorting to that, you might decrease effective_cache_size, increase random_page_cost, and (most importantly) do whatever you can to improve statistics. Where those fail, and disabling nested loops helps, I concur with the advice to only do that for specific queries, taking care to reset it afterward. In other words, use that sledgehammer with great care, don't just swing it around wildly.... ;-) -Kevin
В списке pgsql-performance по дате отправления