I've been struggling with the same decision for one of my projects: text-based database vs. MySQL (or PostIngres or even other more costly RDBMS'es). I've been asked to take over for another consultant who has recently become consumed by the arrangements for his daughter's Bat Mitzvah.

He chose the module JSprite, which is a standalone version of DBD::Sprite, for better or worse. This works fairly well, with each "table" being stored in its own (CSV) file, the directory containing these being nicely contained in one place.

My own concern is less about speed (which cannot begin to compete with an RDBMS) than about mutli-user access (the client claims not to expect more than 10-12 users at any given time).

JSprite uses flock() to manage contention, which, although arguably adequate for 10-12 users, is certainly insufficient for ten times that many.

Still agonizing over whether to force the issue, I'm proceeding with development using the JSprite configuration. One nice thing about the SQL syntax it supports is that it is vaguely Oracle-like in form. Once the system is running, I can replace the underlying database (if necessary) with a minimum of pain.

Not sure how helpful this was to you...

dmm


In reply to Re (2): Single file RDBMS w/o system install by dmmiller2k
in thread Single file RDBMS w/o system install by gryphon

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.