-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump down partition locality from city to region #4
Comments
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently partition on the
city
column, which adds an unnecessary level of complexity to partitioning statements.To simplify this, we should:
region
column to each table in the database.e.g., "
region STRING
"CHECK
constraint on theregion
column.e.g., "
CONSTRAINT check_region CHECK (region IN ('us-west','us-central','us-east','europe-west'))
region
column.e.g., "
PARTITION BY LIST (region) ( PARTITION us_west VALUES in (us-west),
etcThe text was updated successfully, but these errors were encountered: