When will I reach the limit in which I'll have to migrate this database to MySQL?

A 71KB flat file database is pretty small by today's standards. If it's a single-user database that you aren't performing complex queries against, you are potentially fine up through several megabytes.

But there are reasons beside size to consider moving to an RDBMS. For one, you get the benefits of indexing (fast record lookup) and SQL to allow you to express complex queries. Perhaps not an issue if you're never going to grow past a single table, but something you'll need as you split into multiple tables. Next up is concurrent access control, which you can do by hand (via flock()) for a single table database, but which is a major nuisance once you get past one table. And then there's the ability to roll back a transaction. Again, not a problem for single table flat file database, but a big win when you're doing something involving multiple people doing work simultaneously against multiple tables.

There are also costs: RDBMSs require a bit of care and feeding that flatfiles don't. This varies by RDBMS; MySQL isn't too bad.


In reply to Re: Text Handling Limit by dws
in thread Text Handling Limit by Anonymous Monk

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.