Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

It's kinda hard to answer this question. In my experience, neither system has ever messed me up, but then I've never pushed a .dbm file very hard. Safer how? How would you measure such a thing? When is failure due to a bug, or to programmer stupidity / lack of foresight / lapses in judgment ?

MySQL is an RDBMS with network capability. If you're running it as such, well, then, since it's not gonna be bug-free, then you have the possibility of a bad access configuration or (less likely) a remote security hole, which ain't there with a dbm file on a local disk.

OTOH, Large sites run MySQL and, while at least one of those sites uses multiple DBs and has failover schemes, to the best of my knowledge neither has had a major database corruption issue that could be traced to a MySQL failure (I'm prepared to be corrected on that).

It's hard to compare two different things like this: one gives you an SQL interface and networkability, while the other doesn't (not by itself). MySQL also handles concurrency issues for you (what if more than one reader or writer accesses the data at the same time), which can be a bit of a headache with dbm files.

But no matter which you would use, if keeping your data safe is *that* important, then back it up regularly. If the hard drive fries, neither system will help you.

If not P, what? Q maybe?
"Sidney Morgenbesser"


In reply to Re: MySQL,, OR normal DB! by arturo
in thread MySQL,, OR normal DB! by ACJavascript

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 having a coffee break in the Monastery: (4)
As of 2024-04-23 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found