【问题标题】:Should we consider the hotspot about unique index of Spanner?我们是否应该考虑 Spanner 唯一索引的热点?
【发布时间】:2020-01-26 07:19:40
【问题描述】:

我正在为 Cloud Spanner 设计表格。 根据文档,我们在创建主键时需要考虑热点。 https://cloud.google.com/spanner/docs/schema-design?hl=en

但是我不确定我们是否也需要考虑关于唯一索引的热点。 是否应该考虑 Spanner 唯一索引的热点?

【问题讨论】:

    标签: google-cloud-platform google-cloud-spanner


    【解决方案1】:

    是的,索引的实现方式与 Cloud Spanner 中的表相同,并且具有相同的性能注意事项。

    【讨论】:

    • 谢谢。我会在考虑热点的同时尝试设计。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-05-20
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-03
    相关资源
    最近更新 更多