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>
Re: [ADMIN] pg_dump ERROR: missing chunk number 0 for toast value "michael@sqlexec.com" <michael@sqlexec.com>
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
Дата:
От: Tom Lane
Дата:
FAQ