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 1oDXWZ-0005Mf-EG for pgsql-general@arkaria.postgresql.org; Mon, 18 Jul 2022 20:39:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDXWY-0000Ow-9h for pgsql-general@arkaria.postgresql.org; Mon, 18 Jul 2022 20:39:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDXWX-0000Om-QC for pgsql-general@lists.postgresql.org; Mon, 18 Jul 2022 20:39:25 +0000 Received: from outbound5c.ore.mailhop.org ([54.244.192.240]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDXWV-0003ig-IB for pgsql-general@lists.postgresql.org; Mon, 18 Jul 2022 20:39:24 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1658176762; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=lq5PWFja/LOrGMs2Hu3QQlBRrGuJZ8kYDtaDBMsV4bYqPjkFCZmkDzHbCoynB1IMndgsiS6UYZEpd 9OXolyfqElwnQZVyUc6UM/0gZriHZ6EZG4ViBAsFFQ+bxBLvQGxxAr7BA3PItUUdGrKXce5xUylvZT 6cAr700Jp0XEuHg30PMnGfpZ4TiG8XONlBJwte9jJahfaRBlOvvII4SN0NvxhevCso4XKxqHf1KW3M mWcEcNkSZm4pv185ZdUM/4o4gFptfPjv7eMiWWlewGH2speLGeLpX+2Lvi+CkKCLSfFvdFfabed1it wJajjir5z4dYmPxKioYHU07nxhXIu4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=mime-version:content-transfer-encoding:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:dkim-signature:dkim-signature: from; bh=cnk6OsK8EFVTtuMOML/tJ0pdXaVhuur+N3jYCYH7xBU=; b=g2+amLhPzZA+OlyXdBJCtEhQA4eI82ECffu6rTfaLhnXQRClGP4GjobSVjh30iPoHzIAUt1AcBqpa PMHK6Q6X753XbCVCRGd5ea18ZwH6SlDhR2sJ4+8K+7JmqJP+ok0RxejkGkx0t9+n8sfqBYWZRJ96yS TFYMKUQYEqf3//2S2zEWJqCAh29Xsub1LuZ5d+E1k4k6dnIFmMsLza3uHrEYOj6HHacS8Z5sfFrqDS ZHYqV/XBRpBWfaNVb1YCP4tb8+1Sk6JJIpOz0iXgtfqiNgPEnhl5bDf0JN78VP4URydSPlzSAYs6sr SLVAd5aExwq7kNRwE2/oUHMizccyE0g== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=pass smtp.mailfrom=lists.simkin.ca smtp.remote-ip=172.105.109.24; dkim=pass header.d=lists.simkin.ca header.s=athena header.a=rsa-sha256 header.b=XEULL34I; dmarc=pass header.from=lists.simkin.ca; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.simkin.ca; s=duo-1610662143981-d3c4c825; h=mime-version:content-transfer-encoding:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=cnk6OsK8EFVTtuMOML/tJ0pdXaVhuur+N3jYCYH7xBU=; b=BpKXKANcYgbUyw2F2MCuBBV8WkCAZxa8ubqxglVlDUIqiCMrogDJY8NC/ZHlnAsKJ+CLnkUJ/pGWj 3ffDxZzjTDfS16zs+iwgUtbJLtIblGesizbI7JvSzH89VgqG/UFeEtDEIiI6X6C0YcR8xF/cxr7OCy qBi0zOaBhMeeRTDg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=mime-version:content-transfer-encoding:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=cnk6OsK8EFVTtuMOML/tJ0pdXaVhuur+N3jYCYH7xBU=; b=EpqRcZ8g1HBTgf0f5yATG6BGS0F8n3JgfDEyCzRZ9NsgvVyyMjgV8Y3gu/EfbrUv3qWTC9wCS3OoG ZWpX2J5WqSUDiejt9aQqHmapOkmdlLRQMmM8R1HshvYqt/mP54FAZtXORpFadaNCyUlZHAYhUyQHfY yxZApwhSRE9fUwVWf3uRjPebqp78W7O8dXHRk7n4+g90ebrI5a2SQaUm0mREp1CKlik0CLpZpKaagl QOZkjif12LEVxU61jzW4/seaBHDWUkerGQkoFK1rhSWqp62QMdUmXGhfV0yfd64HWbQlDzrI3z5llG FDzq7/US6PNmieJlHG0uopLBJF8ammA== X-Originating-IP: 172.105.109.24 X-MHO-RoutePath: c2lta2lu X-MHO-User: b2f8fa83-06d9-11ed-8626-d1581f149e9f X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from athena.simkin.ca (athena.simkin.ca [172.105.109.24]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id b2f8fa83-06d9-11ed-8626-d1581f149e9f; Mon, 18 Jul 2022 20:39:21 +0000 (UTC) Received: from skynet.simkin.ca (d154-20-71-66.bchsia.telus.net [154.20.71.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by athena.simkin.ca (Postfix) with ESMTPSA id 82AFDC696896 for ; Mon, 18 Jul 2022 13:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.simkin.ca; s=athena; t=1658176755; bh=cnk6OsK8EFVTtuMOML/tJ0pdXaVhuur+N3jYCYH7xBU=; h=Subject:From:To:Date:From:To:Subject:Date:Reply-To; b=XEULL34IdVPO+N8l0KcXmEHhCOWklNOlkttfWC7XRPNqjuy8DlJIOWi6PB2aofqeF jCX0V/1fefhl1aDvihIARboQ8IYbfosGyXIkhyHzSBINmarE55aDtY1aIIxP9Dxjfx 80NVgGrZu3AxiAK7noW7CjKR8SP22rW8Ky5TaZbEvY4Rj4GIjwiRsXb5eK2CYFV9y4 mJd1CaoLW1XgNpwLyo7Fm7UBhAXr0PASHJsP3h6xlemQ2vI4Gq9cEwJ2JMzw8j21Ru n5OUIeVGQMFh4L+fmJuy8wF8ynOYzePDt0S3F/Lc4xmu/jBo8yHl1oMLZumH8qJciy EHnT+e+xDwckw== Received: from skynet.simkin.ca (skynet.simkin.ca [IPv6:::1]) by skynet.simkin.ca (Postfix) with ESMTP id 0D0BF105B1B00 for ; Mon, 18 Jul 2022 13:39:17 -0700 (PDT) Message-ID: <642533227fe8b6782c8f55bfdc4be49a0060f30d.camel@lists.simkin.ca> Subject: Re: pg_receivewal/xlog to ship wal to cloud From: Alan Hodgson To: pgsql-general@lists.postgresql.org Date: Mon, 18 Jul 2022 13:39:17 -0700 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-PGP-Key: fp="EF82 6F8D A3BA A096 FFA3 05F2 A7A0 40A5 34E5 AA0B"; id="0x34E5AA0B"; get= User-Agent: Evolution 3.44.2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2022-07-18 at 15:55 -0400, nesli=C5=9Fah demirci wrote: > Hi all,=C2=A0 >=20 > Wondering if anyone has any experience=C2=A0of using pg_receivewal/xlog > to ship wal files to GCP/S3? >=20 I use archive_command to send WAL to S3. It works fine. I do gzip them before uploading, as they are usually pretty compressible. I use a lifecycle rule on the bucket to automatically delete ones older than I might need. It's not the fastest process in the world, and replay on our reporting server does occasionally fall behind, but I think that's true of WAL replay in general as a serialized process.