You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the zserio generated C++ API for Rows of a SQLite table does kind of a "SELECT *" from the relevant table. It does not really use "*", but all the column names that are available in the schema.
This is in two cases not optimal:
It makes SQLite fetch all columns, which in many cases is not necessary. In case of large blobs in columns, it will generate unnessecary memory pressure and performance degradation.
It breaks backward compatibility with older databases in case columns have been added in subsequent versions.
It would be beneficial if we can extend ::createReader(condition) to also allow to specify the colunms to be fetched. Like ::createReader(columns, condition)
This has been observed in the C++ API. I haven't checked the others...
The text was updated successfully, but these errors were encountered:
At the moment the zserio generated C++ API for Rows of a SQLite table does kind of a
"SELECT *"
from the relevant table. It does not really use"*"
, but all the column names that are available in the schema.This is in two cases not optimal:
It would be beneficial if we can extend
::createReader(condition)
to also allow to specify the colunms to be fetched. Like::createReader(columns, condition)
This has been observed in the C++ API. I haven't checked the others...
The text was updated successfully, but these errors were encountered: