Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGT2e-00039I-HE for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 19:15:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGT2c-0003R8-MT for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 19:15:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGT2c-0003Q9-68 for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 19:15:02 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iGT2X-0005QD-M9 for pgsql-general@postgresql.org; Fri, 04 Oct 2019 19:15:00 +0000 Received: by mail-qt1-x842.google.com with SMTP id d16so10002896qtq.8 for ; Fri, 04 Oct 2019 12:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=yIrKTCCp80sZXg7KhIjXhWfuTy9iSbwxyx50ZYBr3t4=; b=j1uClYaBTZWZZjPtUyQawjCEUJdeyPs16JFYT1/pER4RsX4A/Q5eOxjysIf0kJ97XY Dt/KujfjTGko+cOSU3dzn8TtBIagZMFtRJzNYwTQy4pP2GXG3pM+9qb7le4nlMVrJeE2 falWqdxmslS9ic6IcyClBPCX/9NCJ4LCzXyZ9/1q9PWTDFFdTviLSdYuZySgNwzNxkrG XI76NV+ne3AjTiPfMFGPW6kfaCYlZo+C5vpfMP3hbN8QHz2EwltvNVgLmnd3vQW8U1Xu oQawnNkLb4NNU4ksPC3Tg4jrTrfJNXUfp7JOE98CBUkGxG058xlH81zCRr7161w311F0 VJaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=yIrKTCCp80sZXg7KhIjXhWfuTy9iSbwxyx50ZYBr3t4=; b=hB8qmqtl3h1UpRxT8PeP92OMGfUbwAcooSP6jipKMmuWX0BMyHBRrZWsHGiuOEer0J 3xgiLK79kyun7QO+SEJPrUe1pOa2/tpNz7Gfm0iigY6N4Jzvo02q0Mdk5vePAkW+JZ7d b5G3Oq0WQjJZ1aJd5GlWaVnNfw5QEuBAE57wBuNgaibwWuaLWEPlOt/QYW9fuzyMQ6xa r3RSJDEalSm045DQhUcHqxwKp8hTiNToyZzLkQQyLrauyjlGHBxkrJrmK/Cs1koT9i2m EXJTsN5C7aJy4CdPFnETYqJKS2JwXpCSwDt9JhD95TV3HFgeTWBiLpVDA0ckiBzB+dMq 7a3g== X-Gm-Message-State: APjAAAW3qdyHq/eDB4zbGGTAzFnHzjnWZZijGH8lIlC4LLHQgo1B3wKv LRyvod3QwStXFHWWdU8KlifFkw== X-Google-Smtp-Source: APXvYqyBLPfvO30qpHXjby8e07W7wkEdZ6CMtUXSBXnlrP6ptCU0X5gHkWcJtYOwmH+Vov3HL0b2LQ== X-Received: by 2002:ac8:5147:: with SMTP id h7mr17533140qtn.117.1570216496741; Fri, 04 Oct 2019 12:14:56 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([201.186.209.84]) by smtp.gmail.com with ESMTPSA id f10sm2738100qth.40.2019.10.04.12.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 12:14:56 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id DA7F73009BD; Fri, 4 Oct 2019 16:14:53 -0300 (-03) Date: Fri, 4 Oct 2019 16:14:53 -0300 From: Alvaro Herrera To: Moreno Andreo Cc: PostgreSQL mailing lists Subject: Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparent wraparound Message-ID: <20191004191453.GA25115@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <43276b47-4de7-ed0e-8b4e-44b2976cbca2@evolu-s.it> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Oct-04, Moreno Andreo wrote: > Il 04/10/19 18:28, Alvaro Herrera ha scritto: > > I wonder if it would work to just clear that multixact with > > SELECT ... WHERE ctid='(3160,31)' FOR UPDATE > select ...what? :-) Sorry but it's totally beyond my knowledge and my > control.... after resolving the issue i'll surely go and search docs to > understand what we've done.... This should do it: SELECT * FROM the_broken_table WHERE But of course I make no promise of it working or even having any effect at all ... > One thing I forgot to report is that this cluster is just upgraded from a > 9.1 that was crashing at least once a day (in many cases the upgrade itself > resolved the issue) > here's the log line > 2019-10-03 15:11:52 CEST LOG:  server process (PID 18668) was terminated by > exception 0xC0000005 > In this case probably the access violation was due to a data corruption. > These are customer machines that are really badly kept and NTFS issues are > not that rare, so I won't bother investigating what's happened but just make > the customer up & running again. Hmm, well, it does sound like corrupted data, and if we suspect that that's the case then there's not much we can do other than clearing the page and moving on. That exception code is STATUS_ACCESS_VIOLATION. Old Postgres bugs caused that, many are fixed in current versions I think. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services