<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Io non ho il Blog! &#187; Firefox</title>
	<atom:link href="http://www.nonhoilblog.net/category/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nonhoilblog.net</link>
	<description></description>
	<lastBuildDate>Wed, 20 Jul 2011 10:29:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Firefox 3: ottimizzare il DB ( Linux e Mac )</title>
		<link>http://www.nonhoilblog.net/2009/07/16/firefox-3-ottimizzare-il-db-linux-e-mac/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=firefox-3-ottimizzare-il-db-linux-e-mac</link>
		<comments>http://www.nonhoilblog.net/2009/07/16/firefox-3-ottimizzare-il-db-linux-e-mac/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 13:27:43 +0000</pubDate>
		<dc:creator>Omar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[sqlite3]]></category>
		<category><![CDATA[VACUUM]]></category>

		<guid isPermaLink="false">http://www.nonhoilblog.net/?p=60</guid>
		<description><![CDATA[Come ha già detto Gioxx è possibile ottimizzare i DataBase SQLite usati da Firefox 3.x per avere un avvio piu&#8217; veloce del browser. Gioxx ha descritto su come farlo in Windows, io vi mostrerò come farlo su Mac e Linux. Per prima cosa chiudete firefox, non deve assolutamente essere in esecuzione! Ora potete aprire un [...]]]></description>
			<content:encoded><![CDATA[<p>Come ha già detto <a href="http://gioxx.org/2009/07/16/firefox-3-5-ottimizzare-il-db-con-vacuum/">Gioxx</a> è possibile ottimizzare i DataBase SQLite usati da Firefox 3.x per avere un avvio piu&#8217; veloce del browser.</p>
<p><a href="http://gioxx.org/2009/07/16/firefox-3-5-ottimizzare-il-db-con-vacuum/">Gioxx</a> ha descritto su come farlo in Windows, io vi mostrerò come farlo su Mac e Linux.</p>
<p>Per prima cosa chiudete firefox, non deve assolutamente essere in esecuzione!<br />
Ora potete aprire un Terminale ed entrare nel vostro profilo:</p>
<p><strong><span>Linux: ~/.mozilla/firefox/xxxxxxxx.default/</span></strong><br />
<strong><span>Mac: ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/</span></strong></p>
<blockquote><p>Switch@bimbo:~$ cd Library/Application\ Support/Firefox/Profiles/xxxxxxxx.default/</p>
<p>Switch@bimbo:~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default$ ls -lah *.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   7,0K 19 Mag  2008 content-prefs.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   511K 16 Lug 08:49 cookies.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   203K 15 Lug 22:14 downloads.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   3,0K  3 Lug 21:09 dta_queue.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   119K 15 Lug 22:02 formhistory.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,0K 11 Giu 10:22 permissions.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff    17M 16 Lug 08:45 places.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,0K 29 Mar  2008 search.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff    70K 16 Lug 08:07 signons.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   4,0M 15 Giu  2008 urlclassifier2.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,0K 18 Ott  2008 webappsstore.sqlite</p></blockquote>
<p>Ora useremo il comando VACUUM di sqlite3 per ottimizzare il db</p>
<blockquote><p>Switch@bimbo:~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default$ for F in *.sqlite; do sqlite3 $F &#8220;VACUUM&#8221;; done</p>
<p>Switch@bimbo:~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default$ ls -lah *.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   7,0K 16 Lug 08:58 content-prefs.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   373K 16 Lug 08:58 cookies.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   157K 16 Lug 08:58 downloads.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   3,0K 16 Lug 08:58 dta_queue.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff    47K 16 Lug 08:58 formhistory.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,0K 16 Lug 08:58 permissions.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   6,5M 16 Lug 08:58 places.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,0K 16 Lug 08:58 search.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff    69K 16 Lug 08:58 signons.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,7M 16 Lug 08:58 urlclassifier2.sqlite<br />
-rw-r&#8211;r&#8211;@ 1 Switch  staff   2,0K 16 Lug 08:58 webappsstore.sqlite</p></blockquote>
<p>L&#8217;esempio è su un Mac ma è esattamente uguale a Linux, cambia solo il percorso del profilo.</p>
<p>In alcune distribuzioni Linux, sqlite3, non è presente per cui dovete scaricarlo dai repository ufficiali della vostra distro.</p>
<p>Come potete notare il DB piu&#8217; &#8220;ciccione&#8221; di 17MB è stato compresso fino a 6,5MB per cui piu&#8217; del 50%!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nonhoilblog.net/2009/07/16/firefox-3-ottimizzare-il-db-linux-e-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

