Received: from fw.wintelcom.net (bright@ns1.wintelcom.net [209.1.153.20]) by hub.org (8.10.1/8.11.0) with ESMTP id e9OIVnN67288 for ; Tue, 24 Oct 2000 14:31:52 -0400 (EDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9OIVfN13582; Tue, 24 Oct 2000 11:31:41 -0700 (PDT) Date: Tue, 24 Oct 2000 11:31:41 -0700 From: Alfred Perlstein To: "Gavin M. Roy" Cc: pgsql list Subject: Re: Slow Performance Message-ID: <20001024113140.F28123@fw.wintelcom.net> References: <39F5C606.1208745B@readysetnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <39F5C606.1208745B@readysetnet.com>; from gmr@readysetnet.com on Tue, Oct 24, 2000 at 10:25:26AM -0700 X-Archive-Number: 200010/104 X-Sequence-Number: 897 * Gavin M. Roy [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."