Re: Cleaning up unreferenced table files

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Cleaning up unreferenced table files
Дата
Msg-id Pine.OSF.4.61.0504271629090.70462@kosh.hut.fi
обсуждение исходный текст
Ответ на Re: Cleaning up unreferenced table files  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Cleaning up unreferenced table files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Tue, 26 Apr 2005, Tom Lane wrote:

> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>> I feel that crashes that leaves behind stale files are rare.
>
> Indeed, and getting more so all the time ...

How so? Have changes been made in those parts of the code?

> which makes me question the value of doing anything about this at all.

What bothers me is that we currently have no means of knowing if it
happens and how often it happens, so we're just guessing that "it's
rare". How rare? We don't know.

If nobody ever runs into this issue in production, and this whole exercise
turns out to be completely unnecessary, at least we'll know. That alone
makes me feel better.

The only drawback of the patch that I can see is the performance impact on
recovery. And I think the time it takes to scan the data directories isn't
much compared to WAL replay.

- Heikki

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Cleaning up unreferenced table files
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Cleaning up unreferenced table files