IP Library Granted Patent US 10,885,027
Granted Patent B2
US 10,885,027 · App. 15/684,273 · Granted Jan 5, 2021

Progressive processing for querying system behavior

Inventors: Xusheng Xiao (Cleveland, OH); Zhichun Li (Princeton, NJ); Mu Zhang (Plainsboro, NJ); Guofei Jiang (Princeton, NJ); Jiaping Gui (Los Angeles, CA)
G06F16/24532G06F16/245G06F16/24535G06F16/24545G06F21/57G06F21/6227G06F16/22G06F2221/034
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,885,027
App. No.
15/684,273
Granted
Jan 5, 2021
Kind
B2
Abstract

Methods for querying a database and database systems include optimizing a database query for parallel execution using spatial and temporal information relating to elements in the database, the optimized database query being split into sub-queries with sub-queries being divided spatially according to host and temporally according to time window. The sub-queries are executed in parallel. The results of the database query are outputted progressively.

Claims (16)

1. A method for querying a database, comprising:

optimizing a database query that includes an update frequency for parallel execution using spatial and temporal information relating to elements in the database, by splitting the database query into sub-queries in accordance with a sequential workload partitioning with initialization cost strategy, computing initialization costs as separate workloads for the purpose of partitioning, the optimized database query being split into a plurality of sub-queries that have an expected execution time based on the update frequency, with sub-queries being divided spatially according to host and temporally according to time window;

executing the sub-queries in parallel;

determining actual execution information for executed sub-queries;

adjusting an event processing rate for subsequent sub-queries based on the determined actual execution information for the executed sub-queries; and

outputting progressive results of the database query according to the update frequency.

2. The method of claim 1 , wherein the database query further comprises a subject, an operation, and an object that the subject operates on.

3. The method of claim 1 , wherein outputting progressive results of the database query comprises outputting results from executed sub-queries.

4. The method of claim 1 , wherein the sequential workload partitioning with initialization cost strategy is online adaptive workload prediction partitioning.

5. A database system, comprising:

a query optimizing module comprising a processor configured to optimize a database query that includes an update frequency for parallel execution using spatial and temporal information relating to elements in the database, to split the database query into sub-queries in accordance with a sequential workload partitioning with initialization cost strategy, to compute initialization costs as separate workloads for the purpose of partitioning, the optimized database query being split into a plurality of sub-queries that have an expected execution time based on the update frequency, with sub-queries being divided spatially according to host and temporally according to time window, to determine actual execution information for executed sub-queries, and to adjust an event processing rate for subsequent sub-queries based on the determined actual execution information for the executed sub-queries;

a parallel execution module configured to execute the sub-queries and new sub-queries in parallel; and

a results module configured to output progressive results of the database query according to the update frequency.

6. The system of claim 5 , wherein the database query further comprises a subject, an operation, and an object that the subject operates on.

7. The system of claim 5 , wherein the results module is further configured to output progressive results from executed sub-queries.

8. The system of claim 5 , wherein the sequential workload partitioning with initialization cost strategy is online adaptive workload prediction partitioning.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 24, 2020
From: NEC LABORATORIES AMERICA, INC.
To: NEC CORPORATION
Reel/Frame 053866/0854 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2017
From: XIAO, XUSHENG; LI, ZHICHUN; ZHANG, MU; JIANG, GUOFEI; GUI, JIAPING
To: NEC LABORATORIES AMERICA, INC.
Reel/Frame 043373/0141 →