Categories: MySQL

MyISAM vs Innodb

Share

MyISAM vs Innodb – both are commonly used engines on MySQL servers and they both have their unique advantages and disadvantages against each other. MyISAM is the default storage engine type for MySQL 5.0 but the Cloud Sites environment defaults the storage engine to Innodb.

MyISAM vs Innodb:

MyISAM: Table level locking.
Innodb: Row level locking.

MyISAM: Full repair/rebuild of indexes/tables.
Innodb: Recovers from a crash or other unexpected shutdown by replaying its logs.

MyISAM: No ordering in storage of data.
Innodb: Row data stored in pages in PK order.

MyISAM: MySQL 5.0 Default Engine.
Innodb: Rackspace Cloud Default Engine.

Read Also: Compare two tables in MySQL

MyISAM: Not ACID compliant and non-transactional.
Innodb: ACID compliant and hence fully transactional with ROLLBACK and COMMIT and support for Foreign Keys.

MyISAM: Each MyISAM table is stored in a separate file, which could be compressed then with myisamchk if needed.
Innodb: Tables are stored in tablespace, and not much further optimization is possible.

MyISAM: Full text indexing is available.
Innodb: No full text indexing is available for InnoDB.

[ACID – Atomicity, Consistency, Isolation, Durability]

Recent Posts

Unveiling the Truth: Is the Spread of Sinus Infections a Myth or Reality?

Sinus infections, impacting approximately 31 million Americans each year, represent a significant health concern stemming…

1 day ago

Best Exercises To Reduce Weight & Keep You Stronger & Fitter!

No doubt that balanced weight is the key to wellness. So, when it comes to…

1 day ago

ARTIFICIAL INTELLIGENCE: Advantages And Disadvantages? Everything You Need to Know

Pros And Cons Of AI: Artificial Intelligence directly translates to conceptualizing and building machines that…

2 days ago

Four common mistakes when picking an internet provider

We all live on the internet; we use it for everything. Thus, when it comes…

2 days ago

What Is Commonly Misdiagnosed as Pink Eye: Understanding Eye Conditions and Their Symptoms

Introduction: Pink eye, or conjunctivitis, is a common eye condition characterized by redness and inflammation…

2 days ago

Why Flexible Financing is the Future of Small Business

Small businesses are the backbone of the economy. Still, they often face daunting hurdles when…

2 days ago