Re: How to cope with low disk space

Поиск
Список
Период
Сортировка
Искать
От
Daniel Verite
Тема
Re: How to cope with low disk space
Дата
Msg-id
1feaea11-43af-4507-87a3-6f7c9bb2f8cc@mm
Ответ на
Список
Дерево обсуждения
How to cope with low disk space Michiel Holtkamp <michiel.holtkamp@soundintel.com>
Re: How to cope with low disk space Bill Moran <wmoran@potentialtech.com>
Re: How to cope with low disk space Michiel Holtkamp <michiel.holtkamp@soundintel.com>
Re: How to cope with low disk space "Daniel Verite" <daniel@manitou-mail.org>
Re: How to cope with low disk space Erik Jones <erik@myemma.com>
Re: How to cope with low disk space Michiel Holtkamp <michiel.holtkamp@soundintel.com>
Re: How to cope with low disk space Shane Ambler <pgsql@Sheeky.Biz>
Re: How to cope with low disk space Michiel Holtkamp <michiel.holtkamp@soundintel.com>
Re: How to cope with low disk space Bill Moran <wmoran@potentialtech.com>
Re: How to cope with low disk space "Peter Childs" <peterachilds@gmail.com>
	Michiel Holtkamp wrote:

> Running low on disk space can also happen when something goes wrong 
with
> the recording trigger (this can be a hardware fault). In both cases, 
we
> don't want to store even more data, but we will want to make a 
selection
> based on age (newer data is more important). 

Did you think about testing pg_relation_size('pg_largeobject') against 
a fixed threshold before allocating new large objects?
If it's higher than the threshold, you could either stop importing new 
data, or lo_unlink-ing older entries and immediately issuing a plain 
vacuum before continuing.

-- 
 Daniel
 PostgreSQL-powered mail user agent and storage: 
http://www.manitou-mail.org
В списке pgsql-general по дате отправления
От: Brent Friedman
Дата:
От: Klein Balazs
Дата:
Сообщение: Re: dynamic crosstab
FAQ