2008-11-06 evolution bug
by Vasil KolevFor everyone using like me evolution under Ubuntu Intrepid (8.10), you might’ve seen how slow it is. Here’s a fix that solves at least part of the problem (it’s two orders of magnitude faster, at the level of the previous one).
Find all you folders.db files, go in their directories and run:
for i in `sqlite3 folders.db .tables`; do sqlite3 folders.db "CREATE INDEX IF NOT EXISTS 'junk_$i' ON '$i' (junk)"; done for i in `sqlite3 folders.db .tables`; do sqlite3 folders.db "CREATE INDEX IF NOT EXISTS 'del_$i' ON '$i' (deleted)"; done for i in `sqlite3 folders.db .tables`; do sqlite3 folders.db "CREATE INDEX IF NOT EXISTS 'read_$i' ON '$i' (read)"; done
The problem evidently is that they forgot to make indexes on the tables (a rookie mistake). There are open bug #292739 in launchpad and bug #558883 in the gnome bugzilla.