-
公开(公告)号:US20250165473A1
公开(公告)日:2025-05-22
申请号:US18515162
申请日:2023-11-20
Applicant: Google LLC
Inventor: SUZHEN LIN , Edwin Howard Jacox, JR.
IPC: G06F16/2455 , G06F11/34
Abstract: A computer-implemented method for efficiently capturing statistics on long running queries includes obtaining a query and obtaining a linked list including a plurality of records, each record in the plurality of records including respective query execution statistics. The method includes executing the query and, during execution of the query, obtaining new query execution statistics associated with the executing query. The method includes creating a new record in the linked list, the new record including the new query execution statistics. The method includes determining that a query execution duration of the query satisfies a query execution threshold. Further, the method includes identifying each record in the linked list that corresponds to the query. The method includes storing, for each respective identified record in the linked list that corresponds to the query, the respective query execution statistics of the respective identified record in a statistics database.