Hi monks,

I've got a couple of MySQL questions which I hope you can help - pardon me for asking them here.

Say I've got a single database and I set it up with, say, 6 tables - one for storing members' profiles, one for storing members' test scores, one for storing forum data, one for storing the questions, and one for keeping track of online statistics (such as number of members and guests online).

Each time a member logs in, the database will be updated with information on date of log in, etc and each time a member does something (e.g. do a test), the database will be updated with the test result. So there's going to be quite a bit of load on the database. My question is: Would there be problems if, say, 10 members do a test and updates of their test scores are needed concurrently? How does MySQL deal with such problems? Is there any special syntax that needs to be used?

20031125 Edit by BazB: Changed title from 'help with mysql questions'


In reply to OT: help with MySQL questions by kiat

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.