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 1vnflE-00A5sK-0A for pgsql-performance@arkaria.postgresql.org; Wed, 04 Feb 2026 16:29:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vnflD-00CZmm-0A for pgsql-performance@arkaria.postgresql.org; Wed, 04 Feb 2026 16:29:46 +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 1vnflC-00CZme-2P for pgsql-performance@lists.postgresql.org; Wed, 04 Feb 2026 16:29:46 +0000 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vnfl9-000000013Yp-43CI for pgsql-performance@postgresql.org; Wed, 04 Feb 2026 16:29:45 +0000 Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-6692c21a353so1200086eaf.2 for ; Wed, 04 Feb 2026 08:29:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770222582; cv=none; d=google.com; s=arc-20240605; b=kFpfz0/iiiNMrFhSBK0atJVoxVvv9fjwJP/9n58o9Aod65g0ZIVZV+nt47TEwmz4rs m306Rc+feY9v1V1+4EIp8MHyjGYlAQd8pxgsJUahqVcXPBq3ZXtWk3m7Hc0AAOR2Yc6l TU8Flxw5mu5CHwddbYcbFsnSKmJw0XBqt1t6C7eSNKZvpA7eoqA5rCNyN9AuMTuaZ91r ec+aiF0odUZpCBUhencApKsFG51TFxgT6idjVnofBBh+o4/eQ5EdROc6WemTkwWj2Lp3 TAPpi1/Y33/H+itRo+tk/ePnsdwT0QYX3YKav2epP/VWLRwVEjT9uDALsDJ2ra9ESLR1 3xtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=BMcyovULQjkZkJuf/1UAd5rx6AGhyvuC+ZBm5ROzVss=; fh=LrEPJ0Z+ftFRmlKoR1b2spCGs0t7Wa7iWA/MkA70e9g=; b=GkMa3kMsSNZpY2zu01JdlFO9LX5oXOIU1MxnfbJObom0XvCjSTgnGrcpX0xHNm0rwT kOd5icaA6Z2TVIbVoAYIp5HK8u2GJUqdwt0D1g7MXRKjzF/o8N3aAd4WW7c0DSr9Ue98 ittJgoE9iZE9zr7q7Qda692veP1c5jwpjIM58cELWcvlJwGUg5w1dhYLS+Q//mTaxypr KFlqW4WSoV3iy53pL5NaVZ/oI7cr6JutW9QmGfRPyxJ75swiQRHVY1D00OvyDE2i9F8Q szbLpBZFDFt0tyD6ZZDB0F6DFtzdQgzl4Gv8xW+4KcGPRGU1oWsoqvEml8b7EHwD85xV lHJg==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770222582; x=1770827382; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BMcyovULQjkZkJuf/1UAd5rx6AGhyvuC+ZBm5ROzVss=; b=SgqdlrCw55CBH5F5ihf5ttoWKCHO9ClJHIdUmrU35MDQXbahN8BitDvHx2g3g1uHhK cL5DGupZBMBnZqRD/PgdslTWvQCysrCwgklBtAb3RCFBNvE0lDhoPNAGnWndJp94W2L7 1r0wT6HtPDfILo8x2hYTDyky6nLire4CmS+uHwn+hLB3/AuGWabhEEgfLPXCqxOIK8kO LBo6uZl/1gUiYMmARpLnm7BuM8DrTmHXroGiQGEhaTeuP0SaGvokwmfLRc6uO5mtfVoQ a7kxzpOnZBiKPjTHsqYlaUjWTmtbFMiDElpzzaVjaCkxz0WffZD92SZeRo+t9U5aH2mw 0vvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770222582; x=1770827382; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BMcyovULQjkZkJuf/1UAd5rx6AGhyvuC+ZBm5ROzVss=; b=ZiRE1sOOKylwBHQK3EwjNkJkGiz4ldorLqk0Ncuu/QMKMPpWosjyN7t81zIE0neU0j sxwZq6pbl7rKDziaTBV2cAz+j9RYX4/cMfNWgdNTNVcMaUQBpZzqzuTQ6dF1fgjx+JWI mlNjU29Fbc5lcF/Bd7YUPAxuZQn56zcpgf6NzDErhzrfan8km+M/EmRTiY5nR/bIykyu KjSbXnqgFVfcfWA2g8jmavUSR6A5yqt8MSjFilwqveyHgWC2uZ/gDG7K/BngUbKOjuBP s3Q1iPdykyry41b74Sivvp9QCRHGNWLgWpJqQqCc5c1xlCXDv+pxw5PALIl3H0xNvpzF 5gFQ== X-Gm-Message-State: AOJu0YwgBjn9JBEhgmDKYnR7qpiaW9UM9TY9NYBdvWD7tXAsj3XWytCk yYfttFJ133VWVqoubgx44Ew1lxjZWGJWDJq6cXNcs//Qkud8LxlgtcOgECrx3JqbE3CeDySxC4F mabtn6do95hwOMeu46x7yq4madMNXUutpleiq X-Gm-Gg: AZuq6aJO/GPXHEPMuBvLT6UyBQicSaJb8G35pxA5wqFJOjPcUJaaAxrxkEMB4Lq8USX L8hG8hTS3gC+6Jxd1ZwY6wXZ6e5g/4FfJt+MeLRTkZg3GjunJ4sBHRFDbaN2tlH32+2sIZW+6kR 6TNelzz6ufiLTCL6LFF0HM7mO4pfIAXtdpC0p980Ljcb52iDaYnwwGQhRXzVoYSmI3ZMzHQ/2eV E2ZLQ5A/OiLAWCG6+7DGmLFLqXVj3ACWdk36Ii87z5xriavemEDPI9yIvWd5P6QrQghl5rIGkfW Cw+tz0oJZLsF770JQajXT7A+V19sxUft3K94MrvE X-Received: by 2002:a05:6820:1ca3:b0:662:f660:5a1c with SMTP id 006d021491bc7-66a1d40b4a9mr1734394eaf.0.1770222582371; Wed, 04 Feb 2026 08:29:42 -0800 (PST) MIME-Version: 1.0 References: <290abcbf-8d1c-4f75-bd31-2963331edb40@gmx.de> In-Reply-To: <290abcbf-8d1c-4f75-bd31-2963331edb40@gmx.de> From: Greg Sabino Mullane Date: Wed, 4 Feb 2026 11:29:07 -0500 X-Gm-Features: AZwV_QhdNQfgHtDfWKY7QArtfGuWkfiBV_ZnPAIFO5b5fCzIZoEW1x35_kgYWbk Message-ID: Subject: Re: performance impact on read replicas during heavy vacuums on primary To: Dirk Krautschick Cc: pgsql-performance@postgresql.org Content-Type: multipart/alternative; boundary="000000000000321aac064a02103a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000321aac064a02103a Content-Type: text/plain; charset="UTF-8" Is this a theoretical question, or have you seen performance issues? Yes, it is certainly possible for vacuum to affect the replica performance. More vacuum activity means more WAL means more WAL replay on the replica, using up CPU and I/O. In most real-world cases, this will not be a problem, as the replica should be able to keep up quite well even for near-constant vacuum activity. You would need a very high WAL volume and a very underprovisioned replica before seeing any ill effects. There are plenty of other performance bottlenecks that will likely hit you before this one. Cheers, Greg --000000000000321aac064a02103a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is this a theoretical question, or have you seen performan= ce issues? Yes, it is certainly possible for vacuum to affect the replica p= erformance. More vacuum activity means more WAL means more WAL replay on th= e replica, using up CPU and I/O. In most real-world cases, this will not be= a problem, as the replica should be able to keep up quite well even for ne= ar-constant vacuum activity. You would need a very high WAL volume and a ve= ry underprovisioned replica before seeing any ill effects. There are plenty= of other performance bottlenecks that will likely hit you before this one.=


Cheers,
Greg
=C2=A0
<= /div>
--000000000000321aac064a02103a--