Re: When Update balloons memory

Поиск
Список
Период
Сортировка
От Vincent Veyron
Тема Re: When Update balloons memory
Дата
Msg-id 20211214165835.10070d2bc2a893a7e560e6bb@wanadoo.fr
обсуждение исходный текст
Ответ на Re: When Update balloons memory  (Klaudie Willis <Klaudie.Willis@protonmail.com>)
Ответы Re: When Update balloons memory  (Klaudie Willis <Klaudie.Willis@protonmail.com>)
Список pgsql-general
On Tue, 14 Dec 2021 08:16:08 +0000
Klaudie Willis <Klaudie.Willis@protonmail.com> wrote:

> CREATE INDEX partindx ON public.part_main USING btree ((actiondate)::date);  -- mem bug?

Nope, syntax error

ERROR:  syntax error at or near "::"
LINE 1: ...indx_1 ON public.part_main USING btree ((actiondate)::date);
                                                               ^


> -- CREATE INDEX partindx ON public.part_main USING btree (actiondate); -- no bug
> -- mem runaway follows
> update part_main set txid = txid + 1;
>
> Hope you can replicate it.
>

Can't replicate on my Intel(R) Core(TM) i5 CPU M 520  @ 2.40GHz with 2Go of RAM

time psql -c 'update part_main set txid = txid + 1' vv
UPDATE 31000000

real    24m39.594s
user    0m0.121s
sys    0m0.036s

--
                                        Bien à vous, Vincent Veyron

https://marica.fr
Gestion des contentieux juridiques, des contrats et des sinistres d'assurance



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: timestamp default current_timestamp not working
Следующее
От: Sanjay Minni
Дата:
Сообщение: Re: timestamp default current_timestamp not working