Re: Use of system indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Use of system indexes
Date
Msg-id 2690.960363340@sss.pgh.pa.us
Whole thread Raw
In response to Use of system indexes  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Look at heap_beginscan()
Next
From: Denis Perchine
Date:
Subject: Slightly faster version of vacuumlo