Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGOfw-0006cn-5s for pgsql-general@arkaria.postgresql.org; Tue, 26 Jul 2022 17:48:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oGOfv-0000iH-2Q for pgsql-general@arkaria.postgresql.org; Tue, 26 Jul 2022 17:48:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGOft-0000hJ-V4 for pgsql-general@lists.postgresql.org; Tue, 26 Jul 2022 17:48:54 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGOfq-0000mP-Qt for pgsql-general@lists.postgresql.org; Tue, 26 Jul 2022 17:48:53 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0D80C5C011B; Tue, 26 Jul 2022 13:48:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 26 Jul 2022 13:48:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1658857729; x= 1658944129; bh=QIOpZUme3R7qK0wcuU9Tc5GMZxQsbW80OfNbRyJS+0I=; b=p ccbI5vLPzcI+EoRZ1GNvyudcEop/nkobeFRYKvIkojdeZn6xb0I0zg2X8FkmjM8M m9MeymAHQsb6lLbMjJ+1+AkV/zVfuzk347rxBJxY2S6EoPtkf5/wKJ7wzFOJFey3 DBjwtr6lbFtLNW04beX91W3ov9y3+l/JLOLzoIHC+K7VfJB0BPJlDjtvkUcNA9CV LjjWWk2sQnCfUv3XpO2F66uLvkB1HYeVTdnA6vcQfZQPpiOhZakOC8/Ywp03Eoum 8PiZ5m74h5FOMXLLvSxJqaS6MhrbBJaj+pzI3U3AE0uZRZVZo8r/wa8tNnvIs8Nu 9aOYKXOAHXPDtOCGjOl3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1658857729; x= 1658944129; bh=QIOpZUme3R7qK0wcuU9Tc5GMZxQsbW80OfNbRyJS+0I=; b=0 9KG9LelGDPcVce+Xwt54m0jYWpwB0Pmil/jzRU8M6csp03QqOkYQ9/pQJXNkD5i7 QIyKzYWRaFgKCsxSQWSieVcbbtnRv5vySdwuocRUENSLQKOh+nW2eVjupYNheQk5 MXcVQwOutOyGdEKFskeorfr8eY8ZCzW/9/Yv/J66n//fC/kHGQ93bv0Cfyj9IK7U bl4gOCEs7/GcPjp1FJo7jIseTAUjqbZ0jG+mKFzsKUODH2NcMBbyKaFrBIdWVT2s 17LoPy1lWKuCVBAJRsTSorcxnvTX6b7TGxhSp4g6AdkYlaLvAVI6Lp5ihLgfpsH9 YkBFRFTPWIjYB9cMfKUrg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddutddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhvefkffgfgggjtgfgse htjeertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepjeegtd eijeevfeejteeljeetkeevheejgffgjeelgfehgfdtheettefhtdelvdeknecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Jul 2022 13:48:48 -0400 (EDT) Subject: Re: To: Ron , pgsql-general@lists.postgresql.org References: <19522cdf-edd8-8513-10f7-689657cde12c@aklaver.com> <81fc9cfc-031a-2797-47fa-112b79edf626@aklaver.com> From: Adrian Klaver Cc: raghuldrag@gmail.com Message-ID: <116a02ee-6567-e177-ebfc-d9e2c94a57de@aklaver.com> Date: Tue, 26 Jul 2022 10:48:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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