This repository has been archived by the owner on Jan 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: load indexes for TPC-H, 13x speedup on SF 0.1 (#131)
**Summary**: Now loading constraints + indexes (though constraints are temporarily broken) when loading data for TPC-H. **Demo**: Without constraints, TPC-H SF0.1 takes ~13s. With constraints, it takes ~1s. ![Screenshot 2024-03-22 at 17 30 15](https://github.com/cmu-db/optd/assets/20631215/39f8fd3e-84cc-47fc-8882-5002ef33d63d) ![Screenshot 2024-03-22 at 17 31 19](https://github.com/cmu-db/optd/assets/20631215/8759f6b7-a611-44de-83b3-d8eb12aa5952) **Details**: * Constraints file is from dbgym (is a private repo so I can't link it). * Note that constraints are currently broken so I commented it. Not adding constraints doesn't cause noticeable issues so I'm punting this to later. * Made `get_optd_root()` check that it's actually in the optd repo (and not the tpch-kit repo). * Added option to run commands in a directory instead of manually changing directory beforehand (which might cause us to CD into tpch-kit and mess up `get_optd_root()`).
- Loading branch information
1 parent
b2a4a77
commit 0efc874
Showing
3 changed files
with
64 additions
and
25 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