pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Naveen Kumar <naveenchowdaryon@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Create Materialized View from postgresql_fdw hang
Date: Thu, 04 Apr 2024 19:52:04 +0200
Message-ID: <cedd9bc4b8f02e84fb321dda448dc5480fe93115.camel@cybertec.at> (raw)
In-Reply-To: <CADk76jpVFzaNFwc6oxfJO8wfVR-2XtRskmrNNkyPEWy3i21iJQ@mail.gmail.com>
References: <CADk76jpVFzaNFwc6oxfJO8wfVR-2XtRskmrNNkyPEWy3i21iJQ@mail.gmail.com>

On Thu, 2024-04-04 at 15:07 +0300, Naveen Kumar wrote:
> I am trying to create a materialized view with postgresql_fdw, and it hangs for hours.
> In pg_stat_activity I am seeing wait_event_type and wait_event Extension.

Do you *always* see that wait event or only occasionally?

Occasional occurrences could be normal; in that case, it is
probably the query that takes a long time.

Yours,
Laurenz Albe





view thread (5+ messages)  latest in thread

Message-ID: <cedd9bc4b8f02e84fb321dda448dc5480fe93115.camel@cybertec.at>
Permalink:  ../cedd9bc4b8f02e84fb321dda448dc5480fe93115.camel@cybertec.at/
Also on:    postgresql.org/message-id/cedd9bc4b8f02e84fb321dda448dc5480fe93115.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, naveenchowdaryon@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Create Materialized View from postgresql_fdw hang
  In-Reply-To: <cedd9bc4b8f02e84fb321dda448dc5480fe93115.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox