{"id":311,"date":"2009-03-02T11:30:15","date_gmt":"2009-03-02T16:30:15","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?p=311"},"modified":"2009-03-02T12:37:32","modified_gmt":"2009-03-02T17:37:32","slug":"macosxhintscom-speed-up-iphoto-09-by-vacuuming-its-databases","status":"publish","type":"post","link":"http:\/\/www.schollnick.net\/wordpress\/2009\/03\/macosxhintscom-speed-up-iphoto-09-by-vacuuming-its-databases\/","title":{"rendered":"macosxhints.com: Speed up iPhoto &#8217;09 by vacuuming its databases"},"content":{"rendered":"<p><a href=\"http:\/\/www.macosxhints.com\/article.php?story=20090227072825458&amp;mode=print\">macosxhints.com: Speed up iPhoto &#8217;09 by vacuuming its databases<\/a>: &#8220;Speed up iPhoto &#8217;09 by vacuuming its databases<\/p>\n<p>Mon, Mar 2 2009 at 7:30AM PST<\/p>\n<p>Submitted by wjv<br \/>\nMy iPhoto &#8217;08 used to start in seconds despite the 30,000+ photos I kept in it. But after I installed iLife &#8217;09 and upgraded my iPhoto library, iPhoto &#8217;09 would hang for several minutes with the dreaded beach ball on startup. Even worse, though was that opening any event would trigger another hang of a minute or more, as would viewing a photo full-screen. (Once these initial hangs were over and done with, the app would work normally.)<\/p>\n<p>Inside the iPhoto Library Package, there are four SQLite databases (face_blob.db, face.db, iPhotoAux.db and iPhotoMain.db). I found that by vacuuming all four of these databases, I restored iPhoto &#8217;09&#8217;s performance back to something on par with its predecessor.<\/p>\n<p>Open Terminal and cd into your iPhoto Library (by default, cd &#8216;~\/Pictures\/iPhoto Library&#8217;). Once there, execute the following command:<\/p>\n<pre>for dbase in *.db; do sqlite3 $dbase \"vacuum;\"; done<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>macosxhints.com: Speed up iPhoto &#8217;09 by vacuuming its databases: &#8220;Speed up iPhoto &#8217;09 by vacuuming its databases Mon, Mar 2 2009 at 7:30AM PST Submitted by wjv My iPhoto &#8217;08 used to start in seconds despite the 30,000+ photos I kept in it. But after I installed iLife &#8217;09 and upgraded my iPhoto library, iPhoto <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/2009\/03\/macosxhintscom-speed-up-iphoto-09-by-vacuuming-its-databases\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[12,5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/311"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/311\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/categories?post=311"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/tags?post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->