Re: Create Materialized View from postgresql_fdw hang

From: Naveen Kumar <naveenchowdaryon(at)gmail(dot)com>
To: jwiencek3 <jwiencek3(at)comcast(dot)net>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Create Materialized View from postgresql_fdw hang
Date: 2024-04-05 19:43:05
Message-ID: CADk76jpH9Oj=gNiG-a5mN4xHJ_Xz3mgh9MZ6=SsP3rxAcz8uyQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thanks.

On Fri, 5 Apr 2024 at 12:53 AM, jwiencek3 <jwiencek3(at)comcast(dot)net> wrote:

> You can probably check the size of the materialized view since they occupy
> physical space on disk. Periodic checking should show increase in size
>
>
>
> Sent via the Samsung Galaxy S22+ 5G, an AT&T 5G smartphone
>
>
> -------- Original message --------
> From: Naveen Kumar <naveenchowdaryon(at)gmail(dot)com>
> Date: 4/4/24 3:08 PM (GMT-05:00)
> To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
> Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
> Subject: Re: Create Materialized View from postgresql_fdw hang
>
> Hi Laurenz,
>
> Thanks for responding. Most of the time I am seeing wait event, same view
> if I create directly in source DB, it’s quick.
>
>
> Thanks & Regards,
> Naveen Kumar .M,
> Sr. PostgreSQL Database Administrator,
> Mobile: 7755929449.
>
>
>
> On Thu, 4 Apr 2024 at 8:52 PM, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
> wrote:
>
>> 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
>>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Johnson 2024-04-05 20:39:06 Re: Reg data purging/archiving
Previous Message srinivasan s 2024-04-05 19:13:55 Reg data purging/archiving