Re: Database corruption with Postgre 7.4.2 on FreeBSD 6.1?

Поиск
Список
Период
Сортировка
От Shoaib Mir
Тема Re: Database corruption with Postgre 7.4.2 on FreeBSD 6.1?
Дата
Msg-id bf54be870607261608i23d9dff4y36d5405be6795c10@mail.gmail.com
обсуждение исходный текст
Ответ на Database corruption with Postgre 7.4.2 on FreeBSD 6.1?  (aurora <aurora00@gmail.com>)
Список pgsql-general
Try doing a REINDEX and see if you can recover all data blocks as it appears to me you have some data blocks messed up. If possible try taking the backup for your database as well.

Thanks,

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 7/27/06, aurora <aurora00@gmail.com > wrote:
Hello,

We are stressing testing our application. It adds and deletes a lot of
rows. Within 24 hours we ran into some sort of database corruption
problem. We got this error when trying to insert into the users table.


ERROR XX001: invalid page header in block 2552 of relation
"users_name_lower_idx"


The schema looks like this


create table users (
     userid integer  not null,
     name text unique not null,
     ...
     PRIMARY KEY (userid)
);

create index users_name_lower_idx on users (lower(name));


Then the box froze up. We suspect it might ran out of IO bufs.

We are using Postgre 7.4.2 running on FreeBSD 6.1 and Dell 2850.

Thanks for any help,

wy


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings




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

Предыдущее
От: "Redefined Horizons"
Дата:
Сообщение: Understanding VARHDRSZ
Следующее
От: "Karen Hill"
Дата:
Сообщение: CREATE DATABASE question.