Search Postgresql Archives

Re: DELETE Query Hang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux