pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: brew@theMode.com
To: pgsql-performance@postgresql.org
Subject: Re: why is the db so slow?
Date: Sat, 3 May 2003 16:30:38 -0400 (EDT)
Message-ID: <Pine.BSF.4.44.0305031622320.61941-100000@themode.com> (raw)
In-Reply-To: <200305031132.56012.josh@agliodbs.com>


replying to Becky and Josh's reply.....

> It sounds to me like the system has something wrong with it if "pwd"
> takes a while to respond.  Even if CPU isn't in heavy use, I'd guess
> some other process is eating RAM or disk I/O

Look into the unix command 'top'.  It lists processes and the amount of
resources they are using.  Although if it's another user using them it may
not detail them.... but I think you can get some idea of what other users
are up to from the CPU idle time and server load averages from the 'top'
display.

> However, if this is for school, PostgreSQL is not very efficient being
> run as a seperate installation for each user.  For multiuser
> installations, it is far better to have one installation and many
> databases with restricted permissions.

I can attest to that, I run a web site using virtual hosting (about 80
users, each with their own version of Apache (and in my case, my own
version of postgreSQL, I have no idea what the other users are running).
My development Linux laptop is 5 to 10 times faster than the web site, of
course, I'm it's ONLY user.

brew




view thread (4+ messages)

Message-ID: <Pine.BSF.4.44.0305031622320.61941-100000@themode.com>
Permalink:  ../Pine.BSF.4.44.0305031622320.61941-100000@themode.com/
Also on:    postgresql.org/message-id/Pine.BSF.4.44.0305031622320.61941-100000@themode.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-performance@postgresql.org
  Cc: brew@theMode.com
  Subject: Re: why is the db so slow?
  In-Reply-To: <Pine.BSF.4.44.0305031622320.61941-100000@themode.com>
  References: <200305031132.56012.josh@agliodbs.com> <Pine.BSF.4.44.0305031622320.61941-100000@themode.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