US 12,455,884 B2
Execution tracing for node cluster
Shao-Yuan Ho, San Jose, CA (US); Atul Jha, Fremont, CA (US); Mark Mears, Oakland, CA (US); and Thomas Fanghaenel, Oakland, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jan. 31, 2023, as Appl. No. 18/162,371.
Prior Publication US 2024/0256551 A1, Aug. 1, 2024
Int. Cl. G06F 7/00 (2006.01); G06F 16/2455 (2019.01)
CPC G06F 16/24561 (2019.01) 20 Claims
OG exemplary drawing
 
1. A method for tracing performance information at a first executor node that participates in an execution of a first database statement included in a database transaction that is being executed by a second executor node, the method comprising:
receiving, by the first executor node, a first request from the second executor node to perform one or more operations pertaining to the first database statement;
determining, by the first executor node, that the first request is an initial request received by the first executor node to perform work of the first database statement;
based on the determining, the first executor node storing, in association with the first database statement, first baseline information that is indicative of a first baseline state of one or more performance metrics;
after performing the one or more operations, the first executor node receiving a second request from the second executor node for the performance information;
deriving, by the first executor node, the performance information for the first database statement from a difference between a current state of the one or more performance metrics and the first baseline state, wherein the performance information is indicative of a performance of the first executor node in performing the work of the first database statement; and
providing, by the first executor node, a response to the second executor node that includes the performance information.