1

I'm making an ado.net app that database must be shared with other computers in the same building

I m using SQLite

Arunprasanth K V
  • 20,733
  • 8
  • 41
  • 71
Zaki Puzo
  • 21
  • 1

1 Answers1

1

You could share your .db file on a shared folder but that is not what SQLite is for. see Appropriate Uses For SQLite

Many concurrent writers? → choose client/server

If many threads and/or processes need to write the database at the same instant (and they cannot queue up and take turns) then it is best to select a database engine that supports that capability, which always means a client/server database engine. SQLite only supports one writer at a time per database file. But in most cases, a write transaction only takes milliseconds and so multiple writers can simply take turns.

SQLite will handle more write concurrency that many people suspect. Nevertheless, client/server database systems, because they have a long-running server process at hand to coordinate access, can usually handle far more write concurrency than SQLite ever will.

Also see this answer Is it possible to use a SQLite database in a shared folder in a PC?

user2321864
  • 2,207
  • 5
  • 25
  • 35