please dont yell at me for stupidity, for if you do it will be for stupidity's sake. i have been developing a small database and have run into a bit of a snag. i want to be able to read in parts of a database (records) without reading in the whole file. i also want it to be able to expand as much as possible. so, it cant be fixed-length. how would i do this? i can read in parts of a database if it's fixed-length records, and i can pretty much scan for one record in the entire file by reading it into memory, but these arent very good alternatives to my exponentially-expanding memory-easy database.

if anyone has a suggestion/code excerpt i would be so happy to get it i would give you props and a quick sponsor in my source code. i am developing the FreeBASE, and you can message or email me for the source code URL.

In reply to The Never-ending Database by psypete

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.