P
pmz
Dear Group,
I'm connecting in C# with remote (BSD) MySQL server with ODBC Driver,
and I'm trying to find the best sollution in such problem:
As I've read on MySQL manual, they have suggested table design
including the BLOB-Fieldtype size in UInt64, where they've stored,
while inserting, the size of inserted BLOB data. But in the matter of
fact, I'm interested if it's necessary to include in table this integer
field? Is there any way to get size of inserted blob data? In matter of
fact, just before fetching data, I may create byte[] array with size
equal maximum capacity of medium/tiny/*/blob fields, but it's kind of
wasting memory, isn't it?
Thanks a lot for all answers & proposals and time wasted on my problem.
Best regards,
Przemek M. Zawada
I'm connecting in C# with remote (BSD) MySQL server with ODBC Driver,
and I'm trying to find the best sollution in such problem:
As I've read on MySQL manual, they have suggested table design
including the BLOB-Fieldtype size in UInt64, where they've stored,
while inserting, the size of inserted BLOB data. But in the matter of
fact, I'm interested if it's necessary to include in table this integer
field? Is there any way to get size of inserted blob data? In matter of
fact, just before fetching data, I may create byte[] array with size
equal maximum capacity of medium/tiny/*/blob fields, but it's kind of
wasting memory, isn't it?
Thanks a lot for all answers & proposals and time wasted on my problem.
Best regards,
Przemek M. Zawada