pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gavin M. Roy <gmr@readysetnet.com>
To: Alfred Perlstein <bright@wintelcom.net>
Cc: pgsql list <pgsql-admin@postgresql.org>
Subject: Re: Slow Performance
Date: Tue, 24 Oct 2000 13:22:46 -0700
Message-ID: <39F5EF96.AB93001@readysetnet.com> (raw)
References: <39F5C606.1208745B@readysetnet.com>
	<20001024113140.F28123@fw.wintelcom.net>
	<39F5ECFB.422F7BFD@readysetnet.com>
	<20001024131340.K28123@fw.wintelcom.net>

Thanks, I am now running -B 32768 and Postgres is nicely occupying 800+ megs of
memory.  We're doing testing now to see how it effects performance.

Alfred Perlstein wrote:

> * Gavin M. Roy <gmr@readysetnet.com> [001024 13:12] wrote:
> > Am looking here:
> > http://www.postgresql.org/devel-corner/docs/admin/runtime-config.htm
> >
> > but not seeing anything on shared memory.  Do you know the configuration
> > option for this?
>
> -B <some number of pages>
>
> >
> > Gavin
> >
> > Alfred Perlstein wrote:
> >
> > > * Gavin M. Roy <gmr@readysetnet.com> [001024 11:09] wrote:
> > > > I have a monster db server, with 2 gigs of memory all for PostgresQL
> > > > 7.0.2.  The machine is a PIII - 800 Zeon with 10,000 RPM SCSI drives.  I
> > > > have a database with about 8 tables with over 1.5 Million rows.  It's
> > > > running slower than I like when running simple sql queries on one and
> > > > two tables.  When I look at postgres I notice it's only using 80 megs.
> > > >
> > > > 1) Would increasing the memory postgresql is using increase performance?
> > > >
> > > > Here's my current command line:
> > > > /usr/local/pgsql/bin/postmaster -S -D /usr/local/pgsql/data -i -o '-F'
> > > > -B 2048 -N 1024 &
> > >
> > > Yes, try running a shared memorry segment of at least 256 megs.
> > >
> > > > 2) Are there any other suggestions to how I run Postgresql to increase
> > > > my performance issues?
> > >
> > > Make sure you periodically do a 'vacuum analyze' on the tables and
> > > make sure you have proper indexing.
> > >
> > > --
> > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> > > "I have the heart of a child; I keep it in a jar on my desk."
>
> --
> -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> "I have the heart of a child; I keep it in a jar on my desk."




view thread (5+ messages)

Message-ID: <39F5EF96.AB93001@readysetnet.com>
Permalink:  ../39F5EF96.AB93001@readysetnet.com/
Also on:    postgresql.org/message-id/39F5EF96.AB93001@readysetnet.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gmr@readysetnet.com, bright@wintelcom.net
  Subject: Re: Slow Performance
  In-Reply-To: <39F5EF96.AB93001@readysetnet.com>
  References: <39F5C606.1208745B@readysetnet.com> <20001024113140.F28123@fw.wintelcom.net> <39F5ECFB.422F7BFD@readysetnet.com> <20001024131340.K28123@fw.wintelcom.net> <39F5EF96.AB93001@readysetnet.com>

* 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