I have a table with about 100 records. One record contains a String (identifier ) and a Blob. The Blob is a serialized Path ( Android ) The Blobs have a size of between 20kb and 100kb. ( I want the data be stored in the db and not on the disk as file ). The Database is readonly.
I like to load the blobs into path-objects and display as fast as possible at startup. After loading from the db ( dbcache ), I store them in a LRUCache. After referencing the pathes from the LRUCache its very fast. First load from DB is slow. ( Loading about 100 pathes ( 20kb - 100kb ) dures 5 seconds, which I like to boost ). Any hints ?
I found the free sqlite4java ( JNI ) libraries, which where mentoined regarding performance and sqlite.
Could this be a solution for me to enhance the performance of reading ? Any experiences with this ?