This one time, at band camp, [EMAIL PROTECTED] wrote:

> 
> I don't feel the implementation direction this article takes is good.  It
> uses single row binary storage, which anyone who has had to deal with
> large files knows is a definate issue.

According to your method of storing binary data in BLOB fields, rather than
LONGBLOBs you would have over 11,000 rows for a single 700MB iso.

I am not sure how MySQL handles blobs internally but I would assume it is
like most other databases and adds some sort of delimiter to the data and
has to seek to it to distinguish columns. This means a 700Mb file stored
in 64k chunks would need over 11,000 file seeks per row read.

LONGBLOBs are the way forward here I feel.
A single table containing the relevant metadata along with the binary data.
There is no need for any normalization as this is a one-to-one relationship.

having over 11,000 rows for a single file.... I dunno, I would like to see
some benchmarks on this.

Kevin


-- 
"Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote."

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to