Do anyone here use Python *embedded* in a database?

Roger Binns rogerb at rogerbinns.com
Wed Aug 5 22:45:09 CEST 2009


Jonathan Fine wrote:
> anyone here ever used the Python *embedded* in a database server.

There is also the case of using SQLite where it shares the same process as
your Python code (and nothing else) and is a standard part of the Python
library.

You can add your own functions and collations and if using APSW then you can
also go way further than a regular database and add virtual tables and
virtual storage.

SQLite generally outperforms database servers since there is no cross
process or network communication until you get to larger workloads and/or
concurrent database access which database servers are more tuned for.

Roger




More information about the Python-list mailing list