Exporting Google App Engine Datastore to MySQL?

情到浓时终转凉″ 提交于 2019-12-23 12:03:43

问题


We're thinking of building some of our infrastructure on to Google App Engine. But we're worried that if it does not scale, we'll need to export the data and run it on our own servers in future.

Is there a way to export from App Engine Datastore to MySQL?


回答1:


As far as data export goes, the Bulk Downloader exists for just this purpose. By default it exports to CSV files, but you can write a custom Exporter class that exports directly to a MySQL database, or any other format of your choosing.

It's also rapidly becoming possible to host an alternate App Engine environment thanks to projects like AppScale, (my own) BDBDatastore, and TwistedAE.

In general, I think your scaling concerns are unfounded - App Engine already hosts many apps that receive high levels of traffic, but that depends in part on your app and its needs. Of course, I'm biased - I'm on the App Engine team, so take my assessment with a grain of salt. ;)



来源:https://stackoverflow.com/questions/1317037/exporting-google-app-engine-datastore-to-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!