X-Original-To: pgsql-performance@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CD6DE4763F0 for ; Sat, 3 May 2003 16:30:43 -0400 (EDT) Received: from themode.com (themode.com [161.58.169.198]) by postgresql.org (Postfix) with ESMTP id 48966475B99 for ; Sat, 3 May 2003 16:30:37 -0400 (EDT) Received: from localhost (mode@localhost) by themode.com (8.12.9) id h43KUcYU063913; Sat, 3 May 2003 16:30:38 -0400 (EDT) Date: Sat, 3 May 2003 16:30:38 -0400 (EDT) From: brew@theMode.com X-X-Sender: mode@themode.com To: pgsql-performance@postgresql.org Subject: Re: why is the db so slow? In-Reply-To: <200305031132.56012.josh@agliodbs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-16.4 required=5.0 tests=BAYES_01,IN_REP_TO,NO_DNS_FOR_FROM,NO_REAL_NAME, QUOTED_EMAIL_TEXT,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/33 X-Sequence-Number: 1812 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