Re: Running out of disk space during query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Running out of disk space during query
Дата
Msg-id 14809.1141833159@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Running out of disk space during query  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Running out of disk space during query  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> I suppose I could put quotas in place or something but I don't really
> have a problem with the database as a whole using up a bunch of disk
> space (hence why it's got alot of room to grow into), I just would have
> liked a "this will chew up more disk space than you have and then fail"
> message instead of what ended up happening for this query.

I've got the same problem with this that I do with the recently-proposed
patch to fail queries with estimated cost > X --- to wit, I think it
will result in a net *reduction* in system reliability not an improvement.
Any such feature changes the planner estimates from mere heuristics into
a gating factor that will make queries fail entirely.  And they are
really not good enough to put that kind of trust into.
        regards, tom lane


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: [SQL] Interval subtracting
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Interval subtracting