Re: Query related to pg_dump write to a pipe on a windows client and with compressed format

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Meera Nair <mnair(at)commvault(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Cc: Joel Howard <joelhoward(at)commvault(dot)com>
Subject: Re: Query related to pg_dump write to a pipe on a windows client and with compressed format
Date: 2023-12-01 16:30:37
Message-ID: e38e479c-7c06-4209-a039-309891f06383@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/30/23 18:57, Meera Nair wrote:
> Hi all,
>
> https://www.postgresql.org/message-id/flat/CAKKd065aJ1LuUMw_bhBgmgoM6Ng-cLdBobpzRiU%2BUsdsmW2aOg%40mail.gmail.com#996021734fa788bd1bc737254002ad11 <https://www.postgresql.org/message-id/flat/CAKKd065aJ1LuUMw_bhBgmgoM6Ng-cLdBobpzRiU%2BUsdsmW2aOg%40mail.gmail.com#996021734fa788bd1bc737254002ad11>
>
> We tried pg_dump write to a pipe with compressed format and faced issue
> as in thread referred here.

The complete command line was?

> It was on windows client and for postgres 9.2 version. So during
> pg_restore, seek error was seen.
> With pg_dump writing the dump to a file and then move to another machine
> for backup, this problem was not there.

The pg_dump command used for this was?

> But now the issue is that we need to have a  lot of free space to write
> the dump file
Size of file?

> So trying to understand if the compressed format still needs the staging
> of output file with the latest versions? Or we can write the output to a
> pipe to move the data to another machine for backup.

What happens if you don't compress the pg_dump output?

In other words is the network fast enough to compensate for not compressing?

>
> Regards,
>
> Meera
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-12-01 17:02:43 Re: libpq crashing on macOS during connection startup
Previous Message Adrian Klaver 2023-12-01 16:17:15 Re: Two started cluster on the same data directory and port