Hey, I have taken two database courses, and I had a very good introduction to the concept of relational databases (IMHO).

I wanted to just remind all the people here how powerful a flat text file is for simple data storage. You are right, Jonathan for having asked those questions. Everything depends on what type of data ZZamboni wants to store, and how he needs to process it.

I will add my two cents to the thread by saying that for simple storage, there is nothing better than flat files. The flat files are growing up? So what??? Why aren't you updating the system so that it would use more than one unique file. Imagine you have 10,000 items to store. Well, why not having 10 files to store them? The first file for the first 1000 items, and so forth. Speedwise, I am telling you, you will end up with something a LOT faster than any other big DB package or wrapper like all the DBI stuff. Because those packages are, in fact, also using some big files I guess...
So... how complex is your data? How do you want to access it? Do you need any relational concepts? If the only concern you have is the speed, then my advice would be Keep the flat file system - Just improve it a little!.

In reply to The POWER of flat files by gaggio
in thread DBI vs MLDBM/GDBM_File, etc. by ZZamboni

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.