Re: performance with query

Поиск
Список
Период
Сортировка
От Alberto Dalmaso
Тема Re: performance with query
Дата
Msg-id 1245251481.5027.142.camel@dalmaso-opensuse.cl
обсуждение исходный текст
Ответ на Re: performance with query  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: performance with query  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-performance
That what i send is the quick execution, with other parameters this
query simply doesn't come to an end.
It is the little query that changing the settings (using the default
with all the query analyzer on) becames really quick, while with this
settings (with some analyzer switched off) became very slow.

I don't belleve: using this settings

set enable_hashjoin = 'on';
set enable_nestloop = 'on';
set enable_seqscan = 'on';
set enable_sort = 'on';


set from_collapse_limit = 8;
set join_collapse_limit = 3;


select * from v_fsa_2007_estrazione;
finnally end in acceptable time (156 sec)
what does it mean using join_collapse_limit = 3 (that is really a lot of
object less that what i'm using in taht query).

I'm executing an explain analyze in this new situation...
It is possible that such a configuration can create performance problem
on other queryes? (join_collapse_limit is set to a really low value)

I'll made some test in this direction.


В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Speeding up a query.
Следующее
От: "Hartman, Matthew"
Дата:
Сообщение: Re: Speeding up a query.