X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A10828BA489 for ; Fri, 18 Feb 2005 14:53:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30234-04 for ; Fri, 18 Feb 2005 14:53:18 +0000 (GMT) Received: from server.cityscape3d.com (unknown [217.206.144.18]) by svr1.postgresql.org (Postfix) with ESMTP id 57B0B8BA483 for ; Fri, 18 Feb 2005 14:53:17 +0000 (GMT) Received: from [192.168.1.117] ([192.168.1.117]) by server.cityscape3d.com (8.12.11/8.11.6) with ESMTP id j1IEnuT8030519; Fri, 18 Feb 2005 14:49:57 GMT (envelope-from chriskl@familyhealth.com.au) Received: from 127.0.0.1 (AVG SMTP 7.0.306 [265.8.9]); Fri, 18 Feb 2005 14:51:42 +0000 Message-ID: <421600FE.8090407@familyhealth.com.au> Date: Fri, 18 Feb 2005 14:51:42 +0000 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rodrigo Moreno Cc: pgsql-performance@postgresql.org Subject: Re: RES: Degradation of postgres 7.4.5 on FreeBSD/CygWin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/261 X-Sequence-Number: 10590 > this is only max 15 concurrent conections. And is not a heavy performance > database, so i think this is not necessary vacumm more than once a day. > > In another customer, has only 5 users and the database have 300mb, small > database, and has the same behaviour (haven't modified postgresql). > My first instalation was not changed anything in postgresql.conf, but in > this new server (FreeBSD) i have changed some parameters. > > as showed in my crontab list, i think this is enough: > 00 13 * * 1-5 /bin/sh /home/postgres/backup.sh >/dev/null 2>&1 > 00 19 * * 1-5 /bin/sh /home/postgres/backup.sh >/dev/null 2>&1 > 00 23 * * 1-5 /usr/local/pgsql/bin/psql supre -c "vacuum analyze;" We just told you - it's nowhere near enough. Vacuum once an hour. Size of the database is not that relevant, its size of changes that is. Chris