Re: Fwd: Regarding tables detach concurrently with run_maintenance_proc()

From: Muhammad Imtiaz <imtiazpg712(at)gmail(dot)com>
To: Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>
Cc: Christoph Berg <myon(at)debian(dot)org>, pgsql-general(at)lists(dot)postgresql(dot)org, pgsql-in-general(at)postgresql(dot)org
Subject: Re: Fwd: Regarding tables detach concurrently with run_maintenance_proc()
Date: 2024-07-22 04:59:53
Message-ID: CACW1Ly0YKoPXLcy6wmOhZUtGX-pWpT12zS10y=MAja3oB6_Dug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-in-general

Hi ,

You can consider the pg_pathman extension.

*Muhammad Imtiaz*

*PostgreSQL Technical Support Lead *
*/ Pakistan R&D*
*Mobile: +923345072521*
*Email: imtiaz(dot)m(at)bitnine(dot)net <imtiaz(dot)m(at)bitnine(dot)net>*

On Fri, Jul 19, 2024 at 7:55 PM Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>
wrote:

>
>
> On Fri, Jul 19, 2024 at 7:55 PM Christoph Berg <myon(at)debian(dot)org> wrote:
>
>> Re: Durgamahesh Manne
>> > with pg_partman By default proc() does not detach tables concurrently.
>> How
>> > do we implement tables detach concurrently without blocking other
>> sessions
>> > Here queries not using date column to detach tables with
>> > run_maintenance_proc() which is not using concurrently based on the
>> > retention policy which leads to scan all available child tables hence
>> need
>> > to trigger this proc with concurrently option to avoid blocking other
>> child
>> > tables beyond rentention policy while running statements on them
>>
>> You might have more success by filing pg_partman issues at
>> https://github.com/pgpartman/pg_partman/issues
>>
>> > Do we have any other alternative rather than using pg_partman()?
>>
>> Well you can just run the same commands manually that pg_partman would
>> run.
>>
>> Christoph
>>
>
> Hi
> You might have more success by filing pg_partman issues at
> https://github.com/pgpartman/pg_partman/issues >>> okay
> My intention is to have any other extension other than pg_partman to
> manage table partitions manually
>
> Regards
> Durga Mahesh
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message sivapostgres@yahoo.com 2024-07-22 05:08:01 Re: Re. Select with where condition times out
Previous Message sivapostgres@yahoo.com 2024-07-22 04:46:13 Re: Re. Select with where condition times out

Browse pgsql-in-general by date

  From Date Subject
Next Message khan Affan 2024-07-22 10:04:51 Re: Regarding publish_via_partiton_root with pglogical
Previous Message Durgamahesh Manne 2024-07-20 07:01:04 Regarding publish_via_partiton_root with pglogical