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 719D7D1E029 for ; Wed, 21 Apr 2004 14:01:35 -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 41794-04 for ; Wed, 21 Apr 2004 14:01:33 -0300 (ADT) Received: from leo.supplyfx.com (adsl-67-119-155-141.dsl.lsan03.pacbell.net [67.119.155.141]) by svr1.postgresql.org (Postfix) with ESMTP id 8D0A9D1DFA1 for ; Wed, 21 Apr 2004 14:01:32 -0300 (ADT) Received: from [10.0.100.21] (leo6.supplyfx.com [10.0.100.21]) by leo.supplyfx.com (Postfix) with ESMTP id 7037E330BC; Wed, 21 Apr 2004 10:01:32 -0700 (PDT) In-Reply-To: <009901c427bd$c4752410$c601a8c0@MIMS> References: <009901c427bd$c4752410$c601a8c0@MIMS> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <8937BC90-93B5-11D8-AC12-000A95AB8896@supplyfx.com> Content-Transfer-Encoding: quoted-printable Cc: From: Qing Zhao Subject: Re: Shared buffers, Sort memory, Effective Cache Size Date: Wed, 21 Apr 2004 10:01:30 -0700 To: =?ISO-8859-1?Q?Fr=E9d=E9ric_Robinet?= X-Mailer: Apple Mail (2.613) X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.6 tagged_above=0.0 required=5.0 tests=RCVD_IN_DYNABLOCK, RCVD_IN_SORBS X-Spam-Level: ** X-Archive-Number: 200404/439 X-Sequence-Number: 6739 Hello, I have recently configured my PG7.3 on a G5 (8GB RAM) with shmmax set to 512MB and shared_buffer=3D50000, sort_mem=3D4096 and effective cache size =3D 10000. It seems working great so far but I am wondering if I should make effctive cache size larger myself. Tnaks! Qing On Apr 21, 2004, at 9:29 AM, Fr=E9d=E9ric Robinet wrote: > Hello, > > I have a bi-PIII server with 2Gb of RAM with Debian and a PostgreSQL=20 > 7.4 > running on. What are the bests settings for shared buffers, sort=20 > memory and > effective cache size? > > My main database have a small/mid range size: some tables may have 1=20 > or 2 > millions of records. > > Thanks > > Fr=E9d=E9ric Robinet > Fr@Mims.be > > > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >