I have a MySQL table with all versions of my application (50+MB per record/version/file).
When I want to access the BLOB field in the DB on the server - I have to wait very long time.
That would be ok - but I cannot show any progress and users are closing the update-app because of this.
Code: Select all
efDM.q_versionfiles.ParamByName('version_id').AsInteger := version_id;
efDM.q_versionfiles.ParamByName('filename').AsString := fn;
efDM.q_versionfiles.Open; <= this takes ages...
stream := efDM.q_versionfiles.CreateBlobStream(efDM.q_versionfiles.FieldByName('filedata'), bmRead);
Or is there another solution for that?
/Werner