[odb-users] Network speed issue
boris at codesynthesis.com
Tue Sep 19 15:34:01 EDT 2017
Sten Kultakangas <ratkaisut at gmail.com> writes:
> Does instantiating odb:database involve creating new connection ?
Yes, more precisely it involves creating a separate connection pool.
> Is it possible that in future versions of ODB operations such as db->query
> do not require an open transaction ?
This is not a limitation of ODB but rather of the databases -- they always
run operations in transactions. Some databases have implicit transactions
which are automatically started before the operation and terminated after.
This can give the illusion that there is no transaction. We have no plans
to support such implicit transactions since they are not without issues.
More information about the odb-users