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 1ezHhA-0001Yp-IM for pgsql-performance@arkaria.postgresql.org; Fri, 23 Mar 2018 08:05: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 1ezHh9-00008l-HA for pgsql-performance@arkaria.postgresql.org; Fri, 23 Mar 2018 08:05:03 +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 1ezHh9-00008a-7A for pgsql-performance@lists.postgresql.org; Fri, 23 Mar 2018 08:05:03 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ezHh7-0004rH-4K for pgsql-performance@lists.postgresql.org; Fri, 23 Mar 2018 08:05:02 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 39EEDFA8; Fri, 23 Mar 2018 04:05:00 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 23 Mar 2018 04:05:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=eRO+rSMRcKAkQvGJx6KV+HqFikHaTBugaxwYDD17pqU=; b=QEuDM8Id Pxo0uBs6dzVJa6jEj/p74n+ceFv4dr4CmXCZ70uq/ucglySwEJXqFLNhcqxuRaZJ 6VUb+f/nvYuuGUHqrQ7lXiIb16b7HGGmcUwwe5Na2NCBfhcgqIjRp30Yd7Tq0DhJ qh9n8CmHWuieVRw1XbK40uW5szzU8jB7aICVlpsRTPCQhB/7wo7l+MfjiA0yHeYn CmbLcVogz+N71qj3c6UWPUt3/AzRTSGb1EXBaxku8YnUegYILh/KQadSpY5AlK3y M5xZp71YBYr81TwrzvWAfVr/eQpplKjIidyrpLF1BNenfiAI89Tp5wbxOxxPfFvQ 8VlKYa734p4CXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=eRO+rSMRcKAkQvGJx6KV+HqFikHaT BugaxwYDD17pqU=; b=iae6h4D93W/A0k+EImAlwIW9v1NodmRdTk3tmEBnhEd4I THEVVxifQKY59HVJ0iUJ4gbakpkzyhIf7dNbC8xiDM+J7ceHosKonQpHW4p6Ynv2 aCRWjIFY+cqAtxF7fetBKWAfnWsYpAgnVhWAI2bwkMYKOuSGjgEer0311yIuHjuV H/wrqk/DJSKwJLd+T9s6tY8z+U3C2XkJYhKNqTnf3LVp2dSb50ElXWYJPJhv/LH8 WCzSD7HEq1nMjEpMjm0P7KaYknv6MpvotDnWDtbYyQKwM8pPeeCGpPPrGl25FbMX s41ZGARRjgnv5POG8N0PVfU2XfutuQ1tQJJ/O62NA== X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 88F027E0D6; Fri, 23 Mar 2018 04:04:58 -0400 (EDT) Date: Fri, 23 Mar 2018 17:04:55 +0900 From: Michael Paquier To: Akshay Ballarpure Cc: pgsql-performance@lists.postgresql.org Subject: Re: DB corruption Message-ID: <20180323080455.GC7070@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IMjqdzrDRly81ofr" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --IMjqdzrDRly81ofr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 23, 2018 at 01:29:35PM +0530, Akshay Ballarpure wrote: > I have a query on DB corruption. Is there any way to recover from it=20 > without losing data ? Corrupted pages which need to be zeroed in order to recover the rest is data lost forever, except if you have a backup you can rollback to. Please see here for some global instructions about how to deal with such situations: https://wiki.postgresql.org/wiki/Corruption First take a deep breath, and take the time to read and understand it. > Notice: The information contained in this e-mail > message and/or attachments to it may contain=20 > confidential or privileged information. If you are=20 > not the intended recipient, any dissemination, use,=20 > review, distribution, printing or copying of the=20 > information contained in this e-mail message=20 > and/or attachments to it are strictly prohibited. If=20 > you have received this communication in error,=20 > please notify us by reply e-mail or telephone and=20 > immediately and permanently delete the message=20 > and any attachments. Thank you This is a public mailing list. -- Michael --IMjqdzrDRly81ofr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlq0tScACgkQnvQgOdby QH1sKA/9GnlbFWR+t8BGgDSMUHuA6gtw6JEqNQ3jYwDvBw4gaAEAFaoMQ3Vuhlsv p9DOGy30SUe4TXhWv7nM3WLwxMurdaSsIUqBbYJajfwRbMlx+ruB3MxKECQ5Jdsb KgPA6lnhPQxhHyww5jUnmy3M69nFJdrmq8rMabjZsYzIX7tafZHWXlLVrOmP/2uA UOjD9FD6nNem4uF2dISX7KYdNuGnKGynhhqv+1f4/L4bPg58adYvw/GfvjCpkuQx EF8AuhPNysgRPAVtdaQ/q55tcFIeB2gz4ywk7P96f3a9S4sN2zz1s1iqwCon5uTX 6SjKL2Ote/R/N7v8by/GI3vX++WVqRdM0UFOuFZWzEjiakETpkncHnyhitvy2Cys prdMQ4MMYOTZ01fBuaoTzX/+2yFfTdCAbFltgZaIMACiMvijerO50HFfxZRjiPle wSddHZJBMjafJOoHYb+zaz0Dz9Zc9/MfHJQkcju2psli7dOGR21HFvV0z16nYHmG Rtf0YZep8ZuxEPUE7cQy2drfvdW0LtJ+0jX9PnFfkb9ni/ZbkeCieuxWo8q10ziz 0Wg7A8J0yTHFN+NzE8xKOV9tYAXQsWMXRr/7nq5k0T0Kr4h7Y2g5JgY7uEhCruxr 9hjAwk86MGAi2L0bMikaqCHHl0cSLoId5+MoUCdnpbNDZLytdfU= =2Plc -----END PGP SIGNATURE----- --IMjqdzrDRly81ofr--