US 12,216,649 B2
Copy avoidance via static analysis for DBMS querying
Altin Alickaj, Zurich (CH); Alexander Ulrich, Freiburg (DE); and Lukas Stadler, Linz (AT)
Assigned to Oracle International Corporation, Redwood Shores, CA (US)
Filed by Oracle International Corporation, Redwood Shores, CA (US)
Filed on Feb. 27, 2024, as Appl. No. 18/589,052.
Application 18/589,052 is a continuation of application No. 18/109,781, filed on Feb. 14, 2023, granted, now 11,947,531.
Prior Publication US 2024/0273091 A1, Aug. 15, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/22 (2019.01); G06F 16/21 (2019.01); G06F 16/242 (2019.01)
CPC G06F 16/2443 (2019.01) [G06F 16/217 (2019.01); G06F 16/2219 (2019.01)] 24 Claims
OG exemplary drawing
 
1. A method comprising:
configuring, in a polyglot database management system (DBMS) that contains a guest language runtime environment, a database buffer that the guest language runtime environment does not manage;
invoking, in the polyglot DBMS, logic that is defined in a guest language to retrieve, into the database buffer that the guest language runtime environment does not manage, a value stored in a database in the polyglot DBMS, wherein the logic contains a plurality of database invocations;
assigning a color respectively to each database invocation of the plurality of database invocations; and
executing, based on the colors of the database invocations, the logic without, after the retrieved value is overwritten in the database buffer, retaining a retained copy of the retrieved value in a memory region that the guest language runtime environment manages.