SQLiteでMail最適化

各所で既報のMail高速化Tipsを試してみた。

SQLiteのvacuumコマンドでMailのサブジェクトを最適化するとのこと。


% cd ~/Library/Mail

% cp -r 'Envelope Index' '_Envelope Index'
##バックアップは大事だよー

% sqlite3 Envelope? Index
SQLite version 3.1.3
Enter ".help" for instructions
sqlite> vacuum subjects;

% ls -l *Enve*
-rw-r--r-- 1 taiyo_ef taiyo_ef 19960832 3 5 10:35 Envelope Index
-rw-r--r-- 1 taiyo_ef taiyo_ef 24636416 3 5 10:33 _Envelope Index

%open -a Mail

効果は明らかにありますね。これはすごい。時々やっておくことにしよう。