Re: DELETE Query Hang

Поиск
Список
Период
Сортировка
Искать
От
Rob Sargent
Тема
Re: DELETE Query Hang
Дата
Msg-id
B26C11D8-A44F-4C9F-9D2B-574EBDF0DE90@gmail.com
Ответ на
Список
Дерево обсуждения
DELETE Query Hang DrakoRod <drakoflames@hotmail.com>
Re: DELETE Query Hang Rob Sargent <robjsargent@gmail.com>
Re: DELETE Query Hang DrakoRod <drakoflames@hotmail.com>
Re: DELETE Query Hang Rob Sargent <robjsargent@gmail.com>
Sv: DELETE Query Hang Andreas Joseph Krogh <andreas@visena.com>


> On Nov 12, 2019, at 4:01 PM, DrakoRod  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
FAQ