Re:

From: Alicja Kucharczyk <zaledwie10minut(at)gmail(dot)com>
To: Hubert Lubaczewski <depesz(at)depesz(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, raghuldrag(at)gmail(dot)com
Subject: Re:
Date: 2022-07-27 18:19:55
Message-ID: CAM=sWa6Mr7ErJUpz2_5oxZvRUGm1M=+Xv3ikRYELd=g_OqLG4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

śr., 27 lip 2022 o 08:08 hubert depesz lubaczewski <depesz(at)depesz(dot)com>
napisał(a):

> On Tue, Jul 26, 2022 at 10:48:47AM -0700, Adrian Klaver wrote:
> > On 7/26/22 9:29 AM, Ron wrote:
> > > On 7/26/22 10:22, Adrian Klaver wrote:
> > > > On 7/26/22 08:15, Rama Krishnan wrote:
> > > > > Hi Adrian
> > > > >
> > > > >
> >
> > > > > What is size of table?
> > > > >
> > > > > I m having two Database example
> > > > >
> > > > > 01. Cricket 320G
> > > > > 02.badminton 250G
> > > >
> > > > So you are talking about an entire database not a single table,
> correct?
> > >
> > > In a private email, he said that this is what he's trying:
> > > Pg_dump -h endpoint -U postgres Fd - d cricket | aws cp -
> > > s3://dump/cricket.dump
> > >
> > > It failed for obvious reasons.
> > From what I gather it did not fail, it just took a long time. Not sure
> > adding -j to the above will improve things, pretty sure the choke point
> is
> > still going to be aws cp.
>
> It's really hard to say what is happening, because the command, as shown
> wouldn't even work.
>
> Starting from Pg_dump vs. pg_dump, space between `-` and `d`, "Fd" as
> argument, or even the idea that you *can* make -Fd dumps to stdout and
> pass it to aws cp.
>
> depesz
>

I believe it's worth to look at this project:
https://github.com/dimitri/pgcopydb since it is trying to solve exactly
this problem

pozdrawiam,
best regards,
mit freundlichen Grüßen,
Alicja Kucharczyk
*Warsaw PostgreSQL User Group*
<https://www.meetup.com/pl-PL/Warsaw-PostgreSQL-Users-Group/>

In response to

  • Re: at 2022-07-27 06:08:29 from hubert depesz lubaczewski

Browse pgsql-general by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2022-07-28 03:48:11 RE: Support logical replication of DDLs
Previous Message Michael Nolan 2022-07-27 15:48:41 Re: Feature request: psql --idle