[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-bugs
Subject:    Re: slow pg_dump with bytea
From:       Alvaro Herrera <alvherre () alvh ! no-ip ! org>
Date:       2023-10-20 13:18:19
Message-ID: 202310201318.ukcklynpe5bq () alvherre ! pgsql
[Download RAW message or body]

On 2023-Oct-20, Janning Vygen wrote:

> So maybe you can fix it by changing the pg_dump process to not compress any
> bytea data.

The problem with this idea is that the compression applies to the whole
data stream.  The backup format doesn't allow to compress some columns
and not others.  Doing that would require a lot of changes to pg_dump.

Maybe a workable idea would be to allow excluding individual tables from
being compressed.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"El hombre nunca sabe de lo que es capaz hasta que lo intenta" (C. Dickens)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic