Re: DELETE Query Hang

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: DrakoRod <drakoflames(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: DELETE Query Hang
Date: 2019-11-12 23:04:16
Message-ID: B26C11D8-A44F-4C9F-9D2B-574EBDF0DE90@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Nov 12, 2019, at 4:01 PM, DrakoRod <drakoflames(at)hotmail(dot)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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2019-11-12 23:20:36 Sv: DELETE Query Hang
Previous Message DrakoRod 2019-11-12 23:01:21 Re: DELETE Query Hang