Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0EE7F634E74 for ; Wed, 4 Mar 2009 03:05:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98468-01-2 for ; Wed, 4 Mar 2009 03:05:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smarty.gabriel.co.hu (smarty.gabriel.co.hu [195.70.37.16]) by mail.postgresql.org (Postfix) with ESMTP id 3D654634307 for ; Wed, 4 Mar 2009 03:05:02 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by smarty.gabriel.co.hu (Postfix) with ESMTP id 71D3A40ED3 for ; Wed, 4 Mar 2009 08:04:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at Received: from smarty.gabriel.co.hu ([127.0.0.1]) by localhost (smarty.i-logic.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Vdfcvd4degod for ; Wed, 4 Mar 2009 08:04:59 +0100 (CET) Received: from gabriel-laptop (catv-80-99-23-11.catv.broadband.hu [80.99.23.11]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smarty.gabriel.co.hu (Postfix) with ESMTPSA id 37655358AF for ; Wed, 4 Mar 2009 08:04:59 +0100 (CET) Date: Wed, 4 Mar 2009 08:04:57 +0100 From: Akos Gabriel To: pgsql-performance@postgresql.org Subject: Re: work_mem in high transaction rate database Message-ID: <20090304080457.50578136@gabriel-laptop> In-Reply-To: References: <29144661.96951236126415852.JavaMail.root@mail.4linux.com.br> <30792576.96971236126536868.JavaMail.root@mail.4linux.com.br> Organization: I-Logic Kft X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/40 X-Sequence-Number: 32962 Tue, 3 Mar 2009 18:37:42 -0700 -n Scott Marlowe =EDrta: > Oh my lord, that is a foot gun waiting to go off. Assuming 2k > connections, and somehow a fair number of them went active with big I absolutely agree with Scott. Plus set effective_cache_size accordingly, this would help the planner. You can read a lot about setting this in the mailing list archives. --=20 =DCdv=F6zlettel, G=E1briel =C1kos -=3DE-Mail :akos.gabriel@i-logic.hu|Web: http://www.i-logic.hu=3D- -=3DTel/fax:+3612367353 |Mobil:+36209278894 =3D-