X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0FBEBD1B8D5 for ; Fri, 31 Oct 2003 12:41:49 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 80574-08 for ; Fri, 31 Oct 2003 08:41:21 -0400 (AST) Received: from dhcp-7-248.ma.lycos.com (waltham-nat.ma.lycos.com [209.202.205.1]) by svr1.postgresql.org (Postfix) with SMTP id 63620D1B8EA for ; Fri, 31 Oct 2003 08:41:17 -0400 (AST) Received: (qmail 6828 invoked from network); 31 Oct 2003 12:43:51 -0000 Received: from dhcp-7-41.ma.lycos.com (HELO squeegit) (10.124.7.41) by dhcp-7-248.ma.lycos.com with SMTP; 31 Oct 2003 12:43:51 -0000 Date: Fri, 31 Oct 2003 07:41:14 -0500 From: Jeff To: "alexandre :: aldeia digital" Cc: pgsql-performance@postgresql.org Subject: Re: Pg+Linux swap use Message-Id: <20031031074114.2fbad92c.threshar@torgo.978.org> In-Reply-To: <1311.192.168.1.120.1067543348.squirrel@webmail.ad2.com.br> References: <1311.192.168.1.120.1067543348.squirrel@webmail.ad2.com.br> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/784 X-Sequence-Number: 4532 On Thu, 30 Oct 2003 17:49:08 -0200 (BRST) "alexandre :: aldeia digital" wrote: > Both use: Only postgresql on server. Buffers = 8192, effective cache = > 100000 > Well, I'm assuming you meant 1GB of ram, not 1MB :) Check a ps auxw to see what is running. Perhaps X is running gobbling up your precious mem. But still.. with 1GB there should be virtually no swap activity. How busy is the DB? How many connections? and is sort_mem set high? -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/