Re: Does the delete+insert is fater and less cpu consumer than update? - Mailing list pgsql-general

From Tom Lane
Subject Re: Does the delete+insert is fater and less cpu consumer than update?
Date
Msg-id 25846.1513290776@sss.pgh.pa.us
Whole thread Raw
In response to Does the delete+insert is fater and less cpu consumer than update?  (hmidi slim <hmidi.slim2@gmail.com>)
List pgsql-general
hmidi slim <hmidi.slim2@gmail.com> writes:
> I used an update query to update the modified rows, however when I search
> on the net I found that some people said that update is cpu intensive
> consumer and delete+insert is faster.

It's possible that there are RDBMSes somewhere for which that is true.
But as far as Postgres is concerned, it's nonsense.

            regards, tom lane


pgsql-general by date:

Previous
From: hmidi slim
Date:
Subject: Does the delete+insert is fater and less cpu consumer than update?
Next
From: "David G. Johnston"
Date:
Subject: Re: Does the delete+insert is fater and less cpu consumer than update?