Re: matview scannability rehash (was Re: Drastic performance loss in assert-enabled build in HEAD)

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: matview scannability rehash (was Re: Drastic performance loss in assert-enabled build in HEAD)
Дата
Msg-id 1365170438.21865.YahooMailNeo@web162903.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: matview scannability rehash (was Re: Drastic performance loss in assert-enabled build in HEAD)  (Noah Misch <noah@leadboat.com>)
Ответы Re: matview scannability rehash (was Re: Drastic performance loss in assert-enabled build in HEAD)  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> wrote:

> The SQL commands I cited as responsible for creating or removing
> the fork all make a new relfilenode anyway.  Thus, "add" actually
> means creating the fork with the new relfilenode, and "remove"
> actually means omitting the fork from the new relfilenode.  The
> association between relfilenodes and relations is, of course,
> transactional.

The same argument applies to the currently-committed code.  The
goal is to not change a matview between zero-length and non-zero
length once the heap exists; but to only have this state change
when REFRESH replaces the heap in the style of CLUSTER, TRUNCATE,
ALTER TABLE with heap rewrite, or the new VACUUM FULL.

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: Drastic performance loss in assert-enabled build in HEAD
Следующее
От: Noah Misch
Дата:
Сообщение: Re: matview scannability rehash (was Re: Drastic performance loss in assert-enabled build in HEAD)