Re: Use of system indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Use of system indexes
Date: 2000-06-07 07:35:40
Message-ID: 2690.960363340@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Denis Perchine 2000-06-07 07:42:06 Slightly faster version of vacuumlo
Previous Message Tom Lane 2000-06-07 07:33:16 Re: Look at heap_beginscan()