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 1mXMO1-0003zu-QC for pgsql-general@arkaria.postgresql.org; Mon, 04 Oct 2021 11:44:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mXMO0-0005Yo-Mt for pgsql-general@arkaria.postgresql.org; Mon, 04 Oct 2021 11:44:00 +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 1mXMO0-0005Yg-E3 for pgsql-general@lists.postgresql.org; Mon, 04 Oct 2021 11:44:00 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mXMNx-0006nz-DN for pgsql-general@lists.postgresql.org; Mon, 04 Oct 2021 11:43:59 +0000 Received: by mail-ed1-x531.google.com with SMTP id bm13so13665754edb.8 for ; Mon, 04 Oct 2021 04:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=u6MifS4pzTW8kXHrE/pWOgUBoNQNWVBKiUz9noUbTpc=; b=fHoRaONIqYzRQKK1a8xenCzHVjJrBCnsw/rnAnqjolhUHoBt8Sxb6J3tS+lFQVrl2C 1NIp+l5/EgRAa/CfSCpI7JFA7xO2t3OTd23PLVGhTQmAYRmUUrudTDmZPNNLsOapKHtB Sq8bogMRMZ7uUZcl+dKRsNPSEwHdrOWysNcjO1KJb7ZbYPx24HKSvpbj23+W8HmEoDHQ shHlpmPSR0tu5xy0T5740diYoS4K0Ssp3zSSscxv94xYjLPMkYoeXbgf0rj55yUDC3Dr LjMeWD+3N22fegXw6o04ClAZZLwVTKlhUs3rg2DcS+ezX67rSpuX1swFZgF4pjDdVsf/ aqtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=u6MifS4pzTW8kXHrE/pWOgUBoNQNWVBKiUz9noUbTpc=; b=GrYb14xd29p/dPLaFg6Z6tJnVsJmSShHWszMSTCrHCHE5S5NA9pKdW/vkPEjkY60Vd 84xb+m2ekok3LDSNlXsFk5/d8ASA4XjgkXIWqB5Bf8O9JemZG86rfuoZPDCLicyrbZCc RupzKct5JdZrS8bysHcd0LFjVMmdX2NxIcHv6iallIlL66uXvHg/Gy8h6pfEnVOhKe95 5BHkwhITHb0h/z1c9JnVBuNMtgTJS6LlLDadkLTpY3pCn3KNDt9xNN5CpiVPu55+3No9 2olQrtnVQL1xGRdxlJThbuR3E3Rah1H51VI+MQ0Yh+8y1UI56Fvd35rwiz7z9A05JQK5 LfEQ== X-Gm-Message-State: AOAM532D7Sne1mllC1KVmGgrei6+tXnNz8pykysxmucvejLn5QjR02k1 0DTK7en/1zgWugF0u+G46I1CnYXReaQQwjMYRrOiAoxmJBPic7e7/o9P8mpgivfxNQQjeakjJvF wTnO0oDRt71W/6+jzkqzjaB16xxOVUrHERQi9Rs1RjGsJLukedtGIAnvMrLctpIHzrI0XleQax1 fHSUDaSVqrkbbqCBMkD4z4VKjzLDJe1sPI3kWMBMyLA3BgN2hNiJnblMcZteAiH8RYEBBVroKR5 D+MiPJgtsvzpWvzbpwrYOuaFK6cHWIDwVfUeWFEozCgRoyXkXrA+g== X-Google-Smtp-Source: ABdhPJybE6QPR55VEYHZncdqOiJeSLCjBmPfhNtyFhBF9CfDreoBbqFQn7bMXXugsjfY+uzHotfzHg== X-Received: by 2002:a17:906:2441:: with SMTP id a1mr16673648ejb.414.1633347835968; Mon, 04 Oct 2021 04:43:55 -0700 (PDT) Received: from [10.137.0.18] (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id g2sm7067106edp.74.2021.10.04.04.43.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Oct 2021 04:43:55 -0700 (PDT) Subject: Re: Problem in pg_basebackup of 1.7 TB database while replicating in PostgreSQL 9.4.( Master and slave both are in postgreSQL 9.4) To: Amal Chakravarty , pgsql-general@lists.postgresql.org References: From: Tomas Vondra Message-ID: <742704f0-79cf-ac2f-08f4-21f25538983c@enterprisedb.com> Date: Mon, 4 Oct 2021 13:43:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.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 X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/4/21 9:28 AM, Amal Chakravarty wrote: > Hi all. I am working with a database of 1.7 TB size which is in > PostgreSQL 9.4. Kindly suggest how to take the pg_basebackup of such a > huge data while replicating from master to slave. > And what exactly is the issue? Does it fail in some way or are you looking for a faster / more efficient way to transfer the data? regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company