pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org
Subject: Re: Easy way to know the original table row/column given a pg_toast.pg_toast_XXXX chunk_id ?
Date: Mon, 27 Jan 2014 10:32:49 +0200
Message-ID: <52E619B1.903@matrix.gatewaynet.com> (raw)
In-Reply-To: <CAL_0b1uw-h7EoMth97F3Uf5suFAoPTFoZ6X1A1vLDOSX_RUdNw@mail.gmail.com>
References: <52E280A5.9000007@matrix.gatewaynet.com>
	<CAL_0b1uw-h7EoMth97F3Uf5suFAoPTFoZ6X1A1vLDOSX_RUdNw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On 25/01/2014 01:01, Sergey Konoplev wrote:
> On Fri, Jan 24, 2014 at 7:03 AM, Achilleas Mantzios
> <achill@matrix.gatewaynet.com> wrote:
> [...]
>> I understand the chunk_id is the "oid" of the "value" to be toasted, is
>> there any way to get to the row/column
>> of the toasted table, faster than the aforementioned exhaustive search?
> I guess there are no way to do it except the search. Try to look at
> this article [1], it perfectly describes what one needs to do in such
> cases as yours, and contains all the automation stuff also. Hope you
> will find it useful.
>
> [1] http://www.databasesoup.com/2013/10/de-corrupting-toast-tables.html
>

Very useful, Thank you!

-- 
Achilleas Mantzios
Head of IT DEV
IT DEPT
Dynacom Tankers Mgmt



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (3+ messages)

Message-ID: <52E619B1.903@matrix.gatewaynet.com>
Permalink:  ../52E619B1.903@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/52E619B1.903@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: Easy way to know the original table row/column given a pg_toast.pg_toast_XXXX chunk_id ?
  In-Reply-To: <52E619B1.903@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox