Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 52CBE6327AF for ; Sun, 21 Feb 2010 14:44:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 44181-05 for ; Sun, 21 Feb 2010 18:44:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by mail.postgresql.org (Postfix) with ESMTP id A4F91632755 for ; Sun, 21 Feb 2010 14:44:27 -0400 (AST) Received: by fxm1 with SMTP id 1so1887082fxm.35 for ; Sun, 21 Feb 2010 10:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Dl/qNiqDGcZ5qOadec37aaxG+nVyDv1d9S1DdJNspD0=; b=AdXt5yRLe1VPVv4mX3iYPHUPsQIqAs+Xt6gnej7nl6c9zXQtTKozt5ikAEV6HHwlXo O3su1V3l8TMniavsS4RknHPMgNXlovewU0/KjxNVsMTpwOaZERH46DfF5RTjFFzVMtOx 9A1kqxZES4DgLgJ18aREFVP8XiGQ7t/iPHQPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HAa07G1yJjUfRgXsgd+hvbvIChJSIwnGOEOPQwVIfF2reXabKYKsH8wnXTn5C7nSOz opcXGn/6A8qlxV6Y3pwlnf6KwPD+gBIYNks9fnlv0wV/6vFaG6CeeXiwE3oZODRDZ1zP kbzbbkzlUAXCT0WaU18pSHuWW2Mbh+iBVO2UE= MIME-Version: 1.0 Received: by 10.239.181.193 with SMTP id n1mr553178hbg.74.1266777866109; Sun, 21 Feb 2010 10:44:26 -0800 (PST) In-Reply-To: <9046F2E209CC4CF794B277783B27CA17@Cicero> References: <9046F2E209CC4CF794B277783B27CA17@Cicero> Date: Sun, 21 Feb 2010 13:44:26 -0500 Message-ID: <603c8f071002211044l742c68c0v37631c594b6b915@mail.gmail.com> Subject: Re: Auto Vacuum out of memory From: Robert Haas To: Rose Zhou Cc: pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/291 X-Sequence-Number: 37712 On Mon, Feb 15, 2010 at 3:20 PM, Rose Zhou wrote: > We bought a new WinXP x64 Professional, it has 12GB memory. > > I installed postgresql-8.4.1-1-windows version on this PC, also installed > another .Net application which reads in data from a TCP port and > insert/update the database, the data volume is large, with heavy writing and > updating on a partitioned table. > > I configured the PostgreSQL as below: > > Shared_buffers=1024MB > effective_cache_size=5120MB > work_mem=32MB > maintenance_work_men=200MB > > But I got the Auto Vacuum out-of-memory error. The detailed configuration is > as follows, can anyone suggest what is the best configuration from the > performance perspective? Please see http://wiki.postgresql.org/wiki/Guide_to_reporting_problems You haven't provided very much detail here - for example, the error message that you got is conspicuously absent. ...Robert