Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vV3dh-00CjIB-2k for pgsql-admin@arkaria.postgresql.org; Mon, 15 Dec 2025 08:09:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vV3dg-00GQHh-2d for pgsql-admin@arkaria.postgresql.org; Mon, 15 Dec 2025 08:09:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vV3dg-00GQGu-1I for pgsql-admin@lists.postgresql.org; Mon, 15 Dec 2025 08:09:05 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vV3de-000p9L-1c for pgsql-admin@postgresql.org; Mon, 15 Dec 2025 08:09:04 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-47798ded6fcso18984035e9.1 for ; Mon, 15 Dec 2025 00:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1765786141; x=1766390941; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=qbpHScRdqk1Tb07m7yLHXPqhkwhlDSpMTzS8KhZ09D4=; b=Hnv5tuHrMTR9PS9FwxhlvCrLq866Y1kj8ij6tFSFbJfiM7GO4ZNHlSqapbVNh/+8wL YJuqpvzhsOVUJAGCAMs0Bv2JufyzUfb/W/F+0pXjKSYTL4pBx07l6aTCfzK81tu7zt9y 3/vCH1laNJ42Mr++a5+UkyJN/ZzZLt11/4c3UKLLY78curOZ4MorSPyyYZENm40qTVYc /eFhwtQ0S415dhtfnbfJys/mhnp/uTo+Rr43feGdlg8z7Er1rJ4M0EZkRWwmdD2E89G5 PZDhq1W9Eytv0fY+A+/a8blKI+XrdSufpmetS7rnCw7zTrLpoz7C0j/thGT0ixgQfH/o cqfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765786141; x=1766390941; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qbpHScRdqk1Tb07m7yLHXPqhkwhlDSpMTzS8KhZ09D4=; b=ZEYE7mGIkt+ZXO02idtOc3SszwaGiTKi6JcS+ccQg4f9sH7Fm5rC0z/dpxKfcVFaTl 9uNl5UPYle2cygu1GDnPbGtaXE1UKsukBGD7LMY2VqG1W7Ba0BcFcSWGQBlsG425khw5 q+tK0jacb8sWWje+I0db3Pq3PPK2ZB0Zgff5A2Tq64NkhMWBiJeSbGg1QbW11ssq4nvJ ZOjm2Flv3Z8XJF2kM+A+0pLxw8sBuyolSnRfdRh1HtdTTuWlMeAY+ErmjLCaZCcTpurL ZI2FJsWo93IV92USLlxUHYTcn/Xq4a7RZ+cTDwd4VIEz+bnJTVmn99v6x6iaCtJVjGIt BmEA== X-Forwarded-Encrypted: i=1; AJvYcCXyQ2cUyYutuiwSTy9uOYj4JIJnSxN1CjIjvJfWiP+Q4ZYLkJ9MAgp42Yi55QsUXALqezq9moiFQ1gkWQ==@postgresql.org X-Gm-Message-State: AOJu0Yzd3248V6ha6PjXKdVNH/2KOWITonMuSHeynP3Ml/SNVC2qC6dt 8dDkyuYXc/p5XauTVJzIrb8AEy30lodVq0reJNEStH4CuI0qWVQZETYRAEwiIt13O07pMSRpnQY XRtMW1le+sw== X-Gm-Gg: AY/fxX786p5TKiDFOHKnV2eD/L/82H569rvWD1XR53bmlUYXCgOJ/SUufgqA+LYe1rh wfbNWTDZW8ru7GAt0zaHdCZ4qoYyusCPY0CPX+nR2N/EQeovWQVIIr+UJhcZ8L4zicAnPl/Jr2l uxoB3P3YJ/DT/UA57nPL4An9/XdGuawh3ciTDxMoa076eAokcmEoJ4BO2ZOCeZYijEZA3tVd54d ej6Bjpzd9tPkBQOwmVyQ2/OAkbpW2Vf5WsKQFwhNnedt5UCnpISuLqGi0gibMfcxsw//QfaWTwO oDaDjtRBeX1d2UkVHjO5kyjiYYYcW4A3C55DZ6bawLnMxwpGYWfvZ6GXNQ7TxliMabEAniWZRiN 3R7uED1ml5yXLl0NPJo5mNEQgBwqxn4rXKJcoZd77h1zi4H9+8bLxDmNgDS8jCDicoEc+AGKsFu Y8o0w6273cHvU4Ba4xvyJUpF7eCcHTgoucS/AWwrbDGQ== X-Google-Smtp-Source: AGHT+IFREmzNjfQycnicSdfNpZuLos5phvILoE1L7qYkpfzvwvpxeFPHfGUT9w7ZPjsrlKI/CH4Acg== X-Received: by 2002:a05:600c:608d:b0:46e:49fb:4776 with SMTP id 5b1f17b1804b1-47a8f8c18d1mr93798715e9.11.1765786141284; Mon, 15 Dec 2025 00:09:01 -0800 (PST) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:70:4d5d:eedd:3dd9:428c:9522]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47a8f38a4b7sm174481815e9.3.2025.12.15.00.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 00:09:00 -0800 (PST) Message-ID: Subject: Re: Wal file increase From: Laurenz Albe To: kasem adel , pgsql-admin Date: Mon, 15 Dec 2025 09:09:00 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-12-15 at 07:25 +0000, kasem adel wrote: > Thanks for your support We have physical replication connection with Post= gres node standby > and have another replication slot with logical replication with another n= ode and every day > after run pg_basebackup we face huge number of file created and size per = every hour is 23GB > and in normal size is 0.8 GB and in logical replication we see in logs it= =E2=80=99s in same > checkpoint but baseline change and we run pg_basebackup with -X fetch -C = fast. pg_basebackup does not increase the WAL volume, except by the full-page ima= ges that get written after any checkpoint. So you'd need to find an explanation for tha= t. "-X fetch" is not a good choice. Use "-X stream". Anyway, you didn't answer all my questions. Yours, Laurenz Albe