Mysql
 sql >> Teknologi Basis Data >  >> RDS >> Mysql

Apa itu mesin database MySQL?

mysql> SHOW ENGINES;
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| Engine     | Support | Comment                                                        | Transactions | XA   | Savepoints |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| InnoDB     | YES     | Supports transactions, row-level locking, and foreign keys     | YES          | YES  | YES        |
| MRG_MYISAM | YES     | Collection of identical MyISAM tables                          | NO           | NO   | NO         |
| BLACKHOLE  | YES     | /dev/null storage engine (anything you write to it disappears) | NO           | NO   | NO         |
| CSV        | YES     | CSV storage engine                                             | NO           | NO   | NO         |
| MEMORY     | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO   | NO         |
| FEDERATED  | NO      | Federated MySQL storage engine                                 | NULL         | NULL | NULL       |
| ARCHIVE    | YES     | Archive storage engine                                         | NO           | NO   | NO         |
| MyISAM     | DEFAULT | Default engine as of MySQL 3.23 with great performance         | NO           | NO   | NO         |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+

Saya pribadi selalu menggunakan InnoDB jika harus menggunakan MySQL. Ini mendukung transaksi dan kunci asing sementara MyISAM tidak.



  1. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. Karakter buruk saat mencetak teks dari utf8_unicode_ci tabel Mysql

  2. PDO adalah baris yang terpengaruh selama mengeksekusi pernyataan

  3. Pemetaan Doktrin 2 yang merujuk pada kunci unik

  4. Apakah 'IS DISTINCT FROM' adalah operator MySQL asli?

  5. server MySQL intermiten telah hilang kesalahan