Re: Backends stalled in 'startup' state: index corruption

Поиск
Список
Период
Сортировка
От Jeff Frost
Тема Re: Backends stalled in 'startup' state: index corruption
Дата
Msg-id A92D56A2-7E26-4746-B04D-C537FF20C18E@pgexperts.com
обсуждение исходный текст
Ответ на Re: Backends stalled in 'startup' state: index corruption  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Backends stalled in 'startup' state: index corruption  (Greg Sabino Mullane <greg@endpoint.com>)
Список pgsql-hackers
On May 27, 2012, at 12:53 PM, Tom Lane wrote:

Another thing that can be deduced from those stack traces is that sinval
resets were happening.  For example, in the third message linked above,
the heapscan is being done to load up a relcache entry for relation 2601
(pg_am).  This would be unsurprising, except that stack frames 17 and 18
show this is happening during the fifth call of load_critical_index, and
we should have had both pg_am's reldesc and the syscache entry that's
being fetched at relcache.c:1010 loaded up in the first call.  So those
cache entries have to have gotten blown away by sinval reset.  This is
not terribly surprising if there were a steady flux of DDL happening in
the database, for instance temp table creations/drops.  (Jeff, can you
comment on that?)  If heapscans over the whole of pg_attribute were
occurring, they'd take long enough to expose the process to sinval
overrun even with not-very-high DDL rates.



As it turns out, there are quite a few temporary tables created.

During the busiest periods of the day, this system averages 1.75 temp tables per second.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: --disable-shared is entirely broken these days
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [RFC] Interface of Row Level Security