-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(553): Optimize index joins for incremental evaluation
Fixes #553. Before this change, we would use the same plan for both query and incremental eval. This is problematic for index joins. In particular, table sizes are drastically different under incremental eval. After this change, joins are reordered for incremental eval.
- Loading branch information
1 parent
7058a10
commit 5a23fad
Showing
5 changed files
with
286 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
5a23fad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark results
Benchmark Report
Legend:
load
: number of rows pre-loaded into the databasecount
: number of rows touched by the transactionunique
: a single index on theid
columnnon_unique
: no indexesmulti_index
: non-unique index on every columnperson(id: u32, name: String, age: u64)
location(id: u32, x: u64, y: u64)
All throughputs are single-threaded.
Empty transaction
Single-row insertions
Multi-row insertions
Full table iterate
Find unique key
Filter
Serialize
Module: invoke with large arguments
Module: print bulk
Remaining benchmarks