Can I use the SQLite as a db storage for cloud-based websites?

断了今生、忘了曾经 提交于 2019-12-30 12:22:11

问题


Has anyone ever launched cloud-based apps / websites that use a local SQLite DB as the primary data source?

Are there any warnings about this?

My environment:

  • C# 3.0 app
  • currently uses a sql server 2008 db
  • current db size 30 mb-

回答1:


If you expect a lot of traffic, you really shouldn't. SQLite is meant to be used as a lightweight SQL database, and is not meant for highly concurrent access (since it locks the whole database file) which could be an important requirement in this case.

Read: Appropriate uses for SQLite



来源:https://stackoverflow.com/questions/3833162/can-i-use-the-sqlite-as-a-db-storage-for-cloud-based-websites

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