Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • > There are legitimate uses for MyISAM, but not many.

    Like maybe a counter script, or some sort of simple log table, which about the most sophisticated things I've ever used it for.
    • by Abigail (26) on 2006.12.12 8:30 (#52222) Journal
      No, not even a counter script. Remember, MyISAM doesn't give you transactions, and for a counter script, you generally want to do:

          update counter set value = value + 1
          select value from counter
      and you want to do that atomically.

      Without transactions, why even bother having a database server?

      • Of course, for a counter you want to do

        insert ip into counter
        :-), and for querying it then

        select count(*) from counter
        ... Now, if that's actually better than just an atomic append of a(ny) line to a text file remains to be discussed ...