Re: catalog corruption causes

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: catalog corruption causes
Дата
Msg-id 4C5C14CE02000025000342D6@gw.wicourts.gov
обсуждение исходный текст
Ответ на catalog corruption causes  ("Burgholzer, Robert (DEQ)" <Robert.Burgholzer@deq.virginia.gov>)
Ответы Re: catalog corruption causes  ("Burgholzer, Robert (DEQ)" <Robert.Burgholzer@deq.virginia.gov>)
Список pgsql-admin
"Burgholzer, Robert (DEQ)" <Robert.Burgholzer@deq.virginia.gov>
wrote:

> I am trying to get my head around what causes catalog corruption.

From what I've seen many are caused by things outside of PostgreSQL
-- like bad disk, bad drivers, OS bugs, running on network drives
which aren't reliable, write caches without battery back-up,
anti-virus software, etc.

Another common cause is using faster-but-unreliable PostgreSQL
configuration settings like fsync=off or full_page_writes=off.  If
that's couple with a kill -9 or a crash of hardware or OS, you can
get corruption.

Then there's the possibility of PostgreSQL bugs.  Make sure you use
a recent minor release of whatever major release you're on, so you
get the benefit of bug fixes.  And I recommend staying away from
VACUUM FULL -- among the many other reasons there are to avoid it,
it seems to have more than it's share of odd corner cases where
things can go wrong.

Less likely, but still possible, is that there's some malicious
element involved.  Keep your security tight to minimize the risk of
that.

-Kevin

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

Предыдущее
От: "Burgholzer, Robert (DEQ)"
Дата:
Сообщение: catalog corruption causes
Следующее
От: "Burgholzer, Robert (DEQ)"
Дата:
Сообщение: Re: catalog corruption causes