-
公开(公告)号:US12235840B2
公开(公告)日:2025-02-25
申请号:US18055502
申请日:2022-11-15
Applicant: Google LLC
Inventor: Lyric Pankaj Doshi , Eugene Brevdo , Campbell Bryce Fraser
IPC: G06F16/2453 , G06F11/34
Abstract: A method includes receiving a database query requesting a database to conditionally return one or more data blocks. The database is stored on memory hardware in communication with the data processing hardware and the database query includes a plurality of parameters characterizing the database query. The method includes generating a set of query plans. Each query plan in the set of query plans is configured to execute the database query using a different order of operations. The method includes training a model using historical database queries and generating, using the trained model, a query plan score for each query plan in the set of query plans. The method includes selecting, using the query plan score of each query plan in the set of query plans, a query plan from the set of query plans. The method also includes executing the database query using the selected query plan.
-
公开(公告)号:US20250165470A1
公开(公告)日:2025-05-22
申请号:US19035387
申请日:2025-01-23
Applicant: Google LLC
Inventor: Lyric Pankaj Doshi , Eugene Brevdo , Campbell Bryce Fraser
IPC: G06F16/2453 , G06F11/34
Abstract: A method includes receiving a database query requesting a database to conditionally return one or more data blocks. The database is stored on memory hardware in communication with the data processing hardware and the database query includes a plurality of parameters characterizing the database query. The method includes generating a set of query plans. Each query plan in the set of query plans is configured to execute the database query using a different order of operations. The method includes training a model using historical database queries and generating, using the trained model, a query plan score for each query plan in the set of query plans. The method includes selecting, using the query plan score of each query plan in the set of query plans, a query plan from the set of query plans. The method also includes executing the database query using the selected query plan.
-
公开(公告)号:US20230153303A1
公开(公告)日:2023-05-18
申请号:US18055502
申请日:2022-11-15
Applicant: Google LLC
Inventor: Lyric Pankaj Doshi , Eugene Brevdo , Campbell Bryce Fraser
IPC: G06F16/2453 , G06F11/34
CPC classification number: G06F16/24542 , G06F11/3419
Abstract: A method includes receiving a database query requesting a database to conditionally return one or more data blocks. The database is stored on memory hardware in communication with the data processing hardware and the database query includes a plurality of parameters characterizing the database query. The method includes generating a set of query plans. Each query plan in the set of query plans is configured to execute the database query using a different order of operations. The method includes training a model using historical database queries and generating, using the trained model, a query plan score for each query plan in the set of query plans. The method includes selecting, using the query plan score of each query plan in the set of query plans, a query plan from the set of query plans. The method also includes executing the database query using the selected query plan.
-
-