Re: DELETE Query Hang - Mailing list pgsql-general

From Rob Sargent
Subject Re: DELETE Query Hang
Date
Msg-id B26C11D8-A44F-4C9F-9D2B-574EBDF0DE90@gmail.com
Whole thread Raw
In response to Re: DELETE Query Hang  (DrakoRod <drakoflames@hotmail.com>)
List pgsql-general

> On Nov 12, 2019, at 4:01 PM, DrakoRod <drakoflames@hotmail.com> wrote:
>
> I understand, yep is a 9.5 version, Can I use query like this to execute
> smaller batches?:
>
> DELETE FROM my_table
> WHERE id IN (
>    SELECT id
>    FROM logtable
>    LIMIT 10
> );
>
> Thanks
>

I think you still want to qualify as you had previously.. id <> 230 or something.

I’m not saying this is faster, in total, but you will get through!

>
>
>
> -----
> Dame un poco de fe, eso me bastará.
> Rozvo Ware Solutions
> --
> Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
>
>




pgsql-general by date:

Previous
From: DrakoRod
Date:
Subject: Re: DELETE Query Hang
Next
From: Andreas Joseph Krogh
Date:
Subject: Sv: DELETE Query Hang