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
As conversion from TIMESTAMP to TIME (both WITH TIME ZONE) is not a trivial operation, caching its converted value in the request makes ~15x improvement in its performance in my tests.
Test case:
execute block
as
declare n integer = 1;
declare d time with time zone;
begin
while (n < 1000000)
do
begin
n = n + 1;
d = current_time;
end
end!
The text was updated successfully, but these errors were encountered:
As conversion from TIMESTAMP to TIME (both WITH TIME ZONE) is not a trivial operation, caching its converted value in the request makes ~15x improvement in its performance in my tests.
Test case:
The text was updated successfully, but these errors were encountered: