Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
i want to store video,audio files in binary format,size limit of the binary data type support. which type of problems i am facing in future


regard thanks
pradeep
Posted
Updated 8-Dec-12 0:56am
v2

Space.
All versions of SQL server have a maximum database size - how big varies from version to version, but prior to 2008R2 it was 4 gB, then upped to 10Gb. The Express version of 2012 is still limited to 10GB. With audio files it is less of a problem (but still significant if you store many files) but with Video files weighing in at around a GB (for any good resolution) it doesn't take many to fill an SQL database.
Plus there is the problem of backups - a huge file takes more time to backup than a smaller one, and shouldn't be in use at the time.
And worse, this can really impact on SQL performance generally - large files take a lot of bandwidth to transfer as the result of a query.

Personally, I store thumbnails in the DB, with a file reference to the file itself for anything larger than a 100x100 jpg!
 
Share this answer
 
Comments
Philippe Mori 8-Dec-12 8:57am    
I was thinking that you can use FILESTREAM columns for that prupose. SqlFileStream Class

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900