Thread: Correction - not crash

Correction - not crash

From
"Tim Perdue"
Date:
I have to correct my prior message. Postgres isn't crashing during vacuums -
the vacuums are just going on indefinitely, eating 100% CPU.

I tried manually issuing the vacuum command and it did the same thing...


Re: [SQL] Correction - not crash

From
"G. Anthony Reina"
Date:
Tim,

    It sounds like one of your table indicies became corrupted. I had a
similar thing happen to me before. To test this, try vacuuming each
table separately (i.e. 'vacuum verbose analyze tablename'). If each
table vacuums separately, then it is a problem with the main index (the
table of tables). In this case, you'll probably have to pg_dump and
restore the database (or possibly first try to drop the indicies and
re-create them).

-Tony