A multinational corporation uses Cloud Spanner with a multi-region configuration. The schema includes a table that is updated frequently by users in two distant regions. They are experiencing high commit latencies due to distributed transactions. Which schema change would most reduce latency?
Leader placement allows directing all writes for a table to the nearest region, reducing distributed transaction overhead.
Why this answer
Table-level leader placement ensures that all writes for the table are processed in a single region, minimizing cross-region coordination and reducing commit latency. Option A is wrong: reducing replicas can hurt availability but doesn't address transaction distribution. Option C is wrong: interleaving tables does not affect region placement.
Option D is wrong: more granular primary keys increase splits, which can exacerbate distributed transactions and latency.