Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flDk9-0002W4-Is for pgsql-general@arkaria.postgresql.org; Thu, 02 Aug 2018 13:34:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flDk7-00081G-Vd for pgsql-general@arkaria.postgresql.org; Thu, 02 Aug 2018 13:34:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flDk7-000819-Iq for pgsql-general@lists.postgresql.org; Thu, 02 Aug 2018 13:34:15 +0000 Received: from smtp55.i.mail.ru ([217.69.128.35]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flDk0-000608-JH for pgsql-general@postgresql.org; Thu, 02 Aug 2018 13:34:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:References:Reply-To:To:From:Subject; bh=J5A3gaHDdGQh3bdHsjZXIrmkMN62noLPMgNkTEA/bvo=; b=HhHE8+peZ4pSkqGAiNuGRgOW2onFGMY7wtuFbIkLBXm2qRNWU+etuD7SZG1wiW2gSsUi++p4e++tBvwBn97E2RYLgw+i0TxvMW1CYMS6iHyU/hC7RkMpn84saWxOlxMsroW4LjVUJ1gCckU30MEwYbfnS5eIeFRDnVpN4csWDf8=; Received: by smtp55.i.mail.ru with esmtpa (envelope-from ) id 1flDjz-0005LY-3e for pgsql-general@postgresql.org; Thu, 02 Aug 2018 16:34:07 +0300 Subject: Re: ERROR: found xmin 54230249 from before relfrozenxid 61349053 From: rihad To: pgsql-general General Reply-To: rihad References: Message-ID: <8a43c0c2-8e1b-2ffa-89e1-83978db7e3cd@mail.ru> Date: Thu, 2 Aug 2018 17:34:05 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Authentication-Results: smtp55.i.mail.ru; auth=pass smtp.auth=rihad@mail.ru smtp.mailfrom=rihad@mail.ru X-7FA49CB5: 0D63561A33F958A5FAA22352E2D5DCA02C346DEB05A126911A953D72A741952F0A6AB1C7CE11FEE3B2DECCBDF547A30576E601842F6C81A1F004C906525384306FED454B719173D6725E5C173C3A84C38F96A8B49BB7C6A66B4081051D1803675E97997F8902A7B9C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F2AF38021CC9F462D574AF45C6390F7469DAA53EE0834AAEE X-Mailru-Sender: B19AB4DAF1EA2FB5E3D61D0EC887F74FC28D08A6A9427751CA57D9E57137AFE3FADA28E124720B3CABBFE0CF075BC50BFB559BB5D741EB96004FA9CEFBA991DA3A5DB60FBEB33A8A0DA7A0AF5A3A8387 X-Mras: OK List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/02/2018 04:38 PM, rihad wrote: > Hi all. We see such errors on one of our own (non-system) tables on > Postgres 10.3. They stop both automatic vacuum & automatic analyze not > only on that table, but on all tables & databases (manual vacuuming > works though). Luckily it's a small (but important) table - less than > 1000 rows. Any quick way of fixing it with no downtime? Thanks. > BTW, it's a materialized view, not a table. "refresh materialized view concurrently" is being run on it regularly, but apparently doesn't fix the problem.