Subject | Re: Re: to blob or not to blob? |
---|---|
Author | Yiorgos Stamoulis |
Post date | 2005-05-21T19:07:25Z |
Aage Johansen wrote:
read somewhere the firebird engine does some sort of compression, or was
it for column data only? Helen?
>There are 25 messages in this issue.being plain text files they should compress ~90%, good. I think I 've
>
>
>
>Yiorgos Stamoulis wrote:
> > I am developing a utility that keeps copies of all printjobs done
> > through a unix (SCO ;-( ) server.
> > Up to now I was using firebird to log some details for each printjob but
> > I was keeping the actual printjob file in a directory the unix filesystem.
> > As I am facing problems with the number of files (~ 25.000 in the last 2
> > months) I have to make a decision either to store the files in a
> > hierarchical directory structure or as blobs in the database. The size
> > of the files varies but the are generally small, averaging ~10Kb.
> > Assuming a cycle of one year, I have to be able to keep ~ 150.000 blobs,
> > ~ 1.5Gb, possibly more.
>
>You might consider compressing the files before sending them off to the
>server. My guess is that print files will compress very well.
>
>
read somewhere the firebird engine does some sort of compression, or was
it for column data only? Helen?
> >That's what I wanted to hear.
> > My question is whether firebird can handle this volume of blobs with no
> > problem.
>
>Shouldn't be a problem.
>
>
>actually, servers do not grow on trees . . . :-(
> > I will be using Delphi & IBObjects (which is a giant leap after native
> > Delphi tools!).
>
>Good choice!
>
>
> > The utility is an administration/reporting tool for me
> > and the accounting department of my company. Firebird (1.5.2) lives on
> > a linux server (P4 3.0, 512Mb, Fedora 3, xfs filesystem on raid 1) that
> > will also be a file server.
>
>One server being both database and file server may not be optimal.
>
>
>YMMV... If this is the only database activity on this server it probablyThere are going to be more database activity, but nothing heavy.
>doesn't matter much.
>
>
>Thanx.
>--
>Aage J.ONewConnection('firebird');
>
>