Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 091049FB325 for ; Tue, 16 Oct 2007 06:51:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95811-07 for ; Tue, 16 Oct 2007 06:50:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from dalibo-free-72.custom.lost-oasis.net (unknown [212.85.154.72]) by postgresql.org (Postfix) with ESMTP id DDCE09F9C57 for ; Tue, 16 Oct 2007 06:50:58 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by dalibo-free-72.custom.lost-oasis.net (Postfix) with ESMTP id 7EE52578072; Tue, 16 Oct 2007 11:50:57 +0200 (CEST) Received: from dalibo-free-72.custom.lost-oasis.net ([127.0.0.1]) by localhost (pyrrha.dalibo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vnOZJHW9JPzN; Tue, 16 Oct 2007 11:50:57 +0200 (CEST) Received: by dalibo-free-72.custom.lost-oasis.net (Postfix, from userid 1011) id 5A6A7578076; Tue, 16 Oct 2007 11:50:57 +0200 (CEST) Received: from [192.168.1.100] (unknown [81.56.152.169]) by dalibo-free-72.custom.lost-oasis.net (Postfix) with ESMTP id 5CB66578072; Tue, 16 Oct 2007 11:50:55 +0200 (CEST) Message-ID: <4714897B.7030108@postgresqlfr.org> Date: Tue, 16 Oct 2007 11:50:51 +0200 From: =?ISO-8859-1?Q?St=E9phane_Schildknecht?= User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Heikki Linnakangas CC: pgsql-performance@postgresql.org Subject: Re: Vacuum goes worse References: <47147AD8.9010704@postgresqlfr.org> <47147FAA.7010909@enterprisedb.com> In-Reply-To: <47147FAA.7010909@enterprisedb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/168 X-Sequence-Number: 27190 Heikki Linnakangas a écrit : > Stéphane Schildknecht wrote: > >> I wonder vacuum verbose would tell me if fsm parameters were not too >> badly configured, but I can't get the 4 last lines of the output... >> > > Why not? > I would like to know... Seems like vacuum does not want me to see these precious line. I really don't know why. > >> Whats's more, I wonder what we could monitor to get some explanation of >> the recent time increase, and then have a quite-sure way of configuring >> the server. >> > > sar or iostat output would be a good start, to determine if it's waiting > for I/O or what. > Ok, I'll try that. > > Increasing checkpoint_segments seems like a good idea then. You should > increase checkpoint_timeout as well, 180 is just 3 minutes. How much > concurrent activity is there in the database? 30 pg_xlog files equals > 512 MB of WAL; that's quite a lot. > I don't know exactly how far, but yes, activity is high. > Have you changed the vacuum cost delay settings from the defaults? > Not yet. -- Stéphane SCHILDKNECHT Président de PostgreSQLFr http://www.postgresqlfr.org