Re: Use of system indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Use of system indexes
Дата
Msg-id 2690.960363340@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Use of system indexes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> An interesting case is the pg_listener index in commands/async.c.  Our
> previous index was by relname/pid.  By changing this index to
> pid/relname, I can add index scans based in pid to prevent the many heap
> scans in the file.  I am sure there are other places that can be
> improved.

My opinion about that is that the pg_listener operations are better off
with no indexes at all.  pg_listener is small and *very* frequently
updated...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Look at heap_beginscan()
Следующее
От: Denis Perchine
Дата:
Сообщение: Slightly faster version of vacuumlo