Re: Reg: PostgreSQL Server "base/data" recovery

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Reg: PostgreSQL Server "base/data" recovery
Дата
Msg-id CAB7nPqQooOf48ozO-Z6ucit-0s2vDkEVejgwX8LF5yOowXxvbA@mail.gmail.com
обсуждение исходный текст
Ответ на Reg: PostgreSQL Server "base/data" recovery  (Prajilal KP <prajilal.kp@gmail.com>)
Ответы Re: Reg: PostgreSQL Server "base/data" recovery  (Prajilal KP <prajilal.kp@gmail.com>)
Список pgsql-general
On Thu, Mar 19, 2015 at 5:19 PM, Prajilal KP <prajilal.kp@gmail.com> wrote:
> Recently i have noticed that my PostgreSQL server is returning the error
> messages like "Could not read block 6160722 in file
> "base/data/16384/11033028.47".

Don't you have more details to share? There should be some hint here
as well, and usually you may be facing such things because of OS or
hardware problems.

> When i have checked the "base/data/16384" directory, some of the file's data
> size is zero and exactly from that time i have started receiving the said
> error messages.
>
> Could you please advise the way to recover the Database without loosing any
> data?

If you are facing hardware problems, this may be a time to deploy a
backup and replay WAL up to where you wish to on clean disks.

> PostgreSQL version : 9.0.4

9.0.4 has been released in 2011, so you are missing 4 years worth of
bug fixes, the latest minor version of the 9.0.X release being 9.0.19.
Note as well that 9.0 will be EOL at the end of the year, hence you
could do even better: an upgrade to a newer major version.

Regards,
--
Michael


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

Предыдущее
От: Prajilal KP
Дата:
Сообщение: Reg: PostgreSQL Server "base/data" recovery
Следующее
От: Prajilal KP
Дата:
Сообщение: Re: Reg: PostgreSQL Server "base/data" recovery