MYISAM engine : MyISAM « Engine « SQL / MySQL






MYISAM engine

     
mysql>
mysql> CREATE TABLE SEXES
    ->    (SEX CHAR(1) NOT NULL PRIMARY KEY)
    ->    ENGINE = MYISAM;
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql>
mysql> SELECT   TABLE_NAME, ENGINE
    -> FROM     INFORMATION_SCHEMA.TABLES
    -> WHERE    TABLE_NAME IN ('EmployeeS', 'PENALTIES', 'SEXES');
+------------+--------+
| TABLE_NAME | ENGINE |
+------------+--------+
| sexes      | MyISAM |
+------------+--------+
1 row in set (0.00 sec)

mysql>
mysql> drop table sexes;
Query OK, 0 rows affected (0.00 sec)

mysql>

   
    
    
    
    
  








Related examples in the same category

1.MyISAM storage engine supports composite indexes that include an AUTO_INCREMENT column.
2.Change the Type of the Table (MyISAM, InnoDB)
3.Secure backup of a MyISAM database: --lock-all-tables:
4.Change it to the more efficient MyISAM type.
5.ENGINE = {BDB | MEMORY | ISAM | INNODB | MERGE | MYISAM}