Re: [ADMIN] pg_dump ERROR: missing chunk number 0 for toast value

Поиск
Список
Период
Сортировка
От michael@sqlexec.com
Тема Re: [ADMIN] pg_dump ERROR: missing chunk number 0 for toast value
Дата
Msg-id 58D3BEBF.9020701@sqlexec.com
обсуждение исходный текст
Ответ на [ADMIN] pg_dump ERROR: missing chunk number 0 for toast value  (<ramonpadilla1@yahoo.co.uk>)
Список pgsql-admin
As a start, zero in on the relation, index,column, table:

select 36791::regclass;


Restart the server with:

zero_damaged_pages=true
ignore_system_indexes=true


Do full vacuum again:
VACUUM FULL VERBOSE public.bodycontent;

If still a problem, consider dropping all the indexes and recreate
them.  Then try to do the vacuum full again.

If you still have a problem:
Use a program like python/psycopg2 and write a loop that fetches every
row in the table and capture with exception the rows that it fails on.
Then delete those rows.  Then do a dump of the table to /dev/null and
see if it completes without errors. If so, you will need to dump and
recreate the table.

Regards,
Michael Vitale


ramonpadilla1@yahoo.co.uk wrote:
> missing chunk



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

Предыдущее
От: Samed YILDIRIM
Дата:
Сообщение: Re: [ADMIN] Replication Between heterogeneous Databases
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] - Need Clarification about filenodes under base database directory