pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mira Kaloper <mkaloper@ucdavis.edu>
To: pgsql-admin@postgresql.org
To: mkaloper@ucdavis.edu
Subject: postgres on apple OS X server
Date: Tue, 09 Mar 2004 13:04:05 -0800
Message-ID: <404E3145.2060209@ucdavis.edu> (raw)



Hi,

I have a postgres database that is VERY slow - in one table we have 50 
mil records in it.
I have tried to play with postgres.conf file and shared memory but was 
not able to speed it up to something that we can work with. We have 
apple RAID and I am planning to take database to the raid. I was 
wondering if someone has any hints about improving the speed on postgres.

Currently we have:
shmall = 134217728
shmmax = 134217728

and in postgresql.conf  I was setting up values to:
shared_buffers = 15200
sort_mem = 32168



Can someone please help me to tune up this database?

Thanks a lot for your help,

Mira

P.S. Please reply also to mkaloper@ucdavis.edu




view thread (2+ messages)  latest in thread

Message-ID: <404E3145.2060209@ucdavis.edu>
Permalink:  ../404E3145.2060209@ucdavis.edu/
Also on:    postgresql.org/message-id/404E3145.2060209@ucdavis.edu

 · 

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: mkaloper@ucdavis.edu
  Subject: Re: postgres on apple OS X server
  In-Reply-To: <404E3145.2060209@ucdavis.edu>
  References: <404E3145.2060209@ucdavis.edu>

* 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