Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4338342
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:04:08+00:00 2026-05-21T11:04:08+00:00

Is the internal locking of MySQL sufficient for a small to medium sized website?

  • 0

Is the internal locking of MySQL sufficient for a small to medium sized website? My tables are MyISAM. There might be a few hundred people concurrently hitting a specific table with SELECT’S and INSERT’s. None of the INSERT/UPDATE queries would overlap. That is, no two users will be updating the same comment ID. INSERT’s/UPDATE’s would be one-off operations—there would be no reading of data and performing additional operations within the same query.

Specifically, I am setting up a comment/chat system for my website. At worst, there might be a couple of hundred people performing a SELECT statement on the comment/chat tables in order to read new posts. With respect to INSERT’s, there might be 100(?) different people trying to INSERT a new comment at any time.

I found this article in another question on SO, and it states that LOCK TABLES is “never required for self-contained insert, update, or delete operations.” Is this good practice for the amount of DB traffic that I might have? TIA for any advice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:04:08+00:00Added an answer on May 21, 2026 at 11:04 am

    The only form of locking MyISAM tables is table locks. The idea is that they designed it to be way-fast enough that no one else should need access while it works. Right – YMM definitely V. But for most small-to-medium-size websites, it’s fine. For intance, that’s what WordPress uses.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://dev.mysql.com/doc/refman/5.0/en/internal-locking.html The following is the extract from the documentation. mysql> LOCK TABLES real_table WRITE,
I'm trying to speed up SELECT queries in MySQL tables which already have some
Firstly, I have searched for related answers, there is a few - but couldn't
To start, a few details to describe the situation as a whole: MySQL (5.1.50)
We are looking to turn an internal tool we have developed into a Visual
I'm looking for an external API (or internal) that gives me the ability to
I am looking at developing a HTTP-based server for storing and later retrieving internal
I have been looking at the example posted on OpenNTF - http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=Threads%20and%20Jobs my issue
Any advice how to access an internal method var of jQuery Masony? I'm looking
OleDbDataAdapter internal error: invalid row set accessor: Ordinal=6 Status=UNSUPPORTEDCONVERSION All I'm doing is trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.