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 285633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:33:50+00:00 2026-05-12T05:33:50+00:00

Consider this scenario with the following assumptions: The database is used for a non-critical

  • 0

Consider this scenario with the following assumptions:

  • The database is used for a non-critical webapp.
  • Query speed is of vital importance.
  • The read/write patterns are roughly >95 % reads and <5 % writes.
  • The database is backuped up daily using mysqldump.
  • The is no need for transactions or advanced crash recovery. If the database crashes I’ll simply import last night’s mysqldump. This is good enough in this scenario.
  • No need for full-text searching.

Pros of MyISAM under said assumptions:

  • It’s very fast (with one exception – see below).
  • It’s light-weight and has an easy-to-understand mapping between database/table to physical files in file system (.MYD/.MYI/.frm).
  • Easy backup (mysqldump).

All-in-all I’m very happy with MyISAM with one major exception. MyISAM has one major shortcoming under said assumptions and that is table level locking. When UPDATEs are running towards a frequently read table all reads are blocked. Needless to say this causes major performance problems which must be solved.

My questions are:

  1. Is there some way to get rid of table level locking without switching away from MyISAM?
  2. If I must switch to InnoDB – how do I configure InnoDB so that it behaves as similar to MyISAM as possible (think no transactions, logical file structure, etc.). How do I configure a InnoDB to be “just like MyISAM but without table level locking”?
  • 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-12T05:33:51+00:00Added an answer on May 12, 2026 at 5:33 am
    1. No, MyISAM means table level locking.
    2. You can’t get it “just like”, but you can get it “a lot more like” by turning on the innodb_file_per_table option. InnoDB will still store critical information in its system-level data file, however, and you can’t do things like casually rename a database by renaming the directory it lives in like you can with MyISAM.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this scenario: I've an XML file called person.xml with the following data in
consider the following scenario: site/app is only used online - requires active internet connection;
Consider the following scenario (this is not production code): class MyClass { public function
This might be a novice question. :). Consider the following scenario. Suppose we have
consider following scenario input string = WIPR.NS i have to replace this with WIPR2.NS
Consider the following scenario: A process on the server is used to handle data
Consider this scenario. I have my own website, that I use as my identifier,
Consider this scenario. I have an object, lets call it.... Foo. Foo raises a
Please Consider this scenario: We have a base class called clsMain : class clsMain
If we consider a std::string implementation that uses reference counting, consider this scenario: int

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.