For the online store engine: InnoDB or MyISAM?

For the online store engine (php), which type of tables is better to do: InnoDB or MyISAM ?

What are the differences between these types?

How can you justify your choice?

 0
Author: Deleted, 2013-02-24

4 answers

If such a question arises, it is better to take MyISAM: more tolerance for glitches and sloppy handling. InnoDB allows you to lock tables normally, it works a little faster. But in the event of a breakage of the table without a backup, it is almost impossible to restore it.

 2
Author: knes, 2013-02-24 12:55:57

A store? Only InnoDB, because you'll probably need transactions.

Just configure the server correctly, so that "tolerance for glitches and sloppy handling" is not useful to you.

And better-take the same postgres.

 2
Author: Pavel Mayorov, 2016-10-18 16:56:15

Most likely, you will not feel the difference.

InnoDB vs MyISAM

I wrote the article a long time ago, but nothing has changed fundamentally.

 0
Author: fStrange, 2013-02-24 22:51:59

InnoDB. Because there are 2 big advantages:

  • does not block the entire table but only one row (MyISAM blocks the entire table)
  • you can build links
 0
Author: Valeriu Vodnicear, 2018-04-14 12:29:24