我决定将Google Cloud Datastore的数据迁移到Cloud Firestore。我已阅读所有相关文档和博客,但未找到与Datastore到Firestore的定价比较(尽管我已阅读所有Firestore定价和每日配额详情)。
我想知道Cloud Firestore的缺点和缺点,因为我们的数据是大规模的。我已经阅读了有关选择模式(https://cloud.google.com/datastore/docs/firestore-or-datastore)的文档。将所有数据直接迁移到纯模式下的Cloud Firestore或在数据存储模式下使用Firestore是否安全?
提前致谢。
Firestore和Datastore价格
除了Firestore中没有Small Operations
之外,新的Cloud Firestore DB的价格几乎相同。
您可以查看Datastore here的定价详情。以下是截至2019-02-01美国多地区使用的价格:
Firestore价格细节可以找到here。截至2019-02-01,美国多地区使用的价格为:
此外,在2019年3月3日,单一地区使用的Firestore价格将低至多区域价格的50%,如Google Cloud Platform博客中的latest update所述。
数据存储到Firestore迁移
对于迁移,在数据存储模式下将数据存储区应用程序迁移到Firestore是100%安全的,但如果您希望在纯模式下使用Firestore,则需要升级应用程序并执行手动数据迁移。
几周前,我已经将我们的一个应用程序从Datastore迁移到数据存储模式的Firestore,使用export and import APIs复制所有数据。