Re: Optimisation deficiency: currval('seq')-->seq scan, constant-->index scan

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tiago Antão <tra(at)fct(dot)unl(dot)pt>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Optimisation deficiency: currval('seq')-->seq scan, constant-->index scan
Date: 2000-10-14 04:37:28
Message-ID: Pine.BSF.4.21.0010140137050.637-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 14 Oct 2000, Bruce Momjian wrote:

> > On Mon, 21 Aug 2000, Tom Lane wrote:
> >
> > > > One thing it might be interesting (please tell me if you think
> > > > otherwise) would be to improve pg with better statistical information, by
> > > > using, for example, histograms.
> > >
> > > Yes, that's been on the todo list for a while.
> >
> > If it's ok and nobody is working on that, I'll look on that subject.
> > I'll start by looking at the analize portion of vacuum. I'm thinking in
> > using arrays for the histogram (I've never used the array data type of
> > postgres).
> > Should I use 7.0.2 or the cvs version?

and, to answer what appears to have been missed ... use the CVS version
for anything like this *nod* *grin*

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2000-10-14 12:27:41 Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Previous Message Bruce Momjian 2000-10-14 04:25:17 Re: Optimisation deficiency: currval('seq')-->seq scan, constant-->index scan