-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpcc: use multiple column families to avoid contention
This commit adds multiple column families to the `warehouse`, `district`, and `customer` tables. These column families split static columns up from columns that are modified by transactions. This effectively removes all contention points between the `NewOrder` and `Payment` transactions. The transactions will still contend with other instances of their same txn type, but that's less of an issue because they should end up being serialized early on, meaning than intra-txn contention should rarely lead to transaction retries (for instance, NewOrder serializes on district.d_next_o_id immediately). These transactions are run about 90% of the time, so this should be a performance win, especially without wait times. Release justification: testing only
- Loading branch information
1 parent
410616f
commit 6b11918
Showing
6 changed files
with
263 additions
and
243 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
Oops, something went wrong.