Re: [GENERAL] Redo the filenode link in tablespace - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] Redo the filenode link in tablespace
Date
Msg-id 58bebee0-38f0-7a9b-a7fe-d7dd418b6918@aklaver.com
Whole thread Raw
In response to Re: [GENERAL] Redo the filenode link in tablespace  (tel medola <tel.medola@gmail.com>)
Responses Re: [GENERAL] Redo the filenode link in tablespace  (tel medola <tel.medola@gmail.com>)
List pgsql-general
On 06/01/2017 03:47 AM, tel medola wrote:
> Did you get any help with this?
> /I formatted correctly before sending the email. Maybe you should ask
> yourself if the mail server did not remove the formatting./

I was talking about help with your relfilenode issue, I learned to deal
with the formatting awhile ago.

> /
> /
> Well the relpages, reltuples are estimated values that can be updated
> with an ANALYZE./
> /
>
> /I can not make analyze on a table whose filenode is pointing to another
> reference. The table is empty, just because the filenode does not point
> to the correct ID./

Understood, I was just saying that if you could get the table pointing
at the right relfilenode the other values would be synced up with an
ANALYZE.

At this point it is time to just try something. You have file level
backups of the various backups, so you can restore that if something
goes wrong, correct?

For 01052016.repositorio with current pg_class entry of relfilenode of
13741352, change that back to the old entry of 5214489.





--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: "Wetzel, Juergen (Juergen)"
Date:
Subject: Re: [GENERAL] Slow query plan used
Next
From: Andreas Kretschmer
Date:
Subject: Re: [GENERAL] Slow query plan used