Keep cluster and member controls separate
AlloyDB mode and node-count controls belong to the AlloyDB target namespace. They are not generic tuning keys for Cloud SQL, Azure or other targets. A capacity choice is not a writer-role selector: the first accepted member creates the writer; later members create readers. Do not use member names, promotion tiers or an invented role tag to reorder that contract.
Example: create with native connections
For a disposable cluster, include these tags in its normalCreateDBCluster request. This is a tag fragment, not a complete provisioning command: network, credentials, capacity mappings and database creation arguments still come from your deployment configuration.
Example: give reporting its own capacity
Supposeorders-dashboard is already a one-node logical reader and a new orders-reporting reader should have three nodes. On the new reader’s normal CreateDBInstance request, these tags express that pool size and the relevant native-mode acknowledgements:
Example: choose compatibility connections deliberately
For a proxy-capable deployment, this is the cluster creation tag set:Tune parameters at the right scope
Tensor9 retains logical cluster/instance parameter groups and applies supported explicit overrides to the target’s native flags. Cluster settings affect members; instance overrides can specialize a member. Defaults are not the same as an explicit override, and a group description is not a live SQL reading. Before changing a parameter, record its engine family/version, target-supported values, units and restart behavior. A restart-required change is not made safe by asking for immediate application. Schedule and verify the affected member’s restart separately from the logical group edit. Use the application’s SQL role to inspect effective native values:Validate a reader-capacity change
1
Establish an isolated baseline
Use a disposable cluster with a copy of representative schema/data and no production writers. Record directed adapter, connection mode, member sizes, node counts, client endpoint assignment and application connection limits. Assign interactive traffic to
orders-dashboard and reports to orders-reporting explicitly.Set your own acceptance budgets for dashboard tail latency, reporting completion time, writer latency and total hourly spend. Do not use illustrative values from an example as service guarantees.2
Observe each pool separately
Configure protected PostgreSQL connection services A server address is a diagnostic observation, not a permanent member identity. Combine it with the configured logical endpoint and native pool monitoring. Verify the clients are actually using the intended endpoints.
orders-dashboard-test and orders-reporting-test for the disposable endpoints using the deployment’s approved TLS/authentication route. Inspect the role and session before sending traffic:3
Change one capacity dimension
Re-run the same bounded workload with one candidate change: reporting node count, reporting node size or application concurrency. Keep the dataset, query mix, dashboard traffic and writer traffic constant. Exercise both fresh and long-lived connections.Record connection wait, errors, query latency distribution and native per-pool CPU/memory/connection observations. Also inspect writer behavior. Extra reporting capacity is useful only if it improves the intended workload without violating the other acceptance budgets.
4
Test reconnect behavior and decide
In the disposable deployment’s approved maintenance procedure, interrupt one reader route and observe application reconnect, timeouts and resumed queries. Do not perform the exercise against a production pool. Verify that reporting clients do not silently fall onto the interactive pool and defeat the intended isolation.Accept the change only when both normal and recovery behavior meet your budgets. Restore the prior configuration if it does not. Retain nonsecret measurements, remove temporary clients/service entries, and remove extra test members and their associated network resources through the owning workflow. Confirm the resulting native capacity and charges.