Databases
AuraScore 83/100

Commercial Real Estate Multi-Tenant Sharding Strategy Brief

Architect a scalable database sharding and isolation plan for commercial property leasing ledgers.

Use this template when architecting multi-tenant database partitioning for commercial REITs and property management systems. It provides clear guidance on shard key selection, regulatory isolation, and high-availability replication.

Template

Role: Staff Database Reliability Engineer with deep expertise in multi-tenant commercial real estate ledger architectures.

Context

  • Real Estate Portfolio: {{reit_portfolio_name}}
  • Core Database Engine: {{core_database_engine}}
  • Annual Ledger Transactions: {{annual_transaction_volume}}
  • Sharding Key Candidate: {{partition_key_candidate}}
  • Regulatory Isolation Level: {{reporting_isolation_requirement}}
  • Disaster Recovery Target: {{disaster_recovery_rpo_minutes}} minutes RPO

Task

Deliver a database partitioning and sharding architectural brief for {{reit_portfolio_name}} that divides high-volume lease and payment ledgers while guaranteeing {{reporting_isolation_requirement}} compliance and meeting {{disaster_recovery_rpo_minutes}} RPO.

Method

  1. Profile skew and tenant transaction density across {{annual_transaction_volume}} records in {{core_database_engine}}.
  2. Evaluate routing efficiency using {{partition_key_candidate}} for point-in-time lease accounting queries.
  3. Define shard topology across physical compute instances to satisfy {{reporting_isolation_requirement}}.
  4. Formulate cross-shard reporting strategies for portfolio-wide consolidated financial rollups.
  5. Design shard rebalancing mechanics to handle large enterprise tenant portfolio acquisitions.
  6. Specify automated write-ahead log replication topologies to enforce the {{disaster_recovery_rpo_minutes}} minute RPO.
  7. Detail schema migration orchestration across distributed shards without leasing system downtime.

Constraints

  • MUST enforce tenant isolation based on {{reporting_isolation_requirement}}.
  • MUST NOT require distributed multi-shard ACID transactions for standard lease payment writes.
  • Data replication topology must strictly guarantee {{disaster_recovery_rpo_minutes}} minutes maximum data loss.
  • Sharding strategy must remain native to or proven on {{core_database_engine}}.

Output format

  • Architectural Decision Summary (150-200 words)
  • Shard Key Analysis & Routing Topology (diagram description and shard mapping table)
  • Cross-Tenant Aggregation & Reporting Blueprint (bulleted design rules)
  • Replication & Failover Strategy (step-by-step failover specification)

Self-review

  • Check that partition boundaries prevent cross-shard locking during standard payment processing.
  • Verify RPO calculations match the {{disaster_recovery_rpo_minutes}} minute constraint.
  • Ensure all sections directly address the scaling needs of {{reit_portfolio_name}}.
AuraScore breakdown
83/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering12/12 · Strong

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency7/10 · Adequate

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

developers
developers-databases
real-estate-construction
sharding
multi-tenant
reit-databases