Re: TB-sized databases

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: TB-sized databases
Дата
Msg-id 474F4BB5.7090305@paradise.net.nz
обсуждение исходный текст
Ответ на Re: TB-sized databases  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-performance
Simon Riggs wrote:
> On Wed, 2007-11-28 at 14:48 +0100, Csaba Nagy wrote:
>
>
>> In fact an even more useful option would be to ask the planner to throw
>> error if the expected cost exceeds a certain threshold...
>>
>
> Well, I've suggested it before:
>
> statement_cost_limit on pgsql-hackers, 1 March 2006
>
> Would people like me to re-write and resubmit this patch for 8.4?
>
> Tom's previous concerns were along the lines of "How would know what to
> set it to?", given that the planner costs are mostly arbitrary numbers.
>
> Any bright ideas, or is it we want it and we don't care about the
> possible difficulties?
>
>

Knowing how to set it is a problem - but a possibly bigger one is that
monster query crippling your DW system, so I'd say lets have it.

Cheers

Mark

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: clear pg_stats
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Configuring a Large RAM PostgreSQL Server