Re: Does the delete+insert is fater and less cpu consumer than update?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does the delete+insert is fater and less cpu consumer than update?
Дата
Msg-id 25846.1513290776@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Does the delete+insert is fater and less cpu consumer than update?  (hmidi slim <hmidi.slim2@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: hmidi slim
Дата:
Сообщение: Does the delete+insert is fater and less cpu consumer than update?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Does the delete+insert is fater and less cpu consumer than update?