简体   繁体   English

从数据存储区将数据迁移到Google Cloud Firestore

[英]Migrating data to Google Cloud Firestore from Datastore

I'm deciding to migrate the data of Google Cloud Datastore to Cloud Firestore. 我决定将Google Cloud Datastore的数据迁移到Cloud Firestore。 I've read all related documents & blogs, but didn't find the pricing comparison with Datastore to Firestore (though I've read all Firestore pricing & daily quota details). 我已经阅读了所有相关文档和博客,但是没有找到Datastore与Firestore的价格比较(尽管我已经阅读了所有Firestore的价格和每日配额详细信息)。

I want to know the disadvantages & drawbacks of Cloud Firestore, as our data is in large-scale. 我想知道Cloud Firestore的优缺点,因为我们的数据量很大。 I've gone through the document about choose mode ( https://cloud.google.com/datastore/docs/firestore-or-datastore ). 我已经阅读了有关选择模式的文档( https://cloud.google.com/datastore/docs/firestore-or-datastore )。 Is it safe to migrate all data to Cloud Firestore in Native Mode directly or to use Firestore in Datastore mode? 在本地模式下直接将所有数据迁移到Cloud Firestore还是在数据存储模式下使用Firestore安全吗?

Thanks in advance. 提前致谢。

Firestore and Datastore prices Firestore和Datastore价格

The price for the new Cloud Firestore DB is almost the same, except there are no Small Operations in the Firestore. 新的Cloud Firestore DB的价格几乎相同,但Firestore中没有Small Operations

You can check the pricing details for the Datastore here . 您可以在此处查看数据存储的定价详细信息。 And here are the prices for the US multi-region usage as of 2019-02-01: 以下是截至2019-02-01的美国多地区使用价格: 数据存储价格

The Firestore prices details could be found here . Firestore的价格详细信息可以在这里找到。 And the prices for the US multi-region usage as of 2019-02-01 are: 截至2019-02-01的美国多区域使用价格为: 在此处输入图片说明

Also, on March 3, 2019, Firestore prices for single region usage would be as low as 50% of multi-region prices, as stated in the latest update in the Google Cloud Platform blog. 此外,正如Google Cloud Platform博客中的最新更新所述,在2019年3月3日,单个区域使用的Firestore价格将低至多区域价格的50%。

Datastore to Firestore migration 数据存储到Firestore的迁移

As for the migration, it is 100% safe to migrate your Datastore app to Firestore in Datastore mode, but if you'd like to use Firestore in native mode you'd need to upgrade your application and perform manual data migration. 至于迁移,将您的Datastore应用程序以Datastore模式迁移到Firestore是100%安全的,但是如果您想以纯模式使用Firestore,则需要升级应用程序并执行手动数据迁移。

Just a couple of weeks ago, I have migrated one of our apps from Datastore to Firestore in Datastore mode, copying all the data with the export and import APIs . 就在几周前,我已将其中一个应用程序从Datastore迁移到了Datastore模式的Firestore,并使用export和import API复制了所有数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM