Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL LITE is single user or database can be shared in LAN?
Posted
Updated 25-Feb-13 0:20am
v2

SQLite can support multiple users across a lan, but I would strongly suggest against it.

It is a file based database system, so locks the file when it writes (as you would expect) and no other user can access the file until the write is complete and the lock is released. Which means you will have to code continually for "file in use" errors and retry, which is a PITA. In addition, the whole file will continuously be transferred across the network to each station when you query it, which can have a significant impact on performance.

If you want multiple simultaneous users, I would suggest you use a "proper" multiuser database like SQL server or MySql - it will save a lot of delay, and grief in the long run.
 
Share this answer
 
Comments
Aarti Meswania 25-Feb-13 6:52am    
can postgreSQL be used in LAN?
OriginalGriff 25-Feb-13 7:01am    
Never used it, so I couldn't comment. But given that MsSql and MySql both have free editions, I'd go with one of them if I could.
Aarti Meswania 25-Feb-13 7:06am    
Is MS-SQL free?
I want to use it in LAN/WAN As shared database
OriginalGriff 25-Feb-13 7:09am    
The Express edition is:
https://www.microsoft.com/en-us/sqlserver/editions/2012-editions/express.aspx

It has a few limitations, but probably nothing you need to worry about unless your DB starts to get huge.
Aarti Meswania 25-Feb-13 7:11am    
and one last query :)
SQL Express edition will not allow to share database on LAN/WAN I mean not support remote connection, right? It's standalone edition. Am I right?
Hi,

Check the following link...
Appropriate Uses For SQLite
[^]

one sqlite database to multiple autoit users[^]

Regards,
GVPrabu
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900