innodb_vs_myisam
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
innodb_vs_myisam [2017/06/26 13:11] – luke7858 | innodb_vs_myisam [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=== InnoDB vs MyISAM === | === InnoDB vs MyISAM === | ||
^ InnoDB ^ MyISAM ^ | ^ InnoDB ^ MyISAM ^ | ||
- | | Default Engine in mysql 5.5.5 and above | MyISAM Engine in mysql versions below 5.5.5 | | + | | Default Engine in mysql 5.5.5 and above |
| Row-level locking - less issues with backups | Full Table-level locking - lots of backup issues | | | Row-level locking - less issues with backups | Full Table-level locking - lots of backup issues | | ||
| Crash Recovery | NO crash recovery | | | Crash Recovery | NO crash recovery | | ||
- | | No full text search in versions | + | | No full text search in versions 5.6 and greater |
- | | | | | + | | .idb, .FRM, |
+ | \\ | ||
+ | === InnoDB === | ||
+ | InnoDB is a highly reliable, high performance engine. | ||
+ | \\ | ||
+ | ACID compliant (Atomicity, Consistency, | ||
+ | \\ | ||
+ | Supports FOREIGN Key Constraints (https:// | ||
+ | \\ | ||
+ | \\ | ||
=== MyISAM === | === MyISAM === | ||
MyISAM offers NO data integrity. It does NOT play well with unclean shutdowns and cancelled operations which can in turn cause data corruption. To attempt to resolve you would need to run a full repair or rebuild on indexes and tables. | MyISAM offers NO data integrity. It does NOT play well with unclean shutdowns and cancelled operations which can in turn cause data corruption. To attempt to resolve you would need to run a full repair or rebuild on indexes and tables. | ||
\\ | \\ | ||
+ | If you are importing a database and it crashes halfway through, you will have half of the data imported and not the other half. Its NOT an all-or-nothing situation where as InnoDB is. | ||
\\ | \\ | ||
- | __Sources__: | + | \\ |
+ | __Sources__: | ||
+ | \\ | ||
+ | https:// | ||
+ | \\ |
innodb_vs_myisam.1498482716.txt.gz · Last modified: 2024/05/23 07:26 (external edit)