What is the BEST way to store pdf files.....

Hi,
I developed an application where we store the pdf docs in the database for every participant(i.e user) and participant can login to their account and view their documents. Now the new requirement is to store nearly 50millions+ of documents every year in that same database (we may keep 2yrs worth of documents). Is that okay?? Do you guys have any other better way of storing and retrieving_ the documents(like in the file-system)?, Is database only the best option???
Thanks
Edited by: balajiv on Sep 26, 2008 6:13 AM

JoachimSauer wrote:
That all depends on your database and how well it handles BLOBs. Storing everything in the DB has the huge advantage of not needing another piece of infrastructure to configure (such as a file server) and using a single technology for all your data access.Then again, storing the files in the DB has the huge disadvantage of the files not being accessible by other applications/users since it's stuck inside the database. It's also a gigantic waste of space as it bloats the database with data that cannot be indexed, related, etc, decreasing performance.

Similar Messages

  • What is the best way to transfer PDF files from my MacBook Air to my iPad2?

    I have updated both OS and trying to find an easy way to transfer pdf files to my iPad.  I have PDF expert on my iPad.

    easy
    install acrobat reader on your Ipad
    attach Ipad to your MAC with USB cable
    open Applications ON you Ipad thru ITUNES
    there is a BOX for Acrobat,..........drag and drop PDF from your MAC into that box of Acrobat for Ipad

  • What is the best way to store temporary files on Azure?

    I am using the Google dot net api to import events from a google calendar.  In order to do the google authorization, it normally uses code like this: 
    private static readonly IAuthorizationCodeFlow flow =
    new GoogleAuthorizationCodeFlow(new GoogleAuthorizationCodeFlow.Initializer
    ClientSecrets = new ClientSecrets
    ClientId = "...........",
    ClientSecret = "............"
    Scopes = new[] { DriveService.Scope.Drive },
    DataStore = new FileDataStore("Calendar.Api.Auth.Store")
    However, the FileDataStore tries to save the auth data locally which doesn't work on Azure.  So, I created my own data store that uses blob storage on Azure.  However, it creates a new file in blob storage every time it is accessed, so I have a ton
    of these temporary files.  I can make a utility to go through and delete these every now and again, but is there a better way to do this?

    Hi,
    The best thing is that each blob has a property which indicate when the particular blob was last modified.
    This value can tell you how old this blob is. And using this value you can select older blobs and delete them.
    You will have to delete them one by one or you can run the code in loop to select all the blobs and delete them.
    For example you can choose to delete blobs which are older then a week or two weeks or a month. So you can choose what blob selection criteria you will use to select the blobs and then delete them.
    CloudBlobClient blobClient = connectionManager.GetBlobServiceClient(storageUri);
    // Next lets select then container which you are looking for your old blobs.
    CloudBlobContainer container = blobClient.GetContainerReference(this.WadBlobContainerName);
    // Now we will select blob query object which will give us the list of selected filtered blobs
    BlobRequestOptions blobQuery = new BlobRequestOptions();
    blobQuery.BlobListingDetails = BlobListingDetails.None;
    blobQuery.UseFlatBlobListing = true;
    // Now we will setup Blob access condition option which will filter all the blobs which are not modified for X (this.DaysToKeep) amount of days
    blobQuery.AccessCondition = AccessCondition.IfNotModifiedSince(DateTime.UtcNow.AddDays(-1 * this.DaysToKeep));
    // Lets Query to do its job
    IEnumerable<IListBlobItem> blobs = container.ListBlobs(blobQuery);
    foreach (IListBlobItem blob in blobs)
    CloudBlob cloudBlob = container.GetBlobReference(blob.Uri.ToString());
    cloudBlob.DeleteIfExists(blobQuery);

  • What is the best way to convert PDF file to ADE?

    Hi
    I have a text PDF and I thought of converting it in to a ePub by extracting it as html and creating OPF, can this be done in any other way?
    thanks in advance

    There are a number of video apps available in the iTunes App Store that can easily handle those videos without any need for conversions. Do a search in the iTunes app on your computer for the file types and it will show video apps that can open those file types.
    If VLC 2 ever makes it to the iTunes App Store, be sure to grab it, it will be free, I use VLC 1.1 on my iPad for avi files, but it is no longer available in the iTunes App Store.

  • What is the best way to put PDF file to iBook

    I've just got iPad 2 as my wedding's gift last two weeks which i have to admit that I'm very very into it.(I currently got iPhone 3G and computer knowledge)
    But the problems is my computer's hdd was full of data and I can't manage to delete some of them now so, it's impossible to put more books in my iTune and sync to iPad as it's a regular way.
    Any one have any suggestion to put the PDF directly to iPad without sync with iTune with the following conditions.
    1. No jailbreak
    2. No paid apps (Pay enough this month)
    3. The file size was quite large (Over 100 Mb each)
    4. Inter/Local net enabled
    Thanks in advance.

    Where are the PDFs ? If they are already on your computer then you can add them to iTunes without a separate copy being created in the iTunes media directory - if you make sure that 'Copy File To iTunes Media Folder When Adding To Library' is unticked on the Advanced tab in Edit  > Preferences then when you add them to iTunes it shouldn't create it's own copy, and should point to their current location instead. You should then be able to sync them as normal.
    If they are on websites then you should be able to open them in Safari and then use 'open in' to copy them to iBooks. You can also email them to yourself as attachments and then use 'open in' in the Mail app.
    There are also apps such as PDF Reader Lite iPad Edition (which is free) which you can use to transfer PDFs to your iPad via your wifi network (or via the file sharing section in iTunes). When the PDFs are then in that app on the iPad you can then copy them from there into iBooks.

  • What is the best way to store and search 2D data

    Hi,
    There is a set of data (~10k records ) in 2D dimension.
    like this :
    Col 1, Col 2, Col3....
    What is the best way to store and search those records ?
    Thanks in advance
    Wilson

    Hi,
    Either userObjet[][] if you know how much data you have, and the data size is fixed, or use a list of lists. E.g. A Vector of Vectors (some will probably say that you should use an ArrayList instead, and that could be the case, but it sounds like you would want to display the data later on, and a DefaultTableModel (for JTables) uses a Vector as data holder).
    Kaj

  • What is the best way to store a battery?

    Hi,
    I have an extra MBP battery. What is the best way to store this extra battery? Should I store it when it is fully charged? or Should I store it when it is half full? Is it necessary to use that batter once in a while?
    Thank you beforehand.
    Bob

    http://www.apple.com/batteries/notebooks.html
    If you're storing it for a long time, put it away when it's about half full. If you have a couple of batteries for your MacBook, I'd recommend swapping batteries once a month or so to extend the life of both batteries.

  • What is the best way to post PDFs in iWeb?

    What is the best way to publish PDFs in iweb so that visitors can open the document, rint and/or save the document?

    jb ~ Welcome to the Support Communities. Rather than creating a new, almost identical thread to correct a typo, you can edit your post within 15 minutes:
    ...Each edit re-starts your 15 minute window for re-editing.

  • How do you move pictures to an external drive to open space on the Mac hard drive? Or what is the best way to store photos safely?

    How do you move pictures to an external drive to open harddrive space? Or what is the best way to store large photo files? Ive tried copy/cut and paste and it doesnt work. I have nothing on my Mac but photos and its telling me startup disk is too full to download updates.

    Are the photos being stored in iPhoto now?
    How is the external disk formatted?
    Allan

  • What is the best way to safeguard my files and pictures before I send off my MacBook Pro to get fixed?

    What is the best way to safeguard my files and pictures before I send off my MacBook Pro to get fixed? I am running Mavericks and use an AirPort Time Machine to back-up all my files.

    Back up all data on the internal drive(s) before you hand over your computer to anyone. You need at least two independent backups to be completely safe. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you know how to restore to an empty drive.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • What is the best way to merge a file content into log file

    What is the best way to merge a file content into log file.
    In worst case, I will read the file line by line as string, then use
    logger.info(lineString)to output to log file.
    However, is there better way to do this?
    The eventual log file will be something like:
    log message 1
    log message 2
    content from file line 1
    content from file line 2
    content from file line 3
    log message 3
    log message 4Thanks

    John618 wrote:
    Thank you and let me explain:
    1. What do you mean by better?
    I would like to see better performance. read line by line and log each line as string can be slow. Did you measure this and determine that it is actually a problem for your application? Or are you guessing?
    Regardless of what you do you are still going to need to read the file.
    >
    2.The only better way I can think of is not having to do it, but I assume you have a very good reason to want to do this.
    Yes, I have to do it beacuse the requirement is to have that file content be part of logging.
    Any idea?How is it supposed to be part of it? For example which of the following is better?
            File AAA - contents
                       First Line
                       Second Line XXX
            Log 1
                    2009-03-27 DEBUG: Random preceding line
                    2009-03-27 DEBUG: First Line
                    2009-03-27 DEBUG: Second Line XXX
                    2009-03-27 DEBUG: Random following line
            Log 2
                    2009-03-27 DEBUG: Random preceding line
                    2009-03-27 DEBUG: ----- File: AAA -------------
                    First Line
                    Second Line XXX
                    2009-03-27 DEBUG: Random following lineBoth of the above have some advantages and disadvantages.
    The first in a mult-threaded app can end up with intermittent log entries in between lines, so having log lines with thread ids becomes important.
    The first can be created by reading one line at a time and posting one at a time.
    The second can be created by reading the entire file as a single string and then posting using a single log statement.

  • What is the best way to find a file on the servers disk without using web.xml?

              What is the best way to find a file on the servers disk without using web.xml?
              I want to find a configuration file not contained within the war file I have
              created. Is there a way to pass information into the ServletContext with out
              rebuilding the ear or war files? Tomcat 4.0 can do this in its server configuration
              files. Does BEA have the equivalent?
              Regards,
              Eric
              

    You can specify the path to the file as a system property
              eg
              java -Dconfig.file.location=./mydirecotry/myfile.txt com.test.MyApp
              "Eric White" <[email protected]> wrote in message
              news:[email protected]..
              >
              > What is the best way to find a file on the servers disk without using
              web.xml?
              > I want to find a configuration file not contained within the war file I
              have
              > created. Is there a way to pass information into the ServletContext with
              out
              > rebuilding the ear or war files? Tomcat 4.0 can do this in its server
              configuration
              > files. Does BEA have the equivalent?
              >
              > Regards,
              > Eric
              

  • What is the best way to name a file?

    What is the best way to name a file? Use "_" so that the characters make one, long name? Why do that?

    Another take on naming files, particularly image files, is like this:
    I use a file remaning application like Name Mangler to back, sequentially rename the photos.  I put them in a folder with a similar name.  Using the format I do, YYYY-MM-DD- Description-001.jpg, they are easy to sort by date by sorting alphanumerically.
    OT

  • What is the best way to keep your files organised

    I would like to know what is the best way to keep your file organise when I am
    Loading program's like numbers and pages from iPhone to MacBook i alway 
    Get double of the same work sheet

    I would like to know what is the best way to keep your file organise when I am
    Loading program's like numbers and pages from iPhone to MacBook i alway 
    Get double of the same work sheet

  • What is the best way to run .exe files on my mac?

    What is the best way to run .exe files on my mac? I need to run some updates for my john deere gps and the downloads i get can only be run on windows.

    There are several options for running Windows software (*.exe files) on a Mac, depending what your program is, how often you use it, and your personal preferences.
    One way that does not require Windows is an open source effort called WINE.  Check out winehq.org.  You may find that that's all you need for your programs.  There is also a commercial effort that has grown from WINE, and you will find info about it on the site mentioned.  These DO NOT require that you have and install Windows.
    If you want to run sessions devoted only to Windows software, and want programs to run as fast as they do on a PC, the Apple's Bootcamp program is useful.  With it you dedicate a partition on your hard disk to windows, and on startup choose to either boot into OS X or Windows.  Each runs without any connection to the other.  This requires you have a copy of the Windows software as well as the applications you want to run. 
    If you want to be able to easily exchange data between your Windows and Mac programs, and skip back and forth between the two, there are several emulators available that run on Mac OS X and create a Windows environment where many Windows programs can operate along side Mac programs.  Parallels and VMwear are two comercial packages available for purchase and Virtual Box is an open source effort available for free.  Google will find all three for you.
    My only experience is with Virtual Box.  It is slow and a bit clunky, but it is free and meets my needs for the very few "just got to have" windows programs I sometimes use.
    Google is your friend on this and can provide a lot more, and better, information than I can.
    Best of luck,
    Ray

Maybe you are looking for

  • How can i connect macbook 5.1 to mac mini (2012)?

    I would like to be able to use the macbook as an external drive to burn cds from itunes.  I set up remote disc, and the mac mini will find and ask permission to use my drive, but the macbook drive never responds.

  • Help needed with printer settings for wired ethernet connection

    I'm hoping someone can help me with a network printing issue. I have a large format color laser printer (Tektronix Phaser) and since moving to OS 10.6 I can't figure out how to configure the printer so that the system sees it. I have a simple wired e

  • Header Text exceeding 40 chars in ALV Grid display

    Hi I have an ALV (GRID) report, where one of the column headings has text length exceeding 40 chars. In my code, I have declared -  wa_fieldcat-seltext_l   = text-017, where the seltext_l length is restricted to 40chars. Is there any way by which i c

  • Transaction code EEWB in ECC6.0

    Hi, I would like to know about EEWB (Easy Enhance Workbench). Is this function only for CRM or also supports field extension in ECC6.0? I found that there is a transaction code EEWB in ECC6.0 and it starts. Thanks in advance. Makoto

  • Line item in sales order

    Hi sdn team, can i delete line items in sales order...i mean i was asked not to do so..... when i do so what kind of consequences will i have to look forward to? regards.