-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3365: [Colocation] Use 4 byte PG table ID as dockey prefix
Summary: Currently, colocated system tables use 16 byte cotable ID as doc key prefix. For colocated user tables, we want to optimize the storage space and use 4 byte PG table ID instead. This diff includes: 1) User colocated tables will use 4 byte PG table ID. This uses a new ValueTypeChar for PG table OIDs. 2) System tables will continue to use 16 byte cotable ID for backward compatibility. Test Plan: Jenkins Added pgtable ID tests to doc_key-test. Reviewers: mikhail, jason Reviewed By: jason Subscribers: yql, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D7817
- Loading branch information
Showing
19 changed files
with
352 additions
and
77 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
Oops, something went wrong.