Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
It is a generally accepted fact that no flat-file database can support more than 5,173 items until performance starts to deteriorate rapidly. The maximum number of elements that any flat file database can support is limited to 23,987.


Just kidding. The real answer is: it depends

  • How large are the items in the DB
  • In what ways are they accessed (read, written, updated)
  • How is the flat-file DB implemented ("by hand", DBD::CSV, or something else)
  • Are there any locking or atomicity issues to consider

Strictly speaking, the amout of data that a flat-file DB can handle is only limited by the maximum filesize that your filesystem will support. However, at some point performance will become unacceptable. About the only way for you to come up with a good answer is to benchmark your system. Loading it with various amounts of data and benchmarking performance of various sample operations.


In reply to Re: When is a flat file DB not enough? by lhoward
in thread When is a flat file DB not enough? by TrinityInfinity

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found