Re: Is the Halloween problem an issue in Postgres

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Is the Halloween problem an issue in Postgres
Дата
Msg-id 5f7e3d0e-52da-c5e4-72d6-edcff340d710@gmx.net
обсуждение исходный текст
Ответ на Is the Halloween problem an issue in Postgres  (guyren@icloud.com)
Ответы Re: Is the Halloween problem an issue in Postgres
Re: Is the Halloween problem an issue in Postgres
Список pgsql-general
guyren@icloud.com schrieb am 02.12.2020 um 21:27:
> The Halloween problem is that it is a challenge for the database if
> you’re updating a field that is also in the WHERE clause of the same
> query.
>
> I just saw a presentation from someone about how in SQL Server he
> recommended writing changes to a temp table and then writing them to
> the table as being much more efficient.

It sounds strange to me, that this _is_ actually a problem.

Why exactly is that a problem in SQL Server?
And what are the consequences if you do it nevertheless.




В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is the Halloween problem an issue in Postgres
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Is the Halloween problem an issue in Postgres