Reading Large Videos from Varbinary(max) SQL 2005

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!

@tclaremont
Thanks for the reply.  Ive decided to go the file system route as you were suggesting below.  Seems like the only real answer until we upgrade to SQL 2008, which has the FILESTREAM data type.

Similar Messages

  • Reading Large Videos from Varbinary(max) SQL2005

    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!

    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.

  • Error export from my database sql 2005 with Windows 2003 abap+java

    Hi all
    I'm trying to create an Export from my database sql 2005 with Windows 2003, but SAPINST starts with an error. ABAP+JAVA stack
    While running the export preparation, I am getting the following error;
    INFO 2010-09-08 12:12:43
    Output of C:\j2sdk1.4.2_13-x64\bin\java.exe -classpath D:\usr\sap\BID\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_jce.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_jsse.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_smime.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_ssl.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/w3c_http.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/antlr.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/exception.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/jddi.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/logging.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/offlineconfiguration.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/opensqlsta.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/SDMutil.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/SLUtil.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\base.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\util.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\sqlserver.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\spy.jar -export -type=keydb "-expfile=C:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/CENTRAL/AS/PREEXP/usages_data.xml" -log=UTL_load_usages.log -sid=BID -dsn=jdbc/pool/BID -ssprops=D:/usr/sap/BID/SYS/global/security/data/SecStore.properties -ssk=D:/usr/sap/BID/SYS/global/security/data/SecStore.key is written to the logfile C:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/CENTRAL/AS/PREEXP/UTL.java.log.
    WARNING 2010-09-08 12:12:46
    Execution of the command "C:\j2sdk1.4.2_13-x64\bin\java.exe -classpath D:\usr\sap\BID\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_jce.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_jsse.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_smime.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_ssl.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/w3c_http.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/antlr.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/exception.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/jddi.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/logging.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/offlineconfiguration.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/opensqlsta.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/SDMutil.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/SLUtil.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\base.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\util.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\sqlserver.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\spy.jar -export -type=keydb "-expfile=C:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/CENTRAL/AS/PREEXP/usages_data.xml" -log=UTL_load_usages.log -sid=BID -dsn=jdbc/pool/BID -ssprops=D:/usr/sap/BID/SYS/global/security/data/SecStore.properties -ssk=D:/usr/sap/BID/SYS/global/security/data/SecStore.key" finished with return code 64. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_13-b06, mixed mode)
    ERROR 2010-09-08 12:12:46
    CJS-30071  Execution of UTL tool 'C:\j2sdk1.4.2_13-x64\bin\java.exe -classpath D:\usr\sap\BID\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_jce.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_jsse.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_smime.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/iaik_ssl.jar;
    JRBIWD/sapmnt/BID/SYS/global/security/lib/tools/w3c_http.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/antlr.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/exception.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/jddi.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/logging.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/offlineconfiguration.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/opensqlsta.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/SDMutil.jar;D:/usr/sap/BID/SYS/global/sltools/sharedlib/SLUtil.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\base.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\util.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\sqlserver.jar;D:\usr\sap\BID\DVEBMGS01\exe\mssjdbc\spy.jar -export -type=keydb "-expfile=C:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/CENTRAL/AS/PREEXP/usages_data.xml" -log=UTL_load_usages.log -sid=BID -dsn=jdbc/pool/BID -ssprops=D:/usr/sap/BID/SYS/global/security/data/SecStore.properties -ssk=D:/usr/sap/BID/SYS/global/security/data/SecStore.key' aborts due to database connection error with return code 64.<br>DIAGNOSIS: The connection parameters are wrong or the database server is shutdown.<br> SOLUTION: Check 'UTL_load_usages.log' and 'C:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/CENTRAL/AS/PREEXP/UTL.java.log' for more information.
    ERROR 2010-09-08 12:12:46
    FCO-00011  The step getUsageTypes with step key |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Java_Prepare_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR .
    Could anyone please help me out on this, if possible?
    Thanks
    JM

    Hi,
    please ensure that you use a SAP supported JDK as below:
    716604    for the Sun JDK (Windows, Linux, Solaris)
    709140    Recommended JDK and VM Settings for the WebAS630/640/7.0
    And the re try the export pls.
    Regards,
    Snow

  • How can i transfer large video from my iphone

    I have a large video on my iphone 4s that will not transfer by E-mail, Facebook, Utube, text or USB. When I plug in the USB to my computer it will upload everything except my video it remains on my phone. I really need this video for a student is there a way to get it from my phone to a computer?

    Is your computer a Windows PC running XP?
    http://support.apple.com/kb/ht4083
    Windows XP cannot import video files larger than 500 MB using Camera and Scanner Wizard. You can transfer these files directly from your device by selecting them in My Computer and dragging or copying the movie files to your computer's hard drive.

  • Cannot transfer large video from iPhone 4S

    Hi all,
    I have an iPhone 4S and recently shot a video which turned out to be about 50 minutes.
    Now, I'm trying to transfer it to my Mac to free up space on my phone, but when I try to download it through iPhoto/Image Capture, the video doesn't come up at all in the list - the video is fine IMG_521, but the items skip from IMG_520 to IMG_522, not allowing me the option to download the video to my Mac at all.
    I can view the video just fine on my iPhone and the three files preceding the large video are all 2-8 minute videos and have downloaded perfectly fine on to my Mac.
    The video is really important but is taking up so much space on my iPhone - so, any help would be hugely appreciated.
    Aman

    You might try Phone View (http://www.ecamm.com/mac/phoneview/).

  • Upload very large video from my itouch4 !

    Hi
    I try to upload on my computer a very large video that i have recorded (1.60 gigs for 22 minuts) with my itouch 4
    but doesnt working ?. I use Windows XP-3. I think it is because this video are too big for Windows but not sure ..
    Have you an idea how to upload this video ?.
    Thanks for advance.

    HI
    I have i new GoPro camera who filmed large videos and i have no problem to uploaded this largers videos on my hard disk (more than 2.5G each videos).
    It's really Windows Xp who are not able to uploaded my ipod videos or it's with Apple ???
    I tell that because no problem with my new camera.
    Thanks for advance.

  • I cannot read a video from icloud

    Hi,
    I use ICLOUD with an IPAD, IPHONE and a PC WINDOWS
    I cannot read video (built with IPHONE) from ICLOUD, I see the video file with my IPAD or with my IPHONE but when I click on it, the video does not start.(it is always in a loading phase); I have not this problem when I read this video with ma windows PC that I connect on ICLOUD;
    could you help me
    THANKS
    Michel

    Can you please tell what the error message says?

  • HT201302 Problems importing large video from Ipad to PC

    I have the ipad 2. I have a large video file that  I need to get transfered to my PC. When I connect and import, the pc imports everything but that large file. When I explore the device through the PC that video doesnt even show up, but when I look from my ipad its on there. How do I get that video imported to my pc?

    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
    There's also some apps that will transfer via wifi. Using these apps may be the easiest way of transferring your Photos and Videos to your computer and other iOS devices.
    Simple Photo & Video Transfer
    https://itunes.apple.com/us/app/simple-photo-video-transfer/id420821506?mt=8
    Simple Transfer App
    https://itunes.apple.com/us/app/simple-transfer/id411292121?mt=8
    Easy Media Transfer : Useful App for Wireless Transfer
    http://apps400.com/iphone-apps/easy-media-transfer-useful-app-for-wireless-trans fer.html
    Photo Transfer
    http://www.phototransferapp.com/
     Cheers, Tom

  • HT4528 How do I transfer a large video from my iPhone 4 to my computer.  Files are 1.02 G, 1.49 G, and 611 MB?

    How do I transfer large files from my iPhone 4 to my PC?
    Does anyone have a clue?

    http://support.apple.com/kb/HT4083

  • HT201302 Transferring large video from iPad to PC - copying file on computer didn't work

    I tried connecting my iPad to the PC and dragging the file. It transfers but the file is empty (0 bytes). I'm running XP and the video is 790KB. I may need to compress it on the iPad before transfer? Any ideas? Going to try downloading to another PC NOT running XP next.
    I also tried:
    --transferring the video via a USB port but the device wasn't recognized on the iPad
    --uploading directly to YouTube via wireless and it shows up there but I can't open the file

    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
    There's also some apps that will transfer via wifi. Using these apps may be the easiest way of transferring your Photos and Videos to your computer and other iOS devices.
    Simple Photo & Video Transfer
    https://itunes.apple.com/us/app/simple-photo-video-transfer/id420821506?mt=8
    Simple Transfer App
    https://itunes.apple.com/us/app/simple-transfer/id411292121?mt=8
    Easy Media Transfer : Useful App for Wireless Transfer
    http://apps400.com/iphone-apps/easy-media-transfer-useful-app-for-wireless-trans fer.html
    Photo Transfer
    http://www.phototransferapp.com/
     Cheers, Tom

  • Copy large videos from iphone 3gs to windows

    Hi,
    I have a large 750 mb video on my phone that I am trying to copy to the computer. I have tried using the camera and scanner wizard and copy/paste in windows explorer but neither of them works. It produces a 0kb file on the computer. I have been able to successfully transfer videos upto 400 MB but this one doesn't seem to work. I googled around and other people seem to have the same problem but was unable to find a solution.
    Any help would be appreciated
    Thanks!

    The size of the file shouldn't make any difference as long as there is room on your PC for it. What I do is use the Camera Wizard and select the open to view files option. From there I just click on the files to locate the video I want to copy and either drag it to where I want it on the PC or copy and paste it there. If it's a larage file it may take a few seconds to copy over.

  • Read IMAP server from Oracle PL/SQL

    Hi,
    Is it possible to read emails (either through IMAP) and save those email (with attachments) into oracle tables through pl/sql?
    I have a requirement of reading mailbox every 1 min and save new mails into database.
    My Environment: Database 10g.

    This may help you.
    Re: Retrieve emails from IMAP server
    http://plsqlmailclient.sourceforge.net/

  • Retrieving large video from icloud

    I currently have a 23 min ipad video saved on the cloud.  I have tried to download it multiple times and it is erring out and failing to download.  I currently do not have this any any other devices (only icloud).  How can I get this to download or get a copy of the video?

    The problem is that if you remove it from your iPad, then it also gets removed from iCloud, so it's starting to sound as though the version you are trying to download from the cloud is some sort of incomplete or corrupt remnant and not really there (at least in it's entirety)

  • Can not import large videos from iphone to MAC or PC.

    When I try to import photos from my iPhone 4s to my MAC (with iPhoto) or PC(with explorer) I got no problem at all but with videos larger than 2-3 gb, I receive the message:iPhoto cannot import your photos because there was a problem downloading an image. Anyone has an idea how to overcome this?

    Use Image Capture to upload the video files to a folder on the Desktop and import into iPhoto from there.
    OT

  • I can not import large videos from iPhone to iPhotos

    The longer videos will not tranfer to iphoto all other videos and photos will transfer. Its from a iPhone 5 to a mac.

    I got it to work my hard drive was too full. I never thought i had it that close to full.

