SQLite synchronization when accessed by applications on different machines

£可爱£侵袭症+ 提交于 2019-12-10 19:07:27

问题


I'm wondering how SQLite implements it. Is it based on file-locking? Surely the entire DB isn't locked for every user that accesses it; that would be extremely inefficient. Is it based on multiple files or just one big file?

Would be nice if someone could give a short overview of how synchronization and locking is done in sqlite, or, of course, provide a link to one.


回答1:


Have a look at the SQL Lite FAQ and this on locking. Hope this helps.



来源:https://stackoverflow.com/questions/589675/sqlite-synchronization-when-accessed-by-applications-on-different-machines

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