2010年1月31日日曜日

[MySQL] ストレージエンジンを確認する

MySQLにて特定のテーブルが使用するストレージエンジンを確認したい場合は、SHOW TABLE STATUS コマンドを使用します。

使用例:
mysql> SHOW TABLE STATUS LIKE 'node' \G
*************************** 1. row ***************************
Name: node
Engine: MyISAM
Version: 10
Row_format: Dynamic
Rows: 3
Avg_row_length: 66
Data_length: 200
Max_data_length: 281474976710655
Index_length: 19456
Data_free: 0
Auto_increment: 4
Create_time: 2010-01-23 22:15:46
Update_time: 2010-01-30 07:22:26
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options:
Comment:
1 row in set (0.00 sec)


以上です。

0 件のコメント:

コメントを投稿