Maybe you are looking for

  • Yoga 2 Pro: Google Chrome does not open properly

    Link to image I have a Yoga Thinkpad 13.3 convertible which I recently upgraded from Windows 8 to 8.1 with no apparent problems. A few days later I tried to open Google Chrome - the screen wouldn't open properly and wouldn't respond. I tried to unins

  • Creating a Standard Build

    Hi I'm trying to set up what we call a "standard build source" for Mac OS X and I'm not sure entirely how to go about it (specifically, the best/easiest way to do it...). What I currently have, is an area on a server which we use to store our configu

  • Box containing text and image (fit frame to contents).

    Hi all, The best way I can describe what I am trying to achieve is to show you a picture. So essentially, I'm looking to create a grey box, containing some text with an image floating to the right hand side. I want about 2mm space (padding) inside th

  • How to use field 'HIER_ID' to determine price in S/O?

    I want to use field 'HIER_ID'(hierarchy) to determine price in S/O but I don't know what value I should maintain in pricing master data. It should be 'HIER_ID' = 01 or 02 or 10 or else????? I don't know.

  • Payment status

    Hi,   How do we know the status of payment run in which fields gets updated in REGUH,REGUP,BSEG,BKPF .   Which are the fields gets the update status of the payment once the payment run through F110. Thanks