bowtellj
Posts: 65
|
| Posted: 10/22/2006, 3:51 PM |
|
I will be creating an online repository of files ranging in size up to 5mb. Should I store these in the database or file system.....
If I choose the file system I believe I will need to hash/rename the file to ensure it is unique. Is this easy to do?
Thanks
_________________
Thanks
James
Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
|
 |
 |
Edd
Posts: 547
|
| Posted: 10/22/2006, 7:56 PM |
|
The storage of large chunks of data in a database is a big NO! Most databases will handle it but it increases I/O time, blocking factors, backups, log files, etc all factor it to being a bad idea.
Renaming is easy to do.
Depending on your environment, you may want to test 3rd party upload components as 5mb is a huge transfer hit.
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
 |
 |
|