Re: [HACKERS] \dt and disk access - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: [HACKERS] \dt and disk access
Date
Msg-id 53004fcc19145728639c98b2fd190981
Whole thread Raw
In response to [HACKERS] \dt and disk access  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
On Sun, 22 Jun 1997, Bruce Momjian wrote:

> >     My next question is what is considered a 'small SELECT result'?  If
> > I have a 32Meg machine, that 'small' would be different, I would assume,
> > then a 128Meg machine.
>
> I think the sort is used by ORDER BY and joins where this is not an
> existing index.

    Ummm...okay.

    Now, what is considered a "small SELECT result"? :)

> >     With that in mind, how about some sort of 'switch', similar to
> > -B, that allows you to stipulate total RAM of a machine (or virtual memory?),
> > or something similar to that?
>
> I am not sure how to do this.  There is sysctl() and getconf(), but
> neither of them is standard on all platforms.

    Huh?  You seem to have totally missed the question on that one
there Bruce :(  Where does sysctl() and getconf() fit into having a run
time switch? *confused look* *grin*

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

------------------------------

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] \dt and disk access
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] \dt and disk access