2009-11-07 7 views
7

私は、すべてのMysqlエンジンともちろん最も人気のあるものとの間の主な違いの要約を作成したいと思います。すべてのmysqlエンジンの主な違いは何ですか?

使用するエンジンを判断する基準は何ですか?

+1

「使用するエンジンを判断する基準は何ですか?」 - それはあなたの特定の要件に依存しませんか? –

+2

彼はどのエンジンを使用すべきかを判断するために**どのように**エンジンを使用するべきかを**求める方法を求めています。それは完全に有効な質問です。 –

答えて

1

ラースとフィルのように、マニュアルを見てください。

プライマリエンジン(MyISAMとinnoDB)の違いはトランザクションサポート、キーサポート、ロックレベル(MyISAMはテーブル全体をロックし、innoDBは行レベルのロックを持っています)、そしてMVCC。それらの間にはあまりにも多くの違いがあります。 、ラースDが言うように サンティアゴBasulto.-

3

これは非常によく、ここで記述されている - プロMySQLのプレスカンファレンス2005

を::

http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html

私はあなたを見てみることをお勧めしますこのデータは上記のリンクから得られたものです。

*************************** 1. row *************************** 
Engine: MyISAM 
Support: DEFAULT 
Comment: Default engine as of MySQL 3.23 with great performance 
*************************** 2. row *************************** 
Engine: MEMORY 
Support: YES 
Comment: Hash based, stored in memory, useful for temporary tables 
*************************** 3. row *************************** 
Engine: HEAP 
Support: YES 
Comment: Alias for MEMORY 
*************************** 4. row *************************** 
Engine: MERGE 
Support: YES 
Comment: Collection of identical MyISAM tables 
*************************** 5. row *************************** 
Engine: MRG_MYISAM 
Support: YES 
Comment: Alias for MERGE 
*************************** 6. row *************************** 
Engine: ISAM 
Support: NO 
Comment: Obsolete storage engine, now replaced by MyISAM 
*************************** 7. row *************************** 
Engine: MRG_ISAM 
Support: NO 
Comment: Obsolete storage engine, now replaced by MERGE 
*************************** 8. row *************************** 
Engine: InnoDB 
Support: YES 
Comment: Supports transactions, row-level locking, and foreign keys 
*************************** 9. row *************************** 
Engine: INNOBASE 
Support: YES 
Comment: Alias for INNODB 
*************************** 10. row *************************** 
Engine: BDB 
Support: YES 
Comment: Supports transactions and page-level locking 
*************************** 11. row *************************** 
Engine: BERKELEYDB 
Support: YES 
Comment: Alias for BDB 
*************************** 12. row *************************** 
Engine: NDBCLUSTER 
Support: NO 
Comment: Clustered, fault-tolerant, memory-based tables 
*************************** 13. row *************************** 
Engine: NDB 
Support: NO 
Comment: Alias for NDBCLUSTER 
*************************** 14. row *************************** 
Engine: EXAMPLE 
Support: NO 
Comment: Example storage engine 
*************************** 15. row *************************** 
Engine: ARCHIVE 
Support: YES 
Comment: Archive storage engine 
*************************** 16. row *************************** 
Engine: CSV 
Support: NO 
Comment: CSV storage engine 
*************************** 17. row *************************** 
Engine: FEDERATED 
Support: YES 
Comment: Federated MySQL storage engine 
*************************** 18. row *************************** 
Engine: BLACKHOLE 
Support: YES 
Comment: /dev/null storage engine (anything you write to it disappears) 
関連する問題