piskvorky / sqlitedict

Persistent dict, backed by sqlite3 and pickle, multithread-safe.
Apache License 2.0
1.17k stars 131 forks source link

Documentation: WAL journal mode is faster #170

Open presidento opened 1 year ago

presidento commented 1 year ago

According to my measurements, the WAL journal mode has even better performance than batch update with autocommit=False. If you agree, it can be mentioned in the documentation...

mpenkov commented 1 year ago

Can you show some benchmarks with sqlitedict code?

presidento commented 1 year ago

I can point out the related parts of the linked code.

Bechmark parts:

They are executed against many persitent dict implementation. The SqliteDict related parts:

The result of the benchmarks are on the linked comment.