public inbox for [email protected]
help / color / mirror / Atom feedRe: update faster way
2+ messages / 2 participants
[nested] [flat]
* Re: update faster way
@ 2024-09-14 03:58 yudhi s <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: yudhi s @ 2024-09-14 03:58 UTC (permalink / raw)
To: Igor Korot <[email protected]>; +Cc: pgsql-general <[email protected]>
>
>
>
> 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?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: update faster way
@ 2024-09-14 14:47 Ron Johnson <[email protected]>
parent: yudhi s <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Ron Johnson @ 2024-09-14 14:47 UTC (permalink / raw)
To: pgsql-general
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?
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-09-14 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-14 03:58 Re: update faster way yudhi s <[email protected]>
2024-09-14 14:47 ` Ron Johnson <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox