We are working on a solution to read certain error log files and pull out the referenced documents and store them in the database for presentation in a web interface.
We are trying to figure out the best way to store these documents as a BLOB in the database. The way it works is each error log file could reference up to 3 documents at this time, possible more in the future, so the method of storing these needs to be somewhat unlimited. It was mentioned to us to try serializing the documents in the DB table, but I am not sure how to really even start that.
Our problem is that the web interface will only need access to one of the documents in the BLOB field. How can we go about deserializing just that document needed, when we are just saving the filename and filedata of the document.
We are trying to figure out the best way to store these documents as a BLOB in the database. The way it works is each error log file could reference up to 3 documents at this time, possible more in the future, so the method of storing these needs to be somewhat unlimited. It was mentioned to us to try serializing the documents in the DB table, but I am not sure how to really even start that.
Our problem is that the web interface will only need access to one of the documents in the BLOB field. How can we go about deserializing just that document needed, when we are just saving the filename and filedata of the document.