-
Notifications
You must be signed in to change notification settings - Fork 4.1k
server: separate config defaults for serverless vs dedicated/SH secondary tenants #94856
Copy link
Copy link
Closed
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)GA-blockerT-multitenantIssues owned by the multi-tenant virtual teamIssues owned by the multi-tenant virtual teambranch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.v23.1.2
Description
We've discovered a number of configuration / tuning knobs which we want to be different when running multi-tenancy in CC dedicated / self-hosted, vs in Serverless. (partial list below)
There should be a convenient way to initialize a secondary tenant with one set of defaults vs another.
A proposal on the table is to use "tenant templates" (like pg already has db templates).
Partial list (not exhaustive):
- tenant name
- special capabilities
- cluster settings
spanconfig.tenant_limitkv.tenant_rate_limiter.*spanconfig.tenant_coalesce_adjacent.enabled(maybe)sql.schema.test_object_generator.enabledsql.distsql.direct_columnar_scans.enabled(being introduced in sql,storage: add support for COL_BATCH_RESPONSE scan format #94438)- helps all TPC-H queries with shared process multitenancy
- some microbenchmarks (less data processed) can get 5-10% slowdown (30% worst case)
- seems to be most useful for OLAP-y (query accesses multiple rows, fewer columns per row than the table schema)
Jira issue: CRDB-23191
Epic: CRDB-23559
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)GA-blockerT-multitenantIssues owned by the multi-tenant virtual teamIssues owned by the multi-tenant virtual teambranch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.v23.1.2