{"id":2468,"date":"2008-11-06T12:03:51","date_gmt":"2008-11-06T10:03:51","guid":{"rendered":"http:\/\/vasil.ludost.net\/blog\/?p=2468"},"modified":"2008-11-06T12:03:51","modified_gmt":"2008-11-06T10:03:51","slug":"2008-11-06-evolution-bug-2","status":"publish","type":"post","link":"https:\/\/vasil.ludost.net\/blog\/?p=2468","title":{"rendered":"2008-11-06 evolution bug"},"content":{"rendered":"<p>For everyone using like me evolution under Ubuntu Intrepid (8.10), you might&#8217;ve seen how slow it is. Here&#8217;s a fix that solves at least part of the problem (it&#8217;s two orders of magnitude faster, at the level of the previous one).<\/p>\n<p>Find all you folders.db files, go in their directories and run:<\/p>\n<pre>\r\nfor i in `sqlite3 folders.db .tables`; do sqlite3 folders.db \"CREATE INDEX IF NOT EXISTS 'junk_$i' ON '$i' (junk)\"; done\r\nfor i in `sqlite3 folders.db .tables`; do sqlite3 folders.db \"CREATE INDEX IF NOT EXISTS 'del_$i' ON '$i' (deleted)\"; done\r\nfor i in `sqlite3 folders.db .tables`; do sqlite3 folders.db \"CREATE INDEX IF NOT EXISTS 'read_$i' ON '$i' (read)\"; done\r\n<\/pre>\n<p>The problem evidently is that they forgot to make indexes on the tables (a rookie mistake). There are open <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/evolution-data-server\/+bug\/292739\">bug #292739 in launchpad<\/a> and <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=558883\">bug #558883 in the gnome bugzilla<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>For everyone using like me evolution under Ubuntu Intrepid (8.10), you might&#8217;ve seen how slow it is. Here&#8217;s a fix that solves at least part of the problem (it&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2468","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2468"}],"version-history":[{"count":0,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2468\/revisions"}],"wp:attachment":[{"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vasil.ludost.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}