some mysql tips
- mysql 的 innodb 重裝或改了 innodb_log_file_size 後, 發現 xxx/yyy.frm 壞了 , 解決辦法是 把 /var/lib/mysql/ib_logfile* 砍了, 再 restart mysql
- 在 http://dev.mysql.com/doc/refman/5.1/en/alter-table.html 中提到….
若要大量 bluk 作 insert 動作前, 下 ALTER TABLE tbl_name DISABLE KEYS , 這樣可以讓 insert 加快,
但是作完 insert 後還是得 enable keys , 把 missing 的 indexs 補回來, 我想這時也是非常耗時間吧!!
另外 enable / disable keys 對於 mysql 5.1.1 以前的 partition table 沒有用
Comments Off
Related URL:
- Protected: dbs222 mysql innodb Troubleshutting
- mysql performance tunning – pdf
- 使用 mysql partition table sample
- Protected: mysql myisam performance tunning 過程 – sample data
- Protected: mysql innodb 的部份參數 , my.cnf
- MySQL performance tunning
- mysql Full-Text Search syntax
- MySQL – Optimizing Database Structure
- mysql index 的建立/使用 , Multiple-Column Indexes
- Sun 買 MySQL , Oracle 買 Sun
