Re: recovery do not finish

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: recovery do not finish
Дата
Msg-id 1215811819.4051.1670.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: recovery do not finish  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
On Fri, 2008-07-11 at 16:53 -0400, Alvaro Herrera wrote:
> Benedek Laszlo wrote:
> > Hello,
> >
> > I have a serious problem with a production database.
> > We had a no disk space left on device problem, and postgres did not stop, so it was killed ( kill -9 )
> > we made free space and reboot, but postgres not start properly.
> > We have waited for more than 2 hours, but psql still says that the system is starting up.
> > ( Db size is about 20 gb )
> > the os is Ubuntu 4.0.3-1ubuntu5
> > postgres is 8.1.4

2 hours is a long time for a crash recovery. What does the log say?

> There are known bugs in the recovery code; IIRC some of them may cause
> the recovery to hang.

Just to clarify: There are no known bugs in recovery code at the highest
maintenance release level in any version of PostgreSQL after 8.0 on
Linux, possibly before that also. So upgrade, yes, very soon.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Default fill factor for tables?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: How do I tell if a vacuum is currently running?