public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: update faster way
Date: Sat, 14 Sep 2024 10:47:28 -0400
Message-ID: <CANzqJaD-dmM6yi+OL0kcMDyeb4C=KmHeiKPqNThmYFd15NQwug@mail.gmail.com> (raw)
In-Reply-To: <CAEzWdqdMvMZx26orbRSbNH_uvZLon16R79b23M-H1D8Ky62Hbw@mail.gmail.com>
References: <CAEzWdqd-22B-bpVdT3yzegiOig9zvJnfJvi=GOMFfHT-Jg8CgQ@mail.gmail.com>
<CA+FnnTxqBu+eM1G-8LQhGXEqSdndUYPEk6rc4zSspCivRf9CZQ@mail.gmail.com>
<CAEzWdqdMvMZx26orbRSbNH_uvZLon16R79b23M-H1D8Ky62Hbw@mail.gmail.com>
On Fri, Sep 13, 2024 at 11:59 PM yudhi s <[email protected]>
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?
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: update faster way
In-Reply-To: <CANzqJaD-dmM6yi+OL0kcMDyeb4C=KmHeiKPqNThmYFd15NQwug@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox