Re: Migrating a Database to a new tablespace

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Migrating a Database to a new tablespace
Дата
Msg-id 4450867D.9060908@logix-tt.com
обсуждение исходный текст
Ответ на Re: Migrating a Database to a new tablespace  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi, Tom,

Tom Lane wrote:

>>As I said the leftovers are likely to be caused by hard kills and
>>backend crashes, so I would not go into deeper analysis, but maybe the
>>finding and possibly removing of such leftovers should be half-automated
>>to assist server admins.
> 
> It's been discussed.  Personally I'm afraid of the idea of automatically
> deleting files that seem unreferenced, but having a tool to find them
> for manual deletion isn't a bad idea.

I also don't like the idea of full automated deletion, that's why I
wrote half-automated.

I thought of a tool that enumarates suspective files. Then admins can
look at the mtime/atime, or move them away and try what happens, or even
pipe the output to "xargs rm -rf" if they want.



Thanks,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


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

Предыдущее
От: "Neil Saunders"
Дата:
Сообщение: Re: LinkedList
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: Migrating a Database to a new tablespace