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 1vvkvZ-000HTx-2B for pgsql-general@arkaria.postgresql.org; Thu, 26 Feb 2026 23:37:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvkvY-00GK86-1n for pgsql-general@arkaria.postgresql.org; Thu, 26 Feb 2026 23:37:52 +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 1vvkvY-00GK7y-0X for pgsql-general@lists.postgresql.org; Thu, 26 Feb 2026 23:37:52 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vvkvV-00000001TVv-1Dh6 for pgsql-general@lists.postgresql.org; Thu, 26 Feb 2026 23:37:51 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-389e139ee5eso13138501fa.0 for ; Thu, 26 Feb 2026 15:37:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772149068; cv=none; d=google.com; s=arc-20240605; b=Jn+PZMobyOPn3mgQLSrZAPaVRxqe1R6yMCO1629QHCdIM9iluap28Au5zNRvIaK7Zf yg6zKCDgzMDxOI4CKSDvt5PxZqpc15AQcFamkoBf4XhhL1OAXBDB46SyPKHpCuC6XpOD 3nnqSYOjKpVv6G3sZ4ENfswqckkn7vBCWepHl9LHXfi9AkXFkSl3Zif+e+kdHtx78lkt iYCkFCIy7B1HjJSqucOe36mQ/jK8YKv76xwskRidEUrLr/R0BhjK28zl9gAzPIjzyg8m wetjV9NkWaon69m19vCQeCqItsvHVRCtYZG6MifuArAigLkyKMZAUEMxtZZg7t3H/d1f 8fxA== 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=hvK0qbsqP9ID6jQU8v0oRmVWzMokDzSn5Cwjyor5oNI=; fh=xBf723vKtoVNM9Vu4Q2JI2N8bTVz6cGesqnYlEyaNGU=; b=b6HadtqbYqIPWn24oK6U5rLOODuaGeTR8u1rodVd2fPiRKNzUVK7MjYTW4ETPbJUS9 EGxWl8sXz8dWHdI3rPJQUP91INqRBSODZDvCpOwQDB0cNUYHFMLN+7Gil2ten33h1b5U 9szaUJqIBE4H3TsyfmczCPu99/ZsQ3rGP3CkjB4PABPPfYw37WOBuEORE2UZFk/LBesl KEp4EM3tWzjp33WWbYGcAMFqRWGzKcetNK2fZJ54grALywRM/7bfDvg9o8DMt68rNUFU xnBGeGkl9hq/xo6dg4WJF2QFfiLUo/YT9mnwErdeoJ5PDD18GYwLpc9EbYCWfb/KHV4n 25yg==; darn=lists.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=1772149068; x=1772753868; darn=lists.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=hvK0qbsqP9ID6jQU8v0oRmVWzMokDzSn5Cwjyor5oNI=; b=nCAxU3g68yS60/5Z2xovpxbxSYZrWZ728ZAoZ7MiYUBnEtkDJS1T6GkQp3NDyLRks6 cgS70jnW/9oDD84gvtnzYm+D5BYiGdba2r14gsaYRhguaAXzgcrk/vXHX/kIestVTyUK Rq4fs+31Z4DtkU1NWGhfcaVfHZwusATNdPsFlkmq0lgfxBZGIonvdmh+x/RDb41RWU4l PAONdNAZCr8axaJxJIUPUBqVboqcVlbP2LqJHPicrqfwMOcrub0Sh1uOviaTKZmy1OaB qKHqfCq+cz8pe287ivtlfJplaqBl6dMUeP9OW5EG517XdOul1kzjZarVl8/Vwa6oCLus S4/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772149068; x=1772753868; 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=hvK0qbsqP9ID6jQU8v0oRmVWzMokDzSn5Cwjyor5oNI=; b=eREe1ZEazHk47+O9/lsCFCHPtv+VKQEgO4FlBfOjSkcrQgookwqh9y2QcdUmeYi13V DjO8FTVeD2mCZwaBokDVw30/AdNsg7yoPBE6Hs6ofh0tR8h9gF4tRLfH7nEJAmaESQTE oP8Ed9Fg2eKBZKwNgg0v4YfxiRd9F/1yUKtmiI2J7p1hJ9of4yxzMT3z8ox7LblLnUnP jF2b3+aIXEGgqPMp2bV8izf54o26Tb1w9qf2yFk9djnzloiln6QTVX5yxWBRYlitttOO zQ3H6TTY92u1QUFJ4JtDUWaEbzOh1hBQYhSHm9e54Qjp3FHeZdIdbBY5eQudwKv6LteS nLFg== X-Gm-Message-State: AOJu0Yy9NnKwN1jXUeNcQ4hsBXd5uG4RiHxWYzzZDUFGpaXr8Vmetgu7 lkbsylIrKpIe9My3yOmnqhz0Omv6x/P9VH47jiVccH5c4Y2PjI7+tT+wQkq0C2TCjkN8VHY1MEu 85G/VxpNXBE02/dzZmEsnNd0qvdS0+M9R2w== X-Gm-Gg: ATEYQzw8VO7itAx/cfgaS7V+cR0rePQgyP1L0Iw9c2lwf6d3aKE6fcsrPYJ+TIziC+h gG95LqbEUM92Qsic8He1ZdzAd1EPw+0V7Uz5MGg9nXZqOS/sDFMCmUgfBoNT+6gQyRj4YB29G8J BrbXByMykoHvXGMaFcUeMVUxP/NiH9g3iDSPnCMUF5kYS2+1z6iuRL73eqn3HnAvZzW8pC6k1fA Ti5/gmSplbeYJWTtokq6e/H7MynW0/7H/7BoNPnNctFl8c3YR+cimRo2I5pJN6s1l0LYtOHseng tjux6YUBY9pyjn/TAwIU9hxws3kEY5wI7P0Bp/fLdUWNz96KDX0wtS6W5Jt2tsYQSZk= X-Received: by 2002:a2e:9610:0:b0:37a:45b0:467a with SMTP id 38308e7fff4ca-389ff116e40mr2867321fa.5.1772149067282; Thu, 26 Feb 2026 15:37:47 -0800 (PST) MIME-Version: 1.0 References: <7f97d4a8-1f3f-47b1-8c42-5e0b8c46d467@aklaver.com> In-Reply-To: <7f97d4a8-1f3f-47b1-8c42-5e0b8c46d467@aklaver.com> From: Michael Nolan Date: Thu, 26 Feb 2026 17:37:34 -0600 X-Gm-Features: AaiRm52fxFPYqhfX_IuyCiodS1I-1twXUAYIaCQ2tF0ZZ-40DL9S5wC6CVDClwU Message-ID: Subject: Re: Issue with refreshing materialized view from another system To: Adrian Klaver Cc: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000a4fef1064bc29b17" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000a4fef1064bc29b17 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My understanding is that the mysql server is at a Linode facility in PA, the current production postgres server is in Asheville NC, and the intended new server is a Azure server in the eastern US, not sure exactly where. The two small matviews refresh, the two bigger ones fail, so it seems size-related, which is why I was wondering if the settings might make a difference because this server isn't fully production-scale yet. But weve transferred 175 GB files to it in about 6 hours so I think the net connection itself is probably not the issue. Mike Nolan On Thu, Feb 26, 2026 at 4:11=E2=80=AFPM Adrian Klaver wrote: > On 2/26/26 1:59 PM, Michael Nolan wrote: > > We have a connection from a PostgreSQL server to a MySQL server which i= s > > used to update a materialized view on the PostgreSQL server from tables > > on the MySQL server (running CIVI-CRM, which may not be relevant.) > > > > We are trying to move the PostgreSQL server to a new cloud server. > > > > On the current production system, all the materialized views work, but > > the biggest of them can take about an hour. > > > > On the new system, the smallest of the materialized views works, but th= e > > larger ones all seem to time out. > > "... move the PostgreSQL server to a new cloud server", where is that > relative to the MySQL server compared to old Postgres server? > > > > > Could this be some kind of setting on PostgreSQL, like a memory or > > buffer issue? > > > > Mike Nolan > > htfoot@gmail.com > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > --000000000000a4fef1064bc29b17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My understanding is that the mysql server is at a Lin= ode facility in PA, the current production postgres server is in Asheville = NC, and the intended new server is a Azure server in the eastern US, not su= re exactly where.

