Morning,
we developed some kind of photo app in B4A for a painting line some time ago, ... long story short ... at the end of the line we take a photo of the painted part. (via a integrated camera running Android).
This picture will be uploaded to a DB incl. a smaller thumbnail and a lot of Metadata via RDC. This process works really well BUT the amount of pictures taken per day has massively grown from ~100 to ~800 (and growing). As a result the DB is getting bigger and bigger. Handling etc is getting difficult and the DB-Admin is not really amused
I have to say that the original requirement was ~50 to ~70 images per day
I am thinking to change the storage process and upload the pictures (not the thumbnails) to a NAS etc via HTTP or FTP.
Storage should be like:
and I am wondering how to implement this now as the server site should manages the tree structure and return the link to the Android App. for storage in the DB.....
or is this all nonsense what I have in mind?
has somebody a better idea?
THX
we developed some kind of photo app in B4A for a painting line some time ago, ... long story short ... at the end of the line we take a photo of the painted part. (via a integrated camera running Android).
This picture will be uploaded to a DB incl. a smaller thumbnail and a lot of Metadata via RDC. This process works really well BUT the amount of pictures taken per day has massively grown from ~100 to ~800 (and growing). As a result the DB is getting bigger and bigger. Handling etc is getting difficult and the DB-Admin is not really amused
I have to say that the original requirement was ~50 to ~70 images per day
I am thinking to change the storage process and upload the pictures (not the thumbnails) to a NAS etc via HTTP or FTP.
Storage should be like:
B4X:
YEAR
/ \
Month Month
/ \
Day ...
/ \
PictureID ....
and I am wondering how to implement this now as the server site should manages the tree structure and return the link to the Android App. for storage in the DB.....
or is this all nonsense what I have in mind?
has somebody a better idea?
THX