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.94.2) (envelope-from ) id 1vBzYv-007gEm-EW for pgsql-general@arkaria.postgresql.org; Thu, 23 Oct 2025 17:57:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vBzYt-00Ad8g-FP for pgsql-general@arkaria.postgresql.org; Thu, 23 Oct 2025 17:57:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vBzYt-00Ad8Y-3D for pgsql-general@lists.postgresql.org; Thu, 23 Oct 2025 17:57:18 +0000 Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vBzYq-003OPq-1C for pgsql-general@postgresql.org; Thu, 23 Oct 2025 17:57:17 +0000 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-3c9859913d0so642020fac.0 for ; Thu, 23 Oct 2025 10:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761242230; x=1761847030; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=JQTGkw3t9+UkGAGmLzZk6uXE9tFvEgt8CTPxdhInm+A=; b=MvfTB/P4qOmyDZ76wX7vL2ik8ZY8OYU98PWaL8On7sx/MYFuqpu8Yt8EYwfFB6spOM nrvMDWv55FiUoe0fW1feZjt9WvJByAMw+thoJD3htql1xmKonbEurBj67PZmkDSfQXzr ykEtLmJkwzFLqkwlVx0lhUQmwxWn+vwUWv8C94ra4OTH0CpqOm6r0rP6BZpk552U/2uN /lVad12+u7qdjjQPj+UxWS02VruK+JHTzaQiJ8e8B23lYFN/aPdeQ479dPI8iBCPoq1x geUCAHtBlfDhG99m2mwgtNzbknsBYYv9G/Ok/BO/anJcsoc3NwT+2m6Q+Y4XFQLuHX/Z QsDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761242230; x=1761847030; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JQTGkw3t9+UkGAGmLzZk6uXE9tFvEgt8CTPxdhInm+A=; b=S7sKz92pVOGbIBnGAWfSPeytXE4+qbK8q5ygd+2VLorhqa38FvrKKHoiWNbiC5y1nJ eCCerXDk4y50dO+g0mvAzLcJv5oaBiuReb+PY+sA4pMNUkKjWB80239e2+JDa3d6Fxdz qzpKG44RtpbhUznwzCOimR5sEQOQTRQlRjVsFuVZEmgqbGYma4zFDYiUHkVmfVsVg4nC ZPz3+U9CJQUDRWP3wXQTAZg4153MAfPccG1cUjCyEkVJueBmtcVDBkphGUY0X5C9xEJd OtD4zHji7davN8X+E/+Fmuk+fwAgQoPeHIoX17BBFCwf41N7hmwFOE6r30WGxIG1vOs9 mJvQ== X-Gm-Message-State: AOJu0Yy4Rd93jms+81x939XavKCY1nLNYymN7RQhTTJIJtLgLwMmkkVL ZKo3em7swA2Scyet2NEyfO4h5LQq1+VptYUsrVNJIgXR2AtgwxgXG9Cc0wc86UrHG8jE3hYo8x/ pSFS1xf+qeKuRkTREJyoWlwDhPIu680y32hyD X-Gm-Gg: ASbGnctxIO6NWBNHknFhmuRrwJqNiu3Jp6dU+/ZuDLhbqJlnzuQ5el6AVmdtG1JVSJt 7luEFd7KE5x1FVEGR32nhIk/2u1rewfmNocjAwEPckuTwhjwdfAs6lgUgTxxNGpbM9UjAPu/yIm Gn5+k943ilC5F744CJkOM5VXxdqZ5zFf0926o+WeBn7D0y1+5ks6VCknMaFtDHeV58o67tEX8tg sv5KBsUSXxidY/b2K19fOmp+aWyFKXslJm5oT2zhIkKPq0jkMv6tg5wJpnGpnApsR1sNPhy X-Google-Smtp-Source: AGHT+IG/204EQhukZRprToTd49Lbb9X8UYZsDO62AjA+nYGIqVg46Nua14AObSCnrnf2tDoYsi8J3RmIMFNrq2ooy+I= X-Received: by 2002:a05:687c:2c16:b0:3cd:6ca3:da04 with SMTP id 586e51a60fabf-3cd6ca3dc3cmr6984651fac.26.1761242230096; Thu, 23 Oct 2025 10:57:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Thu, 23 Oct 2025 13:56:58 -0400 X-Gm-Features: AS18NWBNogBWclDjWq0tiTX7q4Aueg5rhSqur7GxKizWWjSVQsvzNZfes__Cxcw Message-ID: Subject: Re: Index corruption issue after migration from RHEL 7 to RHEL 9 (PostgreSQL 11 streaming replication) To: pgsql-general Content-Type: multipart/alternative; boundary="0000000000007d07460641d72980" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007d07460641d72980 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Oct 23, 2025 at 11:21=E2=80=AFAM Greg Sabino Mullane wrote: > >> - >> >> *Acceptable downtime:* ~1 day >> - >> >> *Logical replication:* Not feasible due to the number of schemas, >> tables, and overall data volume >> >> I'm not sure why this is not feasible. Can you expand on this? > > * For a *15 TB database* with roughly *1 day downtime*, what would be the >> most reliable approach to migrate from *RHEL 7 =E2=86=92 RHEL 9* while a= voiding >> collation/index corruption issues? > > > pg_dump is the most reliable, and the slowest. Keep in mind that only the > actual data needs to move over (not the indexes, which get rebuilt after > the data is loaded). You could also mix-n-match pg_logical and pg_dump if > you have a few tables that are super large. Whether either approach fits = in > your 24 hour window is hard to say without you running some tests. > Last year. I did a dump/restore of a 4.3TB (inclusive of indices; heavy on poorly-compressible BYTEA) database from RHEL6 + 9.6.24 to RHEL 8 + 14.latest. It took just under 11 hours. Gzip Level =3D 1 Remote database size: 4307406 MB RemoteThreads: 16 LocalThreads: 24 SharedBuffs: 32 GB MaintWorkMem: 3 GB CheckPoint: 30 min MaxWalSize: 36 GB WalBuffs: 128 MB Both systems were SAN-attached ESX VMs on the same virtual network --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --0000000000007d07460641d72980 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 23, 2025 at 11:21=E2=80=AFAM = Greg Sabino Mullane <htamfids@gmai= l.com> wrote:
=
  • Acceptable downtime: ~1 day

  • Logical replication: Not feasible due to the number of = schemas, tables, and overall data volume

I'm not sure why this is not feasible. Can you expand on= this?

= --
D= eath to <Redacted>, and butter sauce.
Don't boil me, I'm = still alive.
<Redacted> lobster!
=
--0000000000007d07460641d72980--