The two small matviews refresh, = the two bigger ones fail, so it seems size-related, which is why I was wond= ering if the settings might make a difference because this server isn't= fully production-scale yet.=C2=A0 But weve=C2=A0transferred 175 GB files t= o it in about 6 hours so I think the net connection itself is probably not = the issue.

Mike Nolan

O= n Thu, Feb 26, 2026 at 4:11=E2=80=AFPM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 2/26/26 1:59 PM, Mic= hael Nolan wrote:
> We have a connection from a PostgreSQL server to a MySQL server which = is
> used to update a materialized view on the PostgreSQL server from table= s
> on the MySQL server (running CIVI-CRM, which may not be relevant.)
>
> We are trying to move the PostgreSQL server=C2=A0to a new cloud server= .
>
> On the current production system, all the materialized views work, but=
> the biggest of them can take about an hour.
>
> On the new system, the smallest of the materialized views works, but t= he
> larger ones all seem to time out.

"... move the PostgreSQL server to a new cloud server", where is = that
relative to the MySQL server compared to old Postgres server?

>
> Could this be some kind of setting on PostgreSQL, like a memory or > buffer issue?
>
> Mike Nolan
> htfoot@gmail.com= <mailto:htfoo= t@gmail.com>


--
Adrian Klaver
adrian.klave= r@aklaver.com
--000000000000a4fef1064bc29b17--