pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Cc: raghuldrag@gmail.com
Subject: Re:
Date: Tue, 26 Jul 2022 10:48:47 -0700
Message-ID: <116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com> (raw)
In-Reply-To: <fccf0c6a-b7d2-4535-41a1-dc024fb18520@gmail.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>

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.

Rama if you have the space would it not be better to dump locally using 
-Fc to get a compressed format and the upload that to s3 as a separate 
process?


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (8+ messages)  latest in thread

Message-ID: <116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com>
Permalink:  ../116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com/
Also on:    postgresql.org/message-id/116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.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: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com, raghuldrag@gmail.com
  Subject: Re: 
  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>

* 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