Re: update faster way

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: update faster way
Date: 2024-09-14 14:47:28
Message-ID: CANzqJaD-dmM6yi+OL0kcMDyeb4C=KmHeiKPqNThmYFd15NQwug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 13, 2024 at 11:59 PM yudhi s <learnerdatabase99(at)gmail(dot)com>
wrote:

>
>>
>> Do you have any indexes?
>> If not - you should, if yes - what are they?
>>
>>
>>
> Yes we have a primary key on this table which is on a UUID type column and
> also we have other indexes in other timestamp columns . But how is this
> going to help as we are going to update almost all the rows in the table?
>

But do you have an index on tab_part1.column1?

And how slow is subquery?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message yudhi s 2024-09-14 14:56:32 Re: update faster way
Previous Message Peter J. Holzer 2024-09-14 11:24:51 Re: update faster way