Re: DELETE Query Hang

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: DELETE Query Hang
Дата
Msg-id B26C11D8-A44F-4C9F-9D2B-574EBDF0DE90@gmail.com
обсуждение исходный текст
Ответ на Re: DELETE Query Hang  (DrakoRod <drakoflames@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: DrakoRod
Дата:
Сообщение: Re: DELETE Query Hang
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Sv: DELETE Query Hang