• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Urgent comments needed please - file storage (DB vs. File Server)

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a small reporting system that I have written, where I generate PDF, XML, CSV reports. Currently I am storing the generated reports as binaryarray in the LONG RAW field of Oracle. My system generates 30-35 reports that have an average size of 57K. The max report size to date has been 1.2 MB, although there are less than 1% of reports that are of size > 1MB.
I am resisting moves to start storing my reports on file server because of tremendous time pressures. Can someopne suggest good reasons of db storage over file server storage? Are there any resources that you are aware of on the internet that can help me present with an arguement.
Thanks a lot for your help.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Prateek, I seem to run into this question a lot. For me, the arguments in favor of using the database (ORACLE or SQL Server, or whatever) are that there are integrated backup facilities and transactions logs to allow recovery in the event of a problem. These same things can be accomplished in file space, but there's more work involved.

Originally posted by Prateek Gupta:
Hi,
I have a small reporting system that I have written, where I generate PDF, XML, CSV reports. Currently I am storing the generated reports as binaryarray in the LONG RAW field of Oracle. My system generates 30-35 reports that have an average size of 57K. The max report size to date has been 1.2 MB, although there are less than 1% of reports that are of size > 1MB.
I am resisting moves to start storing my reports on file server because of tremendous time pressures. Can someopne suggest good reasons of db storage over file server storage? Are there any resources that you are aware of on the internet that can help me present with an arguement.
Thanks a lot for your help.

 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Prateek Gupta:
I am resisting moves to start storing my reports on file server because of tremendous time pressures. Can someopne suggest good reasons of db storage over file server storage? Are there any resources that you are aware of on the internet that can help me present with an arguement.
Thanks a lot for your help.


In my humble opinion, not having the time to move the file server implementation would be my only argument here. From the small description you gave, it really seems as using the database was overkill, only adding unnecessary complexity to the system.
And as a general principle, I don't lie to my customer.
But I am curious:
What are your time pressures? Why did you start with a database? And where does the requirement to move to a file server come from?
 
reply
    Bookmark Topic Watch Topic
  • New Topic