Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Reading Large Videos from Varbinary(max) SQL2005

Guest
Jul 01, 2010 Jul 01, 2010

We  are storing some somewhat large (15-20MB) videos files in an SQL 2005  table within a varbinary(max) type column.  The video files are used and  displayed in our CMS web application which is written in Coldfusion.   Retrieving the videos with a standard SQL select statement through  Coldfusion is very slow. 

Does anyone know if there is a way to  speed up the retrieval of the data through Coldfusion, SQL Server, T-SQL, or a cfobject call to .NET?

I appreciate all  suggestions. 

Thanks ahead of time!

TOPICS
Database access
699
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 08, 2010 Jul 08, 2010

I'll make the suggestion but I imagine you may already have a reason you're not doing it... take the videos out of the database, put them in a specific folder (ex: /mysite/videos/ or even outside of the webroot if you want to hide them) and use a column in your database that points to the actual path/filename of the video. I believe most developers just reference media (images/videos/pdfs) by their paths in a database.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 24, 2011 Mar 24, 2011
LATEST

Just wanted to close this issue, we moved to 2008 and are using FILESTREAM. Thanks for the suggestion.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources