After some consideration I have decided to move the BLOB
repository from PBXT to MyBS (§). This has the advantage that any
engine that does not have its own BLOB repository (or is
otherwise not suitable for storing large amounts of BLOB data)
can reference BLOBs in the MyBS BLOB repository.
(§) MyBS stands for "BLOB Streaming for MySQL". The BLOB
Streaming engine is a new storage engine for MySQL which allows
you to stream media data directly in and out of the database.
More info at www.blobstreaming.org.
Lets look at an example of this. Assume my standard example
table:
CREATE TABLE notes_tab (
n_id int PRIMARY KEY,
n_text longblob
) ENGINE=PBXT;
And assume we have a file called blob_eg.txt with the contents
"This is a BLOB Streaming upload test".
Firstly, I can upload a BLOB to the MyBS BLOB …