Re: Out of space

Поиск
Список
Период
Сортировка
От Tom Bakken
Тема Re: Out of space
Дата
Msg-id 001801c41cd6$8888eaf0$770e9dc7@agwest.one.usda.gov
обсуждение исходный текст
Ответ на Re: Out of space  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Out of space  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom,

I'm not finding any mention of CHECKPOINT in my references.  Is that
something from a version newer than 7.1.2?

Tom Bakken
Information Resource Manager
Texas USDA, Rural Development

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Wednesday, April 07, 2004 12:22 PM
To: Tom Bakken
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Out of space


"Tom Bakken" <tom.bakken@tx.usda.gov> writes:
> I've been running a postgres for 2 or 3 years without a problem.  This
> morning my disk space for the database filled up.  I need to know what
> transaction/log files I can truncate or delete without compromising the
> system.  These files are located under /var/lib/pgsql/data/

I wouldn't recommend deleting *any* files manually --- unless you find
core files or old files underneath a pgsql_tmp subdirectory.  Those you
could zap at little risk.

The best approach is to free up a small amount of space elsewhere,
enough so you can get through a CHECKPOINT without failing.  The
checkpoint will hopefully free up some space in pg_xlog.  After that you
can look at dropping tables you don't need any more, VACUUM FULL, etc.

            regards, tom lane

Вложения

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

Предыдущее
От: "Tom Bakken"
Дата:
Сообщение: Re: Out of space
Следующее
От: "Tom Bakken"
Дата:
Сообщение: Re: Out of space