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 1fAgqN-0004mS-Ix for pgsql-admin@arkaria.postgresql.org; Mon, 23 Apr 2018 19:09:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fAgqL-0008MM-VW for pgsql-admin@arkaria.postgresql.org; Mon, 23 Apr 2018 19:09:41 +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 1fAgqL-0008MC-Kv for pgsql-admin@lists.postgresql.org; Mon, 23 Apr 2018 19:09:41 +0000 Received: from mail-ot0-x243.google.com ([2607:f8b0:4003:c0f::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fAgqI-0006RP-4l for pgsql-admin@postgresql.org; Mon, 23 Apr 2018 19:09:41 +0000 Received: by mail-ot0-x243.google.com with SMTP id q10-v6so13759914oth.9 for ; Mon, 23 Apr 2018 12:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=45exImFTwwfqqhqoYyyCJDUwcwFwqZsXexNWS9pMXew=; b=elzX72ATJt+90rAEGPXQ1ESebGn56vQWSyjj6HpZinsHD/ZDzzv+zZLHqIFsVtGWs2 XG2oEkj/DYopv/UVzh9YQ4lP2/VPBzWWdnPQ9F9o5t7HnG6i7t1IYpC0xR6Xg3TdVeHT VoAfau1Rjpca9X/t/oN/PTNjwWMekYqACPZTZI9mQL6NfQrxBNlcCBHIIFIDs5NFZUHN ku+CWQXrGZxbh5Qpb1UaRTY//GAUjbNjRSHzcIwINbeom5svsk+Z+2BW1aCTIdxBbM8G 9zIKMOB1i8lB+lsB9e80bL/zpA9PCW6yYN58BcXHeDGkYOlwUbKhMGWsuytk4lTXtddC qC+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=45exImFTwwfqqhqoYyyCJDUwcwFwqZsXexNWS9pMXew=; b=Od7kFQs4vxETGUdlPLGouSJ+RUxZ7j6/KjKhcqG8Rg5y/e8/XQG+fugmXMYgxSNpGt KtfgpPVNy2A9+DnK/D1VzZrXrB1YJJ66xRcXih9g+UeQVwMvMPibdeB4cRzH2tDs8b+Q Ije7v1FXiHV3Nuz/zDcf9/ZLLLAaKe21JEps9v/LCO9ctNMG0hD/MU+YC3H9tlVGyOoz ZGKJbfeUikle0Ynf9VL4ndVpyY7ZZf0Uqhyq44okG4RZMyxyKTeqtzvtypTV1DoJiKM5 z/c6cS8rA7Y+L7b9tLzFUL0uEJtadbEBmWSo5QXVyuF8lU7E9qMKpa68YtOvTm87i//S HtYQ== X-Gm-Message-State: ALQs6tCM8vnkWSeIWK6nWzoWTfshwmNq26ezsdduQwwmO2xcFAt94Gos A1KWi1IqHO3IjoCJDJSBt/Hf+Q== X-Google-Smtp-Source: AIpwx4/A11Ak4SprrMXKX2SCZdtAQlvQqQv7bRymEszqsFeQgbo8uTtGKUogDTZ4KUQVa4llzP+7qQ== X-Received: by 2002:a9d:480d:: with SMTP id c13-v6mr13925908otf.385.1524510575732; Mon, 23 Apr 2018 12:09:35 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id q12-v6sm2956011otg.56.2018.04.23.12.09.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 12:09:34 -0700 (PDT) Subject: Re: Health checks after machine crash? To: "pgsql-admin@postgresql.org" References: <87y3hd4xfc.fsf@jsievers.enova.com> From: Ron Message-ID: <14e7c714-f747-05be-9a80-4066b607a6a2@gmail.com> Date: Mon, 23 Apr 2018 14:09:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <87y3hd4xfc.fsf@jsievers.enova.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 04/23/2018 12:58 PM, Jerry Sievers wrote: > Ron writes: > >> Hi, >> >> v8.4 (Yes, it's archaic.  Upgrade plan is in progress.) > Please do! :-) > >> What queries should I run against the catalog tables to see whether or >> not the cluster is healthy after reboot? > Is the cluster confi'd to be at risk of corruption after crash.. such as > full_page_write=off, fsync=off? #full_page_writes = on fsync = on > Do your logs show any obvious sign of corruption, bad blocks etc? Nothing I've notived. > You may have little to worry about since Pg is very crash tolerant even > old versions 8.4 and prior. > > I'd try vacuum and analyze whole cluster plus dumpall >/dev/null and > check for errors there too. Any sort of corruption likely to cause > application problems likely to show up in so doing. Will do. -- Angular momentum makes the world go 'round.