我们是否应该考虑 Spanner 唯一索引的热点?
Should we consider the hotspot about unique index of Spanner?
我正在为 Cloud Spanner 设计 table。
根据文档,我们需要在创建主键时考虑热点。
https://cloud.google.com/spanner/docs/schema-design?hl=en
但是我不确定我们是否也需要考虑唯一索引的热点。
是否应该考虑Spanner唯一索引的热点?
是的,索引的实现方式与 Cloud Spanner 中的表相同,并且具有相同的性能考虑因素。
我正在为 Cloud Spanner 设计 table。 根据文档,我们需要在创建主键时考虑热点。 https://cloud.google.com/spanner/docs/schema-design?hl=en
但是我不确定我们是否也需要考虑唯一索引的热点。 是否应该考虑Spanner唯一索引的热点?
是的,索引的实现方式与 Cloud Spanner 中的表相同,并且具有相同的性能考虑因素。