-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize tuple access and make room for page-outs
Remove the pointless duplication of TupleRef & Tuple, and then makes TupleRef hold a pointer to a backing "SlotPtr" entity which points directly to the actual underlying tuple data in the buffer pool. This acts both as an optimization -- avoiding a call through to the "slotbox" each time to retrieve a tuple's value and giving a 20% improvement in throughput in the db benchmark -- and a potential future site for handling the swizzling of paged-out tuples. When paging out, it should be possible to rewrite the SlotPtr at will, to handle the movement of pages in and out of the buffer pool.
- Loading branch information
Showing
16 changed files
with
636 additions
and
455 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
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.