Image Files - Within Database, or Use FileStream?

I have millions of photos tied to transactions.  There are several photos tied to one transaction.  My app pages and displays hundreds of transactions with the photos.  I would also like a user to be able to download all of the transaction
information including the photo to a spreadsheet.  Currently, the images are stored within the database - is this the best way to go?
Considerations -
I am currently using transactional replication to replicate this SQL database to another location and the database for the images is 25GBs and will continue to grow.
The images do not change but daily hundreds more transaction and images are added to the system.
I know there is a newer method - FileStream.  Should I be using this method and FileTable? I know I can't use Database mirroring with this option (is that a concern) and am currently using transactional based replication.
What backup method should I use with the recommended database deign - replication or ?

Consider FileTable for your application.
BOL: "The FileTable feature brings support for the Windows file namespace and compatibility with Windows applications to the file data stored in SQL Server. FileTable lets an application integrate its storage and data management components, and provides
integrated SQL Server services - including full-text search and semantic search - over unstructured data and metadata.
In other words, you can store files and documents in special tables in SQL Server called FileTables, but access them from Windows applications as if they were stored in the file system, without making any changes to your client applications."
LINK: http://msdn.microsoft.com/en-us/library/ff929144.aspx
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

Similar Messages

  • Can't move image files within Bridge

    I recently bought an iMac and got the CS5 license transferred over to the Mac platform. Got CS5 loaded and everything works except for one critical thing: I can no longer move image files within Bridge. When I do the right click on an image file to select that command, the command is "grey" and won't let me to choose it.  So I am forced to rearrange my image files through the Mac's Finder/Pictures feature.  Drag and drop doesn't work either.  I have looked everywhere for a setting that would allow movement of files to different folders and rearrangement within Bridge, and can't find one.  I have Bridge set as my default for photos and not the lame iPhoto program on Macs.  I previously was to be able to freely use Bridge for organizing my photos on a PC and now sorely disappointed that I can't do this with my new iMac.

    I previously was to be able to freely use Bridge for organizing my photos on a PC and now sorely disappointed that I can't do this with my new iMac.
    No need for disappointment because you can move all files freely within Bridge.
    First check if you have read and write permissions for your files/folders/disk (try move the files using finder) If Finder allows you to drag the files to the location you previously wanted in Bridge then the problem lies in Bridge.
    First select a file and with right mouse click menu choose purge cache for selection. If the problem is gone you could do so for the whole folder using menu tools/cache/purge cache for folder while having Bridge pointed to that folder.
    If not restart bridge holding down option key and choose reset preferences.
    could you report back?

  • How can i upload a image file to server by using jsp or servlet.

    Hi,
    I m gurumoorthy. how can i upload a image file to server by using jsp or servlet without using third party API. pls anyone send me atleast outline of the source code.
    Pls send me anyone.
    Regards,
    Gurumoorthy.

    I'm not an applet programmer so I can't give you much advice there.
    If you want to stream the file from the server before it's entirely uploaded, then I don't believe you can treat it like a normal file. If you're just wanting to throw it up there and then listen to it, then you can treat it like a normal file.
    But again, I'm not entirely certain. You might be able to stream the start of the file from the server while you're still uploading the end of it, but it probably depends on what method you're using to do the transfer.

  • Image file can't be used

    I get the following message when I try to place a movie into my movie page in iWeb. "The image file can't be used because you don't have access priviledges or because it has no content or is corupted". I am using small 30 sec clips that I've imported into iPhoto from my digital camera. They are AVI files. I've place them before with no problem, this is new.
    Any idea what's wrong and what I can do?
    Dual 450 MHz PowerPC G4   Mac OS X (10.4.6)  

    So it sounds like something about your iWeb installation got munged. Something used to work, but now it doesn't work anymore. So it must work somehow. Here are the suggestions that I give to people with these sorts of varied and nonspecific issues with iWeb. So without further ado...
    1. Delete iWeb preference file at: YourHardDrive/Users/yourname/Users/Library/Preferences/"com.apple.iWeb.plist"
    2. Delete iLife Media Browser preference file at: YourHardDrive/Library/Preferences/"com.apple.iLifeMediaBrowser.plist"
    3. Repair startup disk permissions using Disk Utility
    4. Reboot machine
    5. Delete iWeb application (but keep a backup of the Domain file!) and reinstall iWeb 1.0 from original iLife'06 DVD or Recovery Disks and then update directly to 1.1.1 via Software Update.
    These are the top 5 things that seem to garner some kind of positive results from people having similar problems. I know that you have already tried a couple things here, but heck, what do you have to lose? For the record, I doubt that it is your Canon camera.

  • How to flip through multiple image files in a folder using Preview?

    On windows a default image viewing program similar to preview allows a user to press the arrow keys to flip through images within the same folder as the image file originally opened with a Preview-like application.
    How can a person filp through images in the same folder with a few keystrokes using Preview?
    thanks

    hmm...you mean there isn't a way to simply skim
    through images in a folder using an arrow or page-up
    key?? That's kind of disappointing...especially
    being forced to pre-select images...
    oceanbluesky,
    There's no reason you can't use Preview to do what you're trying to do. And there's no need to pre-select images.
    The trick is to open Preview first, and then choose Open from the File menu (or Command + O on the keyboard). When Preview's Open dialog window appears, navigate to the folder which contains your pictures. Highlight the entire folder and then press the Open button. Once the folder is open in Preview you should be able to use your arrow keys to flip through...
    Note: To avoid a storm of images from opening on your desktop, go to Preview > Preferences > Images and make sure that the "Open each image in its own window" radio button is not selected.
    Good luck!
    Andrew99
    iMac 1 GHz Flat Panel 15" PPC 768 MB RAM   Mac OS X (10.4.10)  

  • Storing image file in ms-access using jdbc

    Dear all,
    When i try to store a image file in MS-Access, I try it using OLE Object type in ms-access and object type in Java but i got following exception
    java.sql.SQLException: SQL Exception : Unknown SQL Type for PreparedStatement.setObject (SQL Type=1111
    So anyone please guide me that how to store an image file into ms-access database using the jdbc.
    ishan

    Do you want to store the text from the file? or the actual file?
    If you want to store large amounts of raw text, then you can use the MEMO type, but it will only store up to 64kb (65,535 characters). If you want to store the actual file, you'll have to use a field of OLE type.
    Does this answer your question? or were you asking something else?

  • Load local image file to database on web

    Read_image_file works fine in client side. but it does not work on the web, can somebody find the way to save image from image file in client PC to Oracle database (or to webserver directory) when run on web.
    Thanks
    Frank
    null

    You may find the following articles useful for the JSP/Servlet part:
    Uploading files: http://balusc.blogspot.com/2007/11/multipartfilter.html
    Downloading files: http://balusc.blogspot.com/2007/07/fileservlet.html

  • Insert image file to word document using active X

    Hello,
    I would like to insert an image into my word document (at the end). The image is saved as a bmp file and I'm using LV 8.2.1.
    I would like to do this using Active X (without using report generation toolkit).
    Any idea please ? Thanks in advance.
    J.
    Solved!
    Go to Solution.

    Hi J.
    The method to use is Inline shapes (Add pictures). I have linked an example. You will have to configure it in order for it to be at the end of your document but that shouldn't be a problem for you.
    Best Regards,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...
    Attachments:
    activex image.vi ‏13 KB

  • Sending an Image file to a client using UDP

    I wants to send an Image file from the client to the server using UDP. As UDP can only sends data of type byte, how can i convert the Image file to byte & send it. Here is the Client program:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.awt.*;
    public class Client {
    public static void main(String[] args) throws IOException {
    if (args.length != 1) {
    System.out.println("Usage: java Client <hostname>");
    return;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    br.close();
    // get a datagram socket
    DatagramSocket socket = new DatagramSocket();
    // send request
    byte[] buf = new byte[65500];
    buf = str1.getBytes();
    InetAddress address = InetAddress.getByName(args[0]);
    DatagramPacket packet = new DatagramPacket(buf, buf.length, address, 4445);
    socket.send(packet);
    // get response
    packet = new DatagramPacket(buf, buf.length);
    socket.receive(packet);
    // display response
    String received = new String(packet.getData());
    System.out.println("Received: " + received);
    socket.close();
    Thanx.

    DataInputStream inStream = new DataInputStream(new FileInputStream(filename));
    try {
    byte bindata = inStream.readByte();
    catch (EOFException eof) {
    }

  • IDVD image files not always burning using Disk Utility

    I am using iDVD 06 to create media, from FCE .mov, and have been using the "Create DVD image file" option so that I can make quick copies for clients as needed. Recently a LOT of my gens, using Disk Utility, have been rejected as 'not verifiable' hence wasting a good disk. Some of them do get created successfully. I am currently using WINDATA DVD+R disks. Not sure if this is an iDVD problem or Disk Utility problem frankly. Have reverted back to creating multiple copies in iDVD after the initial 'slow' burn of the original. Thanks

    I am currently using WINDATA DVD+R disks. Not sure if this is an iDVD problem or Disk Utility problem frankly
    There is a third choice that I think is the most likely problem source - WINDATA DVD+R disks themselves.
    I'm 'not big' on + media for single layer disks anyway, but if you are supplying clients with discs you burned, you really ought to use good quality media like Verbatim or Maxell.
    BTW, I always recommend reducing the burn speed in Disk Utility to 4x or lower (I use 2x)
    F Shippey

  • Retrieve image file from FORMS 10G using BLOB

    Dear all,
    i inserted one record in a table for the following procedure.
    Create Or Replace Procedure Blob_Xl Is
    l_blob Blob;
    l_bfile Bfile;
    Begin
    Insert Into LOB_TABLE Values ( 'TEST1', Empty_Blob() )
    Returning BLOBDATA Into l_blob;
    l_bfile := Bfilename( 'TEST1', 'I.JPG');
    dbms_lob.fileopen( l_bfile,dbms_lob.file_readonly );
    dbms_lob.loadfromfile( l_blob, l_bfile, dbms_lob.getlength( l_bfile ) );
    dbms_lob.fileclose( l_bfile );
    Commit;
    End Blob_Xl;
    after that
    record also inserted, i check thro count.
    i try to retrieve that image from that table for using following procedure, in that procedure i called from one button in forms 10g and wrote in when button pressed , when i clicked it wont show any images.
    where i am wrong?
    Create Or Replace Procedure get_img As
    vblob Blob;
    buffer Raw(32000);
    buffer_size Integer := 32000;
    offset Integer := 1;
    Length Number;
    Begin
    owa_util.mime_header('image/JPG');
    Select BLOBDATA Into vblob From LOB_TABLE Where No = 'TEST1';
    Length := dbms_lob.getlength(vblob);
    While offset < Length Loop
    dbms_lob.Read(vblob, buffer_size, offset, buffer);
    htp.prn(utl_raw.cast_to_varchar2(buffer));
    offset := offset + buffer_size;
    End Loop;
    Exception
    When Others Then
    htp.p(Sqlerrm);
    End;
    /

    hi
    try something like this for retrieve.May it helps u.
    DECLARE
    directions CLOB;
    directions_1 VARCHAR2(300);
    directions_2 VARCHAR2(300);
    chars_read_1 BINARY_INTEGER;
    chars_read_2 BINARY_INTEGER;
    offset INTEGER;
    BEGIN
    --Retrieve the LOB locator inserted previously
    SELECT falls_directions
    INTO directions
    FROM waterfalls
    WHERE falls_name='Munising Falls';
    --Begin reading with the first character
    offset := 1;
    --Attempt to read 229 characters of directions, chars_read_1 will
    --be updated with the actual number of characters read
    chars_read_1 := 229;
    DBMS_LOB.READ(directions, chars_read_1, offset, directions_1);
    --If we read 229 characters, update the offset and try to
    --read 255 more.
    IF chars_read_1 = 229 THEN
    offset := offset + chars_read_1;
    chars_read_2 := 255;
    DBMS_LOB.READ(directions, chars_read_2, offset, directions_2);
    ELSE
    chars_read_2 := 0;
    directions_2 := '';
    END IF;
    --Display the total number of characters read
    DBMS_OUTPUT.PUT_LINE('Characters read = ' ||
    TO_CHAR(chars_read_1+chars_read_2));
    --Display the directions
    DBMS_OUTPUT.PUT_LINE(directions_1);
    DBMS_OUTPUT.PUT_LINE(directions_2);
    END;
    sarah
    Edited by: S@R@h on Oct 7, 2009 11:29 PM

  • Is there a way to replace an image file within a PSD in photoshop elements 13?

    I've got 12 separate PSD files, with one image consistently in every document, but resized differently and very specifically for each of the documents. I've made some changes to the jpeg image separately, but instead of dropping the new image into each individual PSD and having to arduously match it to the previous version of the image, does anybody know if there a way to just ask elements to replace it by directing it to the new version of the jpeg?
    In each PSD, the image is by itself on a layer of its own, nice and simple.
    Any help would be greatly appreciated.. it seems like a simple thing to do, I just cant find how!
    Thanks!

    Offhand I doubt this can be done in PSE, at least in my dinosaur version 2. Maybe someone else knows if this can be done in 13.  Sorry
    But perhaps you can use the following trick.
    Here I selected the sunflower, did a copy/paste to create a new layer, and moved the new area out of alignment.
    Change the blending mode of the mis-aligned layer to "Difference".
    Use the arrow keys to nudge the layer so that the result is totally black.
    Change the blend mode back to "Normal" and, voila!, the layers are perfectly aligned.

  • How to load data in plain-text file into database by using EJB?

    Hi,
    We need to develop an on-line application which requires us to load input data
    from a selected plain-text file on the Web server (iplanet server) into the backend
    oracle database. How could I use EJB to make it happen? it seems like using Entity
    EJB is not feasible.
    Really appreciate your help!
    Corona

    Hi Corona,
    "Corona Fang" <[email protected]> wrote in message
    news:3f3b0ea3$[email protected]..
    We need to develop an on-line application which requires us to load inputdata
    from a selected plain-text file on the Web server (iplanet server) intothe backend
    oracle database. How could I use EJB to make it happen? it seems likeusing Entity
    EJB is not feasible.If you are talking about loading thousands of records,
    the preferable way is using plain JDBC calls utilizing
    batch methods.
    Regards,
    Slava Imeshev

  • Reducing image file size for web use without pixelation

    Can anyone help me figure out how to best reduce images for fast web loading (in slideshows in Muse). I have done the save for web in PS and they are super pixelated now. The only versions that do not lose quality are the original size and they are huge files. Any help is appreciated.
    Also can anyone tell me how big each image should be, what is considered a too big size (kb) for web images? Thanks Hillary

    The settings I used were in the save for web panel and I saved the image as "medium" and the quality was 30, optimized was checked and it was scaled down to 16kb instead of 700kb. Is there a guideline as to how large in kb an image should be for good loading, it seems like with faster internet speeds we can go a bit larger for asset size. Is it OK to have an image as 65 kb if it is quite large (8 inched wide)?
    I think I solved the problem. I just went in and saved the images as larger quality. I hope it does not slow things down too much. Any advice would help.

  • File name used by plug-in for saving the image file.

    I have a program that creates a web page that has an object tag with a call to a program and that program delivers a PDF file.  When my users want to save that image the name of the image is a random name.  Is there any way to make the plug-in, Adobe, use the meta tag Title or any other infromation that my program can provide, as image (file)  name to be used for saving the image. (the initial suggested name)?  I really appreciate your help.

    One option is to rename the file after it's been exported using Windows File I/O API.

Maybe you are looking for

  • Disc image input/output error

    When burning a disc image using disc utility, I get the ever so popular input/output error message. I cannot find anywhere on these posts a solution to this problem. It is not dirty discs, etc. It happens when I try to copy dvd's... which are not lic

  • Repairing permssions & memory usage

    Just wondering... For some reason (curiosity, probably; I'm no power user), a while back I got MenuMeters. I've noticed something for some time that is probably nothing to be concerned about but has made me curious again. After my iMac has running fo

  • How to identify the missing reecords once load was performed

    hi experts if  load was performed and we found some missing records are there how to identify them and how to populate them again. if the records are only few we can manually find them and selecting and info package level in data selection we can sen

  • Image Processor keeps crashing CS2

    This started this summer. If I try to use the image processor either from bridge or from the automate menu, PS immediately closes. I've uninstalled and reinstalled more than a few times. I've also deleted preferences, but can't solve this problem. Wo

  • Locked Frequency on Promise SATA/PATA Controller on K8T Neo FIS2R?

    We all know that there is no PCI lock on any K8T800.  However, this link to an Athlon 64 info page on Mushkin's website declares that the Promise contoller on the Asus K8V board has a "locked" frequency.  You'll have to scroll down to the heading "Th