Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLx45-0000os-G3 for pgsql-admin@arkaria.postgresql.org; Tue, 17 Sep 2013 15:19:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VLx44-000215-Ux for pgsql-admin@arkaria.postgresql.org; Tue, 17 Sep 2013 15:19:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLx43-0001zj-Jc for pgsql-admin@postgresql.org; Tue, 17 Sep 2013 15:19:43 +0000 Received: from nm31.bullet.mail.bf1.yahoo.com ([72.30.239.198]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLx3v-0004Rm-Vy for pgsql-admin@postgresql.org; Tue, 17 Sep 2013 15:19:43 +0000 Received: from [98.139.215.141] by nm31.bullet.mail.bf1.yahoo.com with NNFMP; 17 Sep 2013 15:19:34 -0000 Received: from [98.139.212.246] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 17 Sep 2013 15:19:34 -0000 Received: from [127.0.0.1] by omp1055.mail.bf1.yahoo.com with NNFMP; 17 Sep 2013 15:19:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 229885.17244.bm@omp1055.mail.bf1.yahoo.com Received: (qmail 28297 invoked by uid 60001); 17 Sep 2013 15:19:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1379431174; bh=Yxapepkb9EI1ITb6MxVcthOKNyRX8GCkY6S0R+ETsqw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dLbXjr2F7oTk+/J/m1/XvPI9yM9JfcGOtktHH1Y0mI2Lg8bONAK2SWwItqi7Vu6IERgVvIlhlS/YYKLG6VtS4LcfURy/bCNLaYvkn+AH6FVttZ+KTX4x+rEoeHbBtlZY/z6XD84Db8jsySStjVfeKQkhkJ5ki85wX8wU7I8eLv8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=g0lpdlvUnKcaKpcBg2vfrwCtyYswXZ0pQpJJjrIDwNCYQ2TpG26Imd65JeNvH/NnJ24yL9CuRRiIRIHZIq38kYnuxgjGL6OsZKPzQbv3fe0pEgJKWTi/na5xgDxrJjV2c8UfWT7SLmODy5hFh2mmbXN1y99VHeQ6FmzBaoxExs8=; X-YMail-OSG: zrdKmkgVM1nYgIJ6VNvib84mb.A0Y7glvwlUFGA2DKtaUpp 9zFeK1QVpuvSTL4bWVG3W2S63syIO9OxvDMToXifjI3bacJS7IxvPq2Wf471 FKLGYE8qbNeBwWAgddFl0UOSlUP8boCcmTx5GDshTyxBTXFJvy54Ba3wga_s qq5E3azablgMfuDXaXsQ6eMlrgyprEPMxGTtBp8k19LRW1Le4vYBQLH0qNEg 5EyiB0dqkuHncRun8ko9vLxX1ifJ7HtnTQzVQwPoc6uZN8SVy2SGZOi.H0rC VImTcpB3rDt6s18fvW2_UOGLyuEdnkugUssCCN8_tP4xiEyayYZ7tneMODrn d3h7UMim0XmZ9RyB7EgVADbyk9QKAH3YYxrtFkFyUlzYSIhX6akLZazRdYzh pZZkI.lFXXeFre8d6B.Y9xLoNtgIUooC_DLArjo.vtnk2BHjf2rt1gESTfn2 axff2Mxa2HKxNygQrJ9jmUFz13LptzXzcCxHyYwfb7xOL7CWswQ9FeODfKDV 9QMxSK7dyRxh8wkFD9Sj2.NqA7sdtZ4A5kz4xP2n5lw9C4xBKX2f35VYVwCh Fu3JJN9kdOvyDRIHHK8EpvLTa0.130aiXr6fngk3gyYGNghZkRKBbvw-- Received: from [76.255.18.237] by web162902.mail.bf1.yahoo.com via HTTP; Tue, 17 Sep 2013 08:19:34 PDT X-Rocket-MIMEInfo: 002.001, QmVuamFtaW4gS3Jham1hbG5payA8a3JhakBzZXJ2b3lhbnQuY29tPiB3cm90ZToKCj4gRHVyaW5nIGEgbWFpbnRlbmFuY2Ugd2luZG93LCB3ZSB1cGdyYWRlZCBvdXIgc3lzdGVtcyB0byBQb3N0Z3Jlcwo.IDkuMC4xMyBmcm9tIDkuMC4zIHJ1bm5pbmcgb24gRnJlZUJTRCA4LjEgYW1kNjQuCj4gV2hlbiB3ZSByZXN0YXJ0ZWQgdGhlIHBvc3RncmVzIHNlcnZlciwgSSBub3RpY2VzLCBhbmQgY29udGludWUgdG8KPiBub3RpY2UsIGEgcmVjdXJyZW5jZSBvZiBtZXNzYWdlcyBpbiB0aGUgbG9nLgo.IAo.IDIwMTMBMAEBAQE- X-Mailer: YahooMailWebService/0.8.157.561 References: Message-ID: <1379431174.27898.YahooMailNeo@web162902.mail.bf1.yahoo.com> Date: Tue, 17 Sep 2013 08:19:34 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: New autovacuum messages in postgres log after upgrade To: Benjamin Krajmalnik , "pgsql-admin@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Benjamin Krajmalnik wrote: > During a maintenance window, we upgraded our systems to Postgres > 9.0.13 from 9.0.3 running on FreeBSD 8.1 amd64. > When we restarted the postgres server, I notices, and continue to > notice, a recurrence of messages in the log. >=20 > 2013-09-16 21:15:58 MDT LOG:=A0 automatic vacuum of table "ishield.public= .tbltmptests": could not (re)acquire exclusive lock for truncate scan > 2013-09-16 21:15:59 MDT LOG:=A0 automatic vacuum of table "ishield.public= .tbltmptests": could not (re)acquire exclusive lock for truncate scan > 2013-09-16 21:16:00 MDT LOG:=A0 automatic vacuum of table "ishield.public= .tbltmptests": could not (re)acquire exclusive lock for truncate scan >=20 > The tables on which I am seeing this messages are essentially > temporary work tables into which we insert records, which are > processed by triggers, and then deleted. > Performance of the system does not seem to have been affected by > the upgrade. > Is this simply caused by a higher level of verbosity in the > autovaccum logging, as a result of the autovacuum fix in 9.0.12? Yes, table truncation after a large number of deletes is now smarter, getting more done with less effort and blocking.=A0 This message, which was useful for developing the fix, made it into production at the LOG level.=A0 In the next minor release it will be changed to the DEBUG level to avoid cluttering the log with entries about routine activities. --=20 Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin