pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Very large caches (was Re: 7.3.1 New install, large queries are slow)
2+ messages / 2 participants
[nested] [flat]

* Very large caches (was Re: 7.3.1 New install, large queries are slow)
@ 2003-01-20 09:41  Ron Johnson <ron.l.johnson@cox.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Ron Johnson @ 2003-01-20 09:41 UTC (permalink / raw)
  To: pgsql-performance

On Mon, 2003-01-20 at 01:14, Tom Lane wrote:
> "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in> writes:
> > On 17 Jan 2003 at 12:33, Tom Lane wrote:
[snip]
> > and that is also the only way to make postgresql use more than couple of gigs
> > of RAM, isn't it?
> 
> It seems quite unrelated.  The size of our shared memory segment is
> limited by INT_MAX --- chopping it up differently won't change that.
> 
> In any case, I think worrying because you can't push shared buffers
> above two gigs is completely wrongheaded, for the reasons already
> discussed in this thread.  The notion that Postgres can't use more
> than two gig because its shared memory is limited to that is
> *definitely* wrongheaded.  We can exploit however much memory your
> kernel can manage for kernel disk cache.

http://www.redhat.com/services/techsupport/production/GSS_caveat.html
"RAM Limitations on IA32
Red Hat Linux releases based on the 2.4 kernel -- including Red Hat
Linux 7.1, 7.2, 7.3 and Red Hat Linux Advanced Server 2.1 -- support
a maximum of 16GB of RAM."

So if I have some honking "big" Compaq Xeon SMP server w/ 16GB RAM,
and top(1) shows that there is 8GB of buffers, then Pg will be happy
as a pig in the mud?

-- 
+------------------------------------------------------------+
| Ron Johnson, Jr.     mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
|                                                            |
| "Basically, I got on the plane with a bomb. Basically, I   |
|  tried to ignite it. Basically, yeah, I intended to damage |
|  the plane."                                               |
|    RICHARD REID, who tried to blow up American Airlines    |
|                  Flight 63                                 |
+------------------------------------------------------------+




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Very large caches (was Re: 7.3.1 New install, large queries are slow)
@ 2003-01-20 15:16  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Ron Johnson <ron.l.johnson@cox.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-01-20 15:16 UTC (permalink / raw)
  To: Ron Johnson <ron.l.johnson@cox.net>; +Cc: pgsql-performance

Ron Johnson <ron.l.johnson@cox.net> writes:
> So if I have some honking "big" Compaq Xeon SMP server w/ 16GB RAM,
> and top(1) shows that there is 8GB of buffers, then Pg will be happy
> as a pig in the mud?

Sounds good to me ...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-01-20 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-20 09:41 Very large caches (was Re: 7.3.1 New install, large queries are slow) Ron Johnson <ron.l.johnson@cox.net>
2003-01-20 15:16 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox