pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Michael Riess <mlriess@gmx.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: 15,000 tables - next step
Date: Sat, 3 Dec 2005 13:26:42 -0300
Message-ID: <20051203162642.GA29022@surnet.cl> (raw)
In-Reply-To: <dmsgke$24so$1@news.hub.org>
References: <dmqjou$2a10$1@news.hub.org>
	<4391BF0F.9000208@Yahoo.com>
	<dmsgke$24so$1@news.hub.org>

Michael Riess wrote:

> Shared memory ... I currently use 1500 buffers for 50 connections, and 
> performance really suffered when I used 3000 buffers. The problem is 
> that it is a 1GB machine, and Apache + Tomcat need about 400MB.

Well, I'd think that's were your problem is.  Not only you have a
(relatively speaking) small server -- you also share it with other
very-memory-hungry services!  That's not a situation I'd like to be in.
Try putting Apache and Tomcat elsewhere, and leave the bulk of the 1GB
to Postgres.  With 1500 shared buffers you are not really going
anywhere -- you should have ten times that at the very least.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (10+ messages)  latest in thread

Message-ID: <20051203162642.GA29022@surnet.cl>
Permalink:  ../20051203162642.GA29022@surnet.cl/
Also on:    postgresql.org/message-id/20051203162642.GA29022@surnet.cl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: alvherre@commandprompt.com, mlriess@gmx.de
  Subject: Re: 15,000 tables - next step
  In-Reply-To: <20051203162642.GA29022@surnet.cl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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