Re: In need of advise about saving large binary data
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Wed, 14 May 2008 19:48:39 -0400
mebe wrote:
i am working on a project where users are able to submit any ammount
of large binary files.
Currently all data is stored in a MySql database, but i am uncertain
if it would be better/more efficient/faster to store the binary files
on the filesystem. This would certainly save MySql from a lot of work,
but ensuring data integrity could become complicated.
I am uncertain if it is a good idea to move the binary data out of the
database, so i appreciate any information.
Thanks in advance.
If it is huge files I would suggest using the file system
(unless you have database software and a real powerhouse of a database
server to handle it - think Oracle or DB2 on p595 or similar).
But for smaller files (let us say below 2 MB to pick an arbitrary
size) on decent hardware (not your old 486), then I would find using
the database attractive.
Performance will be approx. the same, but it will be much
easier to manage both app wise and operational.
Arne
.
- Follow-Ups:
- References:
- Prev by Date: Re: gcj 4.2.1 entails "Unexpected exception encountered during query" with mysql-connector-java-5.1.6-bin.jar
- Next by Date: Re: In need of advise about saving large binary data
- Previous by thread: Re: In need of advise about saving large binary data
- Next by thread: Re: In need of advise about saving large binary data
- Index(es):
Relevant Pages
|