Re: could not read block 77 of relation 1663/16385/388818775

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: could not read block 77 of relation 1663/16385/388818775
Дата
Msg-id 492D1FA0.8020202@hogranch.com
обсуждение исходный текст
Ответ на Re: could not read block 77 of relation 1663/16385/388818775  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: could not read block 77 of relation 1663/16385/388818775  (Marc Schablewski <ms@clickware.de>)
Список pgsql-bugs
Gregory Stark wrote:
> John R Pierce <pierce@hogranch.com> writes:
>
>
>> oracle has had an option for some time that uses read/only page protection for
>> each page of the shared buffer area...   when oracle knows it wants to modify a
>> page, it un-protects it via a system call.     this catches any wild writes
>> into the shared buffer area as a memory protection fault.
>>
>
> The problem with both of these approaches is that most bugs occur when the
> code *thinks* it's doing the right thing. A bug in the buffer management code
> which returns the wrong buffer or a real wild pointer dereference. I don't
> remember ever having either of those.
>
> That said, the second option seems pretty trivial to implement. I think the
> performance would be awful for a live database but for a read-only database it
> might make more sense.
>


FWIW, it has modest overhead on Oracle on Solaris on Sparc...  EXCEPT on
the "Niagra" aka 'Coolthreads'  CPUs (the T1 processor), on that it was
horribly slow on our write intensive transactional system.    Our
environment is on very large scale servers where the shared buffers are
often 32 or 64GB, I suspect this increases our exposure to bizarro-world
writes.

believe me, especially in earlier Oracle releases (6, 7, 8), this
caught/prevented many problems which otherwise would have ended in a
Oracle fatal Block Corruption error, which would require many hours of
DBA hackery before the database could be restarted.

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: could not read block 77 of relation 1663/16385/388818775
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: BUG #4549: ecpg produces code that don't compile