pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Cc: raghuldrag@gmail.com
Subject: Re:
Date: Wed, 27 Jul 2022 08:08:29 +0200
Message-ID: <20220727060829.GA12917@depesz.com> (raw)
In-Reply-To: <116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com>
References: <CAJWX+EP30TQ6ZO3_rHQq30DaQYYDRGuvo8CJ9iqt6b94hyUQUA@mail.gmail.com>
	<19522cdf-edd8-8513-10f7-689657cde12c@aklaver.com>
	<CAJWX+EM7HNWajC=FD1R0M3RutM2GgojXCU-SHbwsPkmAcOQRAQ@mail.gmail.com>
	<81fc9cfc-031a-2797-47fa-112b79edf626@aklaver.com>
	<fccf0c6a-b7d2-4535-41a1-dc024fb18520@gmail.com>
	<116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com>

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





view thread (8+ messages)  latest in thread

Message-ID: <20220727060829.GA12917@depesz.com>
Permalink:  ../20220727060829.GA12917@depesz.com/
Also on:    postgresql.org/message-id/20220727060829.GA12917@depesz.com

 · 

reply

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: depesz@depesz.com, adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com, raghuldrag@gmail.com
  Subject: Re: 
  In-Reply-To: <20220727060829.GA12917@depesz.com>
  References: <CAJWX+EP30TQ6ZO3_rHQq30DaQYYDRGuvo8CJ9iqt6b94hyUQUA@mail.gmail.com> <19522cdf-edd8-8513-10f7-689657cde12c@aklaver.com> <CAJWX+EM7HNWajC=FD1R0M3RutM2GgojXCU-SHbwsPkmAcOQRAQ@mail.gmail.com> <81fc9cfc-031a-2797-47fa-112b79edf626@aklaver.com> <fccf0c6a-b7d2-4535-41a1-dc024fb18520@gmail.com> <116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com> <20220727060829.GA12917@depesz.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