A
A
allias1732019-08-06 18:17:10
SQLite
allias173, 2019-08-06 18:17:10

How to replace sqlite3?

It constantly knocks out the Database is locked error due to many connections, increased the timeout, I immediately close the connection after using the database, but it does not help.
Is there a similar local database (without servers) that can handle a large number of connections?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Shitskov, 2019-08-06
@allias173

More than 1 connection - only a full-fledged DBMS

S
Sergey Gornostaev, 2019-08-06
@sergey-gornostaev

No.

S
Saboteur, 2019-08-07
@saboteur_kiev

The essence of sqlite is the lack of a server. All logic is in the library.
But that's why access is blocked - because only one application can connect to one file.
The server solves this issue by the fact that the server is the one application that works with the file, and all the rest work through the server.
Therefore, without a server, there should not be architecturally multi-user access to a file.

D
Dimonchik, 2019-08-06
@dimonchik2013

https://peewee.readthedocs.io/en/latest/peewee/pla...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question