X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2F44AD1B481 for ; Thu, 11 Dec 2003 06:37:12 +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 85303-07 for ; Thu, 11 Dec 2003 02:36:42 -0400 (AST) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by svr1.postgresql.org (Postfix) with ESMTP id 6CE0CD1B47A for ; Thu, 11 Dec 2003 02:36:41 -0400 (AST) Received: from myrealbox.com shridhar_daithankar@smtp-send.myrealbox.com [202.54.11.72] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.46 $ on Novell NetWare via secured & encrypted transport (TLS); Wed, 10 Dec 2003 23:36:39 -0700 Message-ID: <3FD81067.6010305@myrealbox.com> Date: Thu, 11 Dec 2003 12:06:23 +0530 From: Shridhar Daithankar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alfranio Correia Junior Cc: pgsql-performance@postgresql.org Subject: Re: Performance problems with a higher number of clients References: <3FD7EEE8.4080904@lsd.di.uminho.pt> In-Reply-To: <3FD7EEE8.4080904@lsd.di.uminho.pt> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/176 X-Sequence-Number: 5036 Alfranio Correia Junior wrote: > Postgresql configuration: > > effective_cache_size = 35000 > shared_buffers = 5000 > random_page_cost = 2 > cpu_index_tuple_cost = 0.0005 > sort_mem = 10240 Lower sort mem to say 2000-3000, up shared buffers to 10K and up effective cache size to around 65K. That should make it behave bit better. I guess tuning sort mem alone would give you performance you are expecting.. Tune them one by one. HTH Shridhar