SqmediumliteSQLite Shared Cache enabler | |
Download |
Sqmediumlite Ranking & Summary
Advertisement
Sqmediumlite Tags
Sqmediumlite Description
SQLite Shared Cache enabler Sqmediumlite's goals are:* Enable a system-wide SQLite shared-cache instance.* Offer an unchanged Pysqlite Python DB-API.* Maintain SQLite's unique server-less operation.* Be configurable for non-default use, incl. database sharing over a network.* Explain locking situations.Basic useOnly the import statement changes:import sqmediumlite as sqlite3con = sqlite3.connect ('test.db')The connection has shared-cache mode enabled and the read_uncommitted pragma set. Sqmediumlite is only required if a database is accessed from different processes. Otherwise one can use the options in plain Pysqlite.Besides the shared page-cache, the module establishes a connection pool, from where connections are recycled if parameters and applied settings match. Requirements: · Python Limitations: · Basic use does not allow the definition of adapters, converters and other user-defined data structures.
Sqmediumlite Related Software