X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CBC28D1B755 for ; Fri, 18 Jun 2004 10:58:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31833-06 for ; Fri, 18 Jun 2004 13:58:18 +0000 (GMT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id B39C2D1B750 for ; Fri, 18 Jun 2004 10:58:14 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 1BbJsn-000C5R-0U; Fri, 18 Jun 2004 14:58:18 +0100 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id E78BD16DD7; Fri, 18 Jun 2004 14:58:16 +0100 (BST) Message-ID: <40D2F4F8.20600@archonet.com> Date: Fri, 18 Jun 2004 14:58:16 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael Ryan S. Puncia" Cc: pgsql-performance@postgresql.org Subject: Re: memory allocation References: <200406181320.i5IDKLrA010944@mail.census.gov.ph> In-Reply-To: <200406181320.i5IDKLrA010944@mail.census.gov.ph> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/190 X-Sequence-Number: 7248 Michael Ryan S. Puncia wrote: > Hi everyone . > > > > How much memory should I give to the kernel and postgresql > > I have 1G of memory and 120G of HD Devrim's pointed you to a guide to the configuration file. There's also an introduction to performance tuning on the same site. An important thing to remember is that the sort_mem is the amount of memory available *per sort* and some queries can use several sorts. -- Richard Huxton Archonet Ltd