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 CC5C0D1BAD8 for ; Fri, 7 May 2004 14:17:20 -0300 (ADT) 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 47590-10 for ; Fri, 7 May 2004 14:16:47 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id E8FD1D1F4AB for ; Fri, 7 May 2004 14:16:46 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i47HGkSx020806 for ; Fri, 7 May 2004 17:16:46 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i47Gl9i1082798 for pgsql-performance@postgresql.org; Fri, 7 May 2004 16:47:09 GMT From: Bricklen User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 X-Newsgroups: comp.databases.postgresql.performance Subject: Re: Help how to tune-up my Database References: <200405071054.i47Asbh9012448@mail.census.gov.ph> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 10 Message-ID: Date: Fri, 07 May 2004 16:47:09 GMT To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=NO_DNS_FOR_FROM X-Spam-Level: * X-Archive-Number: 200405/63 X-Sequence-Number: 6894 scott.marlowe wrote: > sort_mem might do with a small bump, especially if you're only handling a > few connections at a time. Be careful, it's per sort, and measured in > megs, so it's easy for folks to set it too high and make their machine > start flushing too much kernel cache, which will slow down the other > backends that have to go to disk for data. http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_conf_e.html (under "Memory"), it says that sort_mem is set in KB. Is this document wrong (or outdated)?