• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Storing images in database using active record

#11
[eluser]techgnome[/eluser]
Generally speaking, I agree that images (or BLOBs in general) shouldn't be stored in the database... however, I have run into some instances where BLOBs are desireable - granted they weren't web-based apps, but desktop, so performance and demand is less of an issue - where the rules of HIPPA and Sarbanes\Oxley are involved. This is because it restricts access (and keeps the net admins happy as they don't need to maintain ACLs for folders) and even if you could select * on the table you're not going to get anything immediately useful.

That said, I would try to avoid that situation as much as possible, and if I can't, I might go for something beefier like SQL Server or Oracle.

Also, if you ever want to see a DBA cry, tell him you plan to store thousands of images in the database. I'm in the middle of an application changeover where we are removing the images from the DB and storing them on the file server instead. No one likes to see a DBA cry (often).

-tg


Messages In This Thread
Storing images in database using active record - by El Forum - 10-18-2010, 05:44 AM
Storing images in database using active record - by El Forum - 10-18-2010, 10:03 PM
Storing images in database using active record - by El Forum - 10-19-2010, 06:59 AM
Storing images in database using active record - by El Forum - 10-19-2010, 08:15 AM
Storing images in database using active record - by El Forum - 10-19-2010, 09:21 AM
Storing images in database using active record - by El Forum - 10-19-2010, 10:09 AM
Storing images in database using active record - by El Forum - 10-19-2010, 10:41 AM
Storing images in database using active record - by El Forum - 10-19-2010, 11:12 AM
Storing images in database using active record - by El Forum - 10-19-2010, 12:49 PM
Storing images in database using active record - by El Forum - 10-19-2010, 03:12 PM
Storing images in database using active record - by El Forum - 10-19-2010, 03:53 PM
Storing images in database using active record - by El Forum - 10-19-2010, 04:12 PM
Storing images in database using active record - by El Forum - 10-19-2010, 04:28 PM
Storing images in database using active record - by El Forum - 10-21-2010, 02:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.