Re: Removing raw data files

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Removing raw data files
Дата
Msg-id dcc563d10807071142o3f6c9957jac453de4e642afab@mail.gmail.com
обсуждение исходный текст
Ответ на Removing raw data files  (Carol Walter <walterc@indiana.edu>)
Ответы Re: Removing raw data files
Список pgsql-admin
On Mon, Jul 7, 2008 at 12:19 PM, Carol Walter <walterc@indiana.edu> wrote:
> Hello,
>
> I asked this question a while ago and I didn't get an answer.   Perhaps I
> asked the question in a manner that wasn't clear.  I upgraded from 8.1.3 to
> 8.2.3.  I left the 8.1.3 database intact in case I had to revert to it.  The
> 8.2.3 database is running just fine and I'd like to recover the space that
> the 8.1.3 raw data directories are consuming.  Can I just remove the raw
> data files with rm -rf on the data directory for the 8.1.3 version?  This
> may sound like a silly question but the database I worked with prior to
> postgres was MS SQL Server.  On that platform, you never know when something
> from the last version is imbedded in the new version.

The cautious sysadmin in me says to set the directory to owner root
and perms 000 so it's not accesible.  Then if something goes horribly
wrong, you've still got the original directory.  If not, after a week
or two you can delete it knowing nothing is accessing it.

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

Предыдущее
От: Tino Schwarze
Дата:
Сообщение: Re: Removing raw data files
Следующее
От: Carol Walter
Дата:
Сообщение: Re: Removing raw data files