Python) SQLite 는 여러 명의 사용자가 사용할 수 있는 지?
2022. 11. 6. 08:52ㆍ꿀팁 분석 환경 설정/Linux 관련 팁
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
728x90
'꿀팁 분석 환경 설정 > Linux 관련 팁' 카테고리의 다른 글
Linux,Mac) Python Script 돌릴 때 core 수 제한하는 방법 (0) | 2023.03.31 |
---|---|
Linux) GLIBCXX_3.4.26 not found 에러 해결하기(100%는 아님) (4) | 2022.03.19 |
git 에러) remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. ... The requested URL returned error (0) | 2021.12.02 |
Ubuntu) GPU 확인 방법 (0) | 2021.07.31 |
Linux) sudo password 없이 사용하기 (2) | 2021.07.19 |