Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4TxT-0005YD-US for pgsql-general@arkaria.postgresql.org; Fri, 06 Apr 2018 16:11:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f4TxS-0001GT-62 for pgsql-general@arkaria.postgresql.org; Fri, 06 Apr 2018 16:11:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4TxR-00019C-MC for pgsql-general@lists.postgresql.org; Fri, 06 Apr 2018 16:11:21 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f4TxO-0000Iv-AF for pgsql-general@lists.postgresql.org; Fri, 06 Apr 2018 16:11:20 +0000 Received: by mail-wr0-x243.google.com with SMTP id l49so2268114wrl.4 for ; Fri, 06 Apr 2018 09:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3YSRniQyMN/it9cZiiIww0gdZomsQ8CIteDXqQ3kHyE=; b=vBYMwveGT7BTT3/weCia9P7gKBNmICSzO1cD0v5zvELkX3iFMGMSxOXSF6ZpwaCKVp LlClUWn07Jge55lV6uJy7qHAp98a4BQ/3lT5+WcBmBY24DHLsIERiFFspDpD6XH7V76z glEC0CdsyalLRfTjbPvlqiAM5fX3TrR6ebbF8NRcQvWj7QaCfdLxHtEs4pmkQYcZPaAb 14PsQyDhhuDGZujgXsvl27KtqO8xWJ/io8srgBxH/7vcFrWtT9fNyJL2ITsbfD3Xpjk9 pN09yq4VW97cN37CDr4hYJ87OKj3Oxb0P522/Je4ygg0NV0wQJWpqKpUrKWcvh2UG8Ec 4xAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3YSRniQyMN/it9cZiiIww0gdZomsQ8CIteDXqQ3kHyE=; b=Yb02tO9wVkZt56abbHjzC3CaDMpYVsxcI3Ou0i88LjO/LpuI7kH5uxuuzYIiqWB/9z fQ0b5sZMOm9/UsDWfoFAT4soyKLHsH3d+3YxJxe9iyueJ7Hn3t8qbX0CyzkEjPasHTWS wq96xSO0igRXB8sEhXAHGzD70mVaVLVpGRA8Ff6KqW9rfxKyWJz6nyaf+3ew1U4S3ReD V2fZSbFts+SL2bKTcgUPzVYDFuPVDuNW9hFLksDobW7dDyp/tP6p8MtGR+huoz2JVIaN /DpGLOr2F0ogIIlg6oawBt5nQc25219u2oPaKhQ50BvcC5XDXR28Op9megbzj3NtcIJ+ siug== X-Gm-Message-State: AElRT7F6nmZuG55kzXt0Fy+Nnt0MbzcAzS+0fRYrk7j6d9HNWWrk2mIb DxUtBQien9Wk56/ssKQO5zNDc3AmpS8Wzg3/Pbm+QsD/G4gEGrvexUTc1E0iRMLL52nq/B+mazX y7RGesNbuq+SDoQBBnvVJY/LaKXYQQWD81M2Wxsd+r3nJL9l54JV6928vLOedWHQT0wS248AnsV QkLesXhCs6WbIq/iO9 X-Google-Smtp-Source: AIpwx49FC00kPnyBTE6nb+hCblGapuUPtLfKJ0lWmU4fA5zN1H+JsQ99bd139ZiqyKXT4V14XqPOuQ== X-Received: by 10.223.219.1 with SMTP id s1mr18478951wri.125.1523031075085; Fri, 06 Apr 2018 09:11:15 -0700 (PDT) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id 31sm1664034wrm.68.2018.04.06.09.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Apr 2018 09:11:14 -0700 (PDT) Subject: Re: ERROR: found multixact from before relminmxid To: Alexandre Arruda Cc: pgsql-general@lists.postgresql.org References: From: Tomas Vondra Message-ID: <0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com> Date: Fri, 6 Apr 2018 18:11:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 04/06/2018 04:29 PM, Alexandre Arruda wrote: > 2018-04-06 9:39 GMT-03:00 Tomas Vondra >: > > > > On 04/06/2018 02:09 AM, Alexandre Arruda wrote: > > Hi, > > > > Some time ago, I had this errors frequently showed in logs after some > > autovacuum in some tables(pg 9.6). VACUUM FULL or CLUSTER in this tables > > show the same and not complete the tasks (showed by some table bloat > > select). > > Then, I did a full dump/restore into a new version (10.2) and everything > > is ok for a couple of months. Now, I have errors like this again: > > > > db1=# cluster pc44t; > > > > ERROR:  found multixact 134100944 from before relminmxid 192042633 > > > >   > > > > Like before, the only way to make the errors to desapear is by > > dump/reload the whole table. > > > > > > Thanks for any help. > > > > That's going to be hard, unless you still have the cluster around. > > This surely seems like some sort of data corruption issue, but without > being able to inspect the data pages it's nearly impossible to determine > what went wrong. > > We'd also need more information about what happened to the hardware and > cluster before the issues started to appear - crashes, hardware issues. > And so on. > > regards > > -- > Tomas Vondra                  http://www.2ndQuadrant.com > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services > > > Hi Tomas, > The old cluster are gone, unfortunatly. > > This server is a 128GB ECC RAM with a dual redundant hba fiber channel > connect to a sotorage with Raid 6 and I don't have (apparently) any > errors reported. > Yesterday I did a test with one table:  some sum aggragates, count(*), > etc, then dump/reload and repeat the tests the results (of querys) are > the same, regarding the vacuum problem > thats disapeared. > I'm not sure I understand correctly. So you can reproduce the issue? If yes, how can you share the scripts/data you use (and how large is it)? If we could reproduce it locally, it would make the investigation much easier. BTW you mentioned you're using PostgreSQL 9.6 - which minor version, specifically? regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services