From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nico De Ranter <nico.deranter@esaturnus.com>
To: Andreas Kretschmer <andreas@a-kretschmer.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump crashes
Date: Fri, 22 May 2020 08:06:59 -0700
Message-ID: <1c99b45f-0e84-52fe-40d3-107182522daa@aklaver.com> (raw)
In-Reply-To: <CALVv0fad+ABttFFYw2J=tbgcaHd0sW-Heksy4YwFq9r_UNwmdg@mail.gmail.com>
References: <CALVv0fbOkGoYaFtaE4zug6KrNcg3qSYXpZgH4w9-9gUUmr_61g@mail.gmail.com>
<3c1f0353-524f-86c8-7e6e-4c28e343414f@a-kretschmer.de>
<CALVv0fad+ABttFFYw2J=tbgcaHd0sW-Heksy4YwFq9r_UNwmdg@mail.gmail.com>
On 5/22/20 7:48 AM, Nico De Ranter wrote:
> The original server was running 9.5.14
> The system I am currently testing on is 11.8
>
> 2 fields are marked as 'extended'. However if I understand correctly
> the table isn't actually toasted:
>
>
> oid | table_schema | table_name | total_bytes |
> total | index | toast | table
> -------+--------------------+-------------------------+--------------+------------+------------+------------+------------
> 19601 | public | file | 147648061440 |
> 138 GB | 57 GB | 8192 bytes | 80 GB
What query are you using to get above?
>
>
> On Fri, May 22, 2020 at 3:58 PM Andreas Kretschmer
> <andreas@a-kretschmer.de <mailto:andreas@a-kretschmer.de>> wrote:
>
>
>
> Am 22.05.20 um 14:37 schrieb Nico De Ranter:
> > Postgres version: 9.5
>
> which minor-version?
>
> Can you check if the table has TOAST-Tables? Can you try to select all
> columns but not TOASTed columns?
> Maybe there is data-corruption only in toast-tables.
>
>
> Regards, Andreas
>
> --
> 2ndQuadrant - The PostgreSQL Support Company.
> www.2ndQuadrant.com <http://www.2ndQuadrant.com;
>
>
>
>
>
> --
>
> Nico De Ranter
>
> Operations Engineer
>
> T. +32 16 38 72 10
>
>
> <http://www.esaturnus.com;
>
> <http://www.esaturnus.com;
>
>
> eSATURNUS
> Philipssite 5, D, box 28
> 3001 Leuven – Belgium
>
>
>
> T. +32 16 40 12 82
> F. +32 16 40 84 77
> www.esaturnus.com <http://www.esaturnus.com;
>
> ** <http://www.esaturnus.com/;
>
> *For Service & Support :*
>
> Support Line Belgium: +32 2 2009897
>
> Support Line International: +44 12 56 68 38 78
>
> Or via email : medical.services.eu@sony.com
> <mailto:medical.services.eu@sony.com>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, nico.deranter@esaturnus.com, andreas@a-kretschmer.de
Subject: Re: pg_dump crashes
In-Reply-To: <1c99b45f-0e84-52fe-40d3-107182522daa@aklaver.com>
References: <CALVv0fbOkGoYaFtaE4zug6KrNcg3qSYXpZgH4w9-9gUUmr_61g@mail.gmail.com> <3c1f0353-524f-86c8-7e6e-4c28e343414f@a-kretschmer.de> <CALVv0fad+ABttFFYw2J=tbgcaHd0sW-Heksy4YwFq9r_UNwmdg@mail.gmail.com> <1c99b45f-0e84-52fe-40d3-107182522daa@aklaver.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