Re: Mini improvement: statement_cost_limit

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Mini improvement: statement_cost_limit
Дата
Msg-id 200808031756.08221.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Mini improvement: statement_cost_limit  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Mini improvement: statement_cost_limit  (Mark Kirkwood <markir@paradise.net.nz>)
Re: Mini improvement: statement_cost_limit  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Tom,

> Wasn't this exact proposal discussed and rejected awhile back?

We rejected Greenplum's much more invasive resource manager, because it 
created a large performance penalty on small queries whether or not it was 
turned on.  However, I don't remember any rejection of an idea as simple 
as a cost limit rejection.

This would, IMHO, be very useful for production instances of PostgreSQL.  
The penalty for mis-rejection of a poorly costed query is much lower than 
the penalty for having a bad query eat all your CPU.

-- 
--Josh

Josh Berkus
PostgreSQL
San Francisco


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unnecessary code in_bt_split
Следующее
От: "Gustavo Tonini"
Дата:
Сообщение: Re: Instructions for adding new catalog