Re: Performance of the listen command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Flemming Frandsen <ff(at)partyticket(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance of the listen command
Date: 2006-07-29 23:45:08
Message-ID: 20791.1154216708@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Flemming Frandsen <ff(at)partyticket(dot)net> writes:
> I just looked at the pg_listener table:
> ... and noticed the complete lack of indexen, surely this must be a bug?

No, that was intentional. It's been a long time but I think the
argument was that the cost of updating the indexes would outweigh
their usefulness. The listen/notify code is really not designed
for a great deal of "flap" in the set of active listeners :-(

I'm not particularly concerned about trying to add indexes --- would
much rather get rid of the table approach entirely. There have been
prior discussions of this but nothing's been done.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2006-07-30 01:14:16 New variable server_version_num
Previous Message John Jawed 2006-07-29 21:32:54 Re: Auto Installation