...
檢查 MySQL 的資料表使用空間
# du -chs /u01/app/oracle/mysql/data/ovs/OVM_STATISTIC*
16K /u01/app/oracle/mysql/data/ovs/OVM_STATISTIC.frm
121G /u01/app/oracle/mysql/data/ovs/OVM_STATISTIC.ibd <===
解決:
...
關閉 ovmm
service ovmm stop
檢查資料表 OVM_STATISTIC 的筆數
mysql -u ovs -p -S /u01/app/oracle/mysql/data/mysqld.sock ovs Enter password: <網頁登入密碼> mysql> select count(*) from OVM_STATISTIC; +-----------+ | count(*) | +-----------+ | 184795278 | +-----------+ 1 row in set (6 min 35.98 sec)
清除資料表 OVM_STATISTIC
mysql> truncate table OVM_STATISTIC;
...
...
...
...
檢查 MySQL 的資料表使用空間
# du -chs /u01/app/oracle/mysql/data/ovs/OVM_STATISTIC*
16K /u01/app/oracle/mysql/data/ovs/OVM_STATISTIC.frm
121G /u01/app/oracle/mysql/data/ovs/OVM_STATISTIC.ibd <===
解決:
...
關閉 ovmm
service ovmm stop
檢查資料表 OVM_STATISTIC 的筆數
mysql -u ovs -p -S /u01/app/oracle/mysql/data/mysqld.sock ovs Enter password: <網頁登入密碼> mysql> select count(*) from OVM_STATISTIC; +-----------+ | count(*) | +-----------+ | 184795278 | +-----------+ 1 row in set (6 min 35.98 sec)
清除資料表 OVM_STATISTIC
mysql> truncate table OVM_STATISTIC;
...
...