<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Advantage of a Simple &#8220;Database&#8221; Format</title>
	<atom:link href="http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/feed/" rel="self" type="application/rss+xml" />
	<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/</link>
	<description>One day this will feature a witty tagline…</description>
	<lastBuildDate>Sun, 19 May 2013 11:47:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: diaz</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16147</link>
		<dc:creator>diaz</dc:creator>
		<pubDate>Wed, 19 Dec 2012 05:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16147</guid>
		<description><![CDATA[Wait, what, you comming here and you weren&#039;t saying anything? C&#039;mon. I&#039;ll need to check it out :P

(I&#039;m not from IST but that doesnt&#039; matter :P )]]></description>
		<content:encoded><![CDATA[<p>Wait, what, you comming here and you weren&#8217;t saying anything? C&#8217;mon. I&#8217;ll need to check it out <img src='http://allanmcrae.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>(I&#8217;m not from IST but that doesnt&#8217; matter <img src='http://allanmcrae.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16145</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Mon, 17 Dec 2012 04:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16145</guid>
		<description><![CDATA[There&#039;s no point in checking local files. If they were tampered with locally, the attacker can modify the live system too. You only need to check at least once after downloading (or during, as one might argue).]]></description>
		<content:encoded><![CDATA[<p>There&#8217;s no point in checking local files. If they were tampered with locally, the attacker can modify the live system too. You only need to check at least once after downloading (or during, as one might argue).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guilherme de Sousa</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16144</link>
		<dc:creator>Guilherme de Sousa</dc:creator>
		<pubDate>Mon, 17 Dec 2012 02:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16144</guid>
		<description><![CDATA[Just try to put some sense into the non linux crowd :D]]></description>
		<content:encoded><![CDATA[<p>Just try to put some sense into the non linux crowd <img src='http://allanmcrae.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16143</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Sun, 16 Dec 2012 23:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16143</guid>
		<description><![CDATA[Yay - it has been announced!  I will have to figure out what I am talking about...]]></description>
		<content:encoded><![CDATA[<p>Yay &#8211; it has been announced!  I will have to figure out what I am talking about&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16142</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Sun, 16 Dec 2012 23:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16142</guid>
		<description><![CDATA[Hmm...  I seem to remember a patch that performed complete conflict checking before aborting.  So I would guess that improvement is going to be in pacman-4.1.

As for not rechecking the checksums, I&#039;d say that is never going to happen.  We would have to store a list of package files and the and the database they were checked with and then verify those files have not been tampered with in the mean time...  which brings us back to checking their integrity.]]></description>
		<content:encoded><![CDATA[<p>Hmm&#8230;  I seem to remember a patch that performed complete conflict checking before aborting.  So I would guess that improvement is going to be in pacman-4.1.</p>
<p>As for not rechecking the checksums, I&#8217;d say that is never going to happen.  We would have to store a list of package files and the and the database they were checked with and then verify those files have not been tampered with in the mean time&#8230;  which brings us back to checking their integrity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guilherme de Sousa</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16141</link>
		<dc:creator>Guilherme de Sousa</dc:creator>
		<pubDate>Sun, 16 Dec 2012 23:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16141</guid>
		<description><![CDATA[I was  reading this post a few hours ago, and now I&#039;ve just received the good news that you will be attending a conference in my university (Instituto Superior Técnico,  Lisbon, Portugal) in next February. Will definitely be there to ear what you have to say! Tks!

Best regards,

Guilherme]]></description>
		<content:encoded><![CDATA[<p>I was  reading this post a few hours ago, and now I&#8217;ve just received the good news that you will be attending a conference in my university (Instituto Superior Técnico,  Lisbon, Portugal) in next February. Will definitely be there to ear what you have to say! Tks!</p>
<p>Best regards,</p>
<p>Guilherme</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16140</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Sun, 16 Dec 2012 20:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16140</guid>
		<description><![CDATA[Rather that trying to speed up pacman&#039;s database, it would help much more to streamline it&#039;s UI...

If I do a full package update after I haven&#039;t done one in a while, I sometimes get into the following situation:

1) After clicking &quot;y&quot; lots of times (&quot;do you really want to replace X with Y&quot;, etc.), and downloading all packages, pacman takes a lot of time to do the &quot;checking package integrity and file conflicts&quot; step. After a while it finds a conflict, and aborts with and error.
2) I manually fix the file conflict (usually caused by an AUR package).
3) I have to click &quot;y&quot; lots of times again, and again wait a long time while the &quot;checking package integrity and file conflicts&quot; is executed again from the beginning. It finds second file conflict, and aborts again.
4) I manually fix the second file conflict.
5) ...and so on...

This could be streamlined:
a) Make it list all file conflicts in one go, so you only have to re-run it once (at the most).
b) If package integrity has already been checked, don&#039;t check again if the database&#039;s mtime has not changed since.

And these are just two examples, there are more possible UI improvements that would make pacman faster to use in practice, which would make a much bigger difference than speeding up database access.]]></description>
		<content:encoded><![CDATA[<p>Rather that trying to speed up pacman&#8217;s database, it would help much more to streamline it&#8217;s UI&#8230;</p>
<p>If I do a full package update after I haven&#8217;t done one in a while, I sometimes get into the following situation:</p>
<p>1) After clicking &#8220;y&#8221; lots of times (&#8220;do you really want to replace X with Y&#8221;, etc.), and downloading all packages, pacman takes a lot of time to do the &#8220;checking package integrity and file conflicts&#8221; step. After a while it finds a conflict, and aborts with and error.<br />
2) I manually fix the file conflict (usually caused by an AUR package).<br />
3) I have to click &#8220;y&#8221; lots of times again, and again wait a long time while the &#8220;checking package integrity and file conflicts&#8221; is executed again from the beginning. It finds second file conflict, and aborts again.<br />
4) I manually fix the second file conflict.<br />
5) &#8230;and so on&#8230;</p>
<p>This could be streamlined:<br />
a) Make it list all file conflicts in one go, so you only have to re-run it once (at the most).<br />
b) If package integrity has already been checked, don&#8217;t check again if the database&#8217;s mtime has not changed since.</p>
<p>And these are just two examples, there are more possible UI improvements that would make pacman faster to use in practice, which would make a much bigger difference than speeding up database access.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cippaciong</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16139</link>
		<dc:creator>cippaciong</dc:creator>
		<pubDate>Sun, 16 Dec 2012 17:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16139</guid>
		<description><![CDATA[Don&#039;t worry, I think pacman is fast enough for most of us. =)]]></description>
		<content:encoded><![CDATA[<p>Don&#8217;t worry, I think pacman is fast enough for most of us. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PotatoesMaster</title>
		<link>http://allanmcrae.com/2012/12/advantage-of-a-simple-database-format/#comment-16138</link>
		<dc:creator>PotatoesMaster</dc:creator>
		<pubDate>Sun, 16 Dec 2012 16:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://allanmcrae.com/?p=1657#comment-16138</guid>
		<description><![CDATA[Hi Allan.

I put pacman database (/var/lib/pacman) on its own partition. It uses reiserFS and is 500MB large (only 50MB is occupied).
I am really pleased with pacman speed.
~ $ time pacman -Qi &gt;/dev/null 
pacman -Qi &gt; /dev/null  0,39s user 0,09s system 76% cpu 0,624 total

P.S.: This is my first comment here.
Thanks for all you do. ;-)]]></description>
		<content:encoded><![CDATA[<p>Hi Allan.</p>
<p>I put pacman database (/var/lib/pacman) on its own partition. It uses reiserFS and is 500MB large (only 50MB is occupied).<br />
I am really pleased with pacman speed.<br />
~ $ time pacman -Qi &gt;/dev/null<br />
pacman -Qi &gt; /dev/null  0,39s user 0,09s system 76% cpu 0,624 total</p>
<p>P.S.: This is my first comment here.<br />
Thanks for all you do. <img src='http://allanmcrae.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
