アプリ関連ニュース
- 2020年9月16日
- 他の話題
今週発売予定の新世代GPUについて
tanaka at 2020年09月16日 10:00:22
- 2020年9月11日
- 技術情報
InnoDB vs MyISAM
I talked about what is the MySQL storage engine last week. Today I will talk about the main difference between InnoDB and MyISAM.
The main difference between MyISAM and InnoDB are :
MyISAM does not support transactions by tables while InnoDB supports.
There are no possibility of row-level locking, relational integrity in MyISAM but with InnoDB this is possible. MyISAM has table-level locking.
InnoDB does not support FULLTEXT index while MyISAM supports.
Performance speed of MyISAM table is much higher as compared with tables in InnoDB.
InnoDB is better option while you are dealing with larger database because it supports transactions, volume while MyISAM is suitable for small project.
As InnoDB supports row-level locking which means inserting and updating is much faster as compared with MyISAM.
InnoDB supports ACID (Atomicity, Consistency, Isolation and Durability) property while MyISAM does not support.
In InnoDB table,AUTO_INCREMENT field is a part of index.
Once table in InnoDB is deleted then it can not re-establish.
InnoDB does not save data as table level so while implementation of select count(*) from table will again scan the whole table to calculate the number of rows while MyISAM save data as table level so you can easily read out the saved row number.
MyISAM does not support FOREIGN-KEY referential-integrity constraints while InnoDB supports.
By Yuuma
yuuma at 2020年09月11日 11:00:28
- 2020年9月11日
- VR
[VR] Facebook Connect 7 情報
昨年、当ブログにて「[VR] Oculus Connect 6 アップデート情報」を掲載いたしました。今年は「Oculus Connect」から「Facebook Connect」に名称を変更して開催されるようです。
続きを読むnishida at 2020年09月11日 10:00:53
- 2020年9月09日
- Windows
Windows10の機能を使ってPCをサブディスプレイ化してみよう
tanaka at 2020年09月09日 10:00:58
- 2020年9月07日
- 技術情報
MySQL Storage Engines
Lets talk about the MySQL storage engines today.
A storage engine is a software module that uses a database management system to create, read, and update data in a database. There are two types of storage engines in MySQL: transactional and non-transactional.
For MySQL 5.5 and later, the default storage engine is InnoDB. The default storage engine for MySQL prior to version 5.5 was MyISAM. Choosing the right storage engine is an important strategic decision that will affect future development. In this tutorial, we will use MyISAM, InnoDB, Memory, and CSV storage engines. If you are new to MySQL and are studying the MySQL database management system, then this is not a big concern. If you are planning a production database, things get more complicated.
MySQL supported storage engines:
- InnoDB
- MyISAM
- Memory
- CSV
- Merge
- Archive
- etc.
Today I will talk about the two main engines of MySQL. InnoDB & MyISAM.
InnoDB
InnoDB tables are fully transaction and ACID compliant. They are also optimal for performance. The InnoDB table supports foreign key, commit, rollback, and forward operations. The size of an InnoDB table can be up to 64TB.
Like MyISAM, InnoDB tables are portable between different platforms and operating systems. MySQL also checks and repairs InnoDB tables, if necessary, at startup.
MyISAM
MyISAM extends the old ISAM storage engine. MyISAM tables are optimized for compression and speed. MyISAM tables are also portable across platforms and operating systems.
The size of the MyISAM table can be up to 256TB, which is huge. Also, MyISAM tables can be compressed into read-only tables to save space. At startup, MySQL checks MyISAM tables for corruption and even repairs them in case of errors. MyISAM tables are not transaction safe.
Before MySQL version 5.5, MyISAM was the default storage engine when you create a table without specifying the storage engine explicitly. Since version 5.5, MySQL uses InnoDB as the default storage engine.
By Yuuma
yuuma at 2020年09月07日 11:00:08