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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:12:35+00:00 2026-05-21T23:12:35+00:00

Sure, for a transactional database InnoDB is a slam dunk. MyISAM doesn’t support transactions

  • 0

Sure, for a transactional database InnoDB is a slam dunk. MyISAM doesn’t support transactions or row-level locking.

But what if I want to do big nasty batch queries that touch hundreds of millions of rows?

Are there areas where MyISAM has relative advantage over InnoDB??

eg, one (minor) one that I know of … “select count(*) from my_table;” MyISAM knows the answer to this instantly whereas InnoDB may take a minute or more to make up its mind.

— Dave

  • 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-21T23:12:36+00:00Added an answer on May 21, 2026 at 11:12 pm

    MyISAM scales better with very large datasets. InnoDB outperforms MyISAM in many situations until it can’t keep the indexes in memory, then performance drop drastically.

    MyISAM also supports MERGE tables, which is sort of a “poor man’s” sharding. You can add/remove very large sets of data instantaneously. For example, if you have 1 table per business quarter, you can create a merge table of the last 4 quarters, or a specific year, or any range you want. Rather than exporting, deleting and importing to shift data around, you can just redeclare the underlying MERGE table contents. No code change required since the name of the table doesn’t change.

    MyISAM is also better suited for logging, when you are only adding to a table. Like MERGE tables, you can easily swap out (rotate “logs”) a table and/or copy it.

    You can copy the DB files associated with a MyISAM table to another computer and just put them in the MySQL data directory and MySQL will automatically add them to the available tables. You can’t do that with InnoDB, you need to export/import.

    These are all specific cases, but I’ve taken advantage of each one a number of times.

    Of course, with replication, you could use both. A table can be InnoDB on the master and MyISAM on the slave. The structure has to be the same, not the table type. Then you can get the best of both. The BLACKHOLE table type works this way.

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

Sidebar

Related Questions

my application has the following database structure: Transactions: - TransactionID (PK, Identity) - Type
I'm writing some Unit tests against a database, and we're using transactions to make
Not sure how to describe what I'm trying to get from this question, but
I am not sure if the transaction log is what I need or what.
I am not sure what the most appropriate way to handle JPA objects that
I am not sure why this is not firing and I didnt want to
Not sure the most effient way to do this. Bash seems the easiest, I
Not sure how to use the modulus operator to achieve this: <table border=1> <tr>
First, some background: I'm new to ASP.NET MVC 2 and NHibernate. I'm starting my
I'm trying to implement a transaction with entity framework 4. From what I've read,

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.