728x90
중간에 lock 이 걸리는 경우가 발생하여 찾아보니 다음과 같음.
- 여려명의 사용자가 한번에 사용하는 것은 지원함.(select 권한 다중 사용 가능)
- 하지만 데이터 베이스를 수정하는 것은 한명만 지원하고 그때 lock이 걸림(write 권한 한명만 작업 동시에 읽는 것은 안되는 것 같음)
Multiple processes can have the same database open at the same time. Multiple processes can be doing a SELECT at the same time. But only one process can be making changes to the database at any moment in time, however.
https://stackoverflow.com/questions/5102027/can-sqlite-support-multiple-users
Can SQLite support multiple users?
I am trying to develop a Windows based application with multiple users accessing the same database at the same time. Can SQLite support multiple accesses at one time? Is SQLite stable in this regard?
stackoverflow.com