You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After introduction of time zones, request's cached timestamp started to be stored in the GMT time zone.
That made ~10x performance degradation to CURRENT_DATE, LOCALTIME and LOCALTIMESTAMP.
Test cases:
execute block
as
declare n integer = 1;
declare d date;
begin
while (n < 1000000)
do
begin
n = n + 1;
d = current_date;
end
end!
execute block
as
declare n integer = 1;
declare d time;
begin
while (n < 1000000)
do
begin
n = n + 1;
d = localtime;
end
end!
execute block
as
declare n integer = 1;
declare d timestamp;
begin
while (n < 1000000)
do
begin
n = n + 1;
d = localtimestamp;
end
end!
The text was updated successfully, but these errors were encountered:
After introduction of time zones, request's cached timestamp started to be stored in the GMT time zone.
That made ~10x performance degradation to CURRENT_DATE, LOCALTIME and LOCALTIMESTAMP.
Test cases:
The text was updated successfully, but these errors were encountered: