<?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: KDE and internal storage</title>
	<atom:link href="http://pusling.com/blog/?feed=rss2&#038;p=85" rel="self" type="application/rss+xml" />
	<link>http://pusling.com/blog/?p=85</link>
	<description>Seeing stuff the wrong way</description>
	<lastBuildDate>Wed, 11 Aug 2010 12:53:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: aexl</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2465</link>
		<dc:creator>aexl</dc:creator>
		<pubDate>Thu, 24 Dec 2009 11:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2465</guid>
		<description>What if...

amarok stored its metadata in nepomuk AND made its great tagging frontend usable to tag ANY content. Imagine Amarok tag&amp;search for openoffice metadata!</description>
		<content:encoded><![CDATA[<p>What if&#8230;</p>
<p>amarok stored its metadata in nepomuk AND made its great tagging frontend usable to tag ANY content. Imagine Amarok tag&amp;search for openoffice metadata!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2057</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 02 Oct 2008 01:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2057</guid>
		<description>I personally think a full SQL server should be a gimmy in a modern OS.  MySQL is common enough, respected enough, and really isn&#039;t all that terrible to have loaded all the time for the typical desktop capable system.

I have a music collection large enough that it makes Amarok painful if used with a sqlite backend.  So, I use MySQL with Amarok instead.  I don&#039;t notice its footprint much at all.  I do notice Amarok and the rest of my system being more responsive when Amarok goes about switching tracks and selecting new tracks to add to a dynamic playlist.

It would be cool to see more applications using a full sql database and take advantage of some of the sophisticated preformance enhancing features that come for free in a more complete database engine (such as key caching).</description>
		<content:encoded><![CDATA[<p>I personally think a full SQL server should be a gimmy in a modern OS.  MySQL is common enough, respected enough, and really isn&#8217;t all that terrible to have loaded all the time for the typical desktop capable system.</p>
<p>I have a music collection large enough that it makes Amarok painful if used with a sqlite backend.  So, I use MySQL with Amarok instead.  I don&#8217;t notice its footprint much at all.  I do notice Amarok and the rest of my system being more responsive when Amarok goes about switching tracks and selecting new tracks to add to a dynamic playlist.</p>
<p>It would be cool to see more applications using a full sql database and take advantage of some of the sophisticated preformance enhancing features that come for free in a more complete database engine (such as key caching).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kanenas</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2055</link>
		<dc:creator>kanenas</dc:creator>
		<pubDate>Mon, 29 Sep 2008 22:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2055</guid>
		<description>To add to the optimizations that b0b said:

Choose a better page size when creating the database (default 1024 is too small)
PRAGMA page_size = 4096 (or 8192)</description>
		<content:encoded><![CDATA[<p>To add to the optimizations that b0b said:</p>
<p>Choose a better page size when creating the database (default 1024 is too small)<br />
PRAGMA page_size = 4096 (or 8192)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: b0b</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2054</link>
		<dc:creator>b0b</dc:creator>
		<pubDate>Mon, 29 Sep 2008 18:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2054</guid>
		<description>When using sqlite, appart for using indexes and writing optimized requests, here&#039;s 2 easy optimization that will make it faster:

- enclose the more request that you can in a BEGIN; ... COMMIT; block
- use &quot;PRAGMA SYNCHRONOUS=OFF&quot; to delay write on disk.</description>
		<content:encoded><![CDATA[<p>When using sqlite, appart for using indexes and writing optimized requests, here&#8217;s 2 easy optimization that will make it faster:</p>
<p>- enclose the more request that you can in a BEGIN; &#8230; COMMIT; block<br />
- use &#8220;PRAGMA SYNCHRONOUS=OFF&#8221; to delay write on disk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jstaniek</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2053</link>
		<dc:creator>jstaniek</dc:creator>
		<pubDate>Mon, 29 Sep 2008 15:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2053</guid>
		<description>@Jos van den Oever
&quot;There already is QSql to abstract away the database access. It still leaves the sql incompatibilities though. Something like hibernate would be really nice.&quot;

There&#039;s KexiDB, and now Predicate (in development)...</description>
		<content:encoded><![CDATA[<p>@Jos van den Oever<br />
&#8220;There already is QSql to abstract away the database access. It still leaves the sql incompatibilities though. Something like hibernate would be really nice.&#8221;</p>
<p>There&#8217;s KexiDB, and now Predicate (in development)&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Monroe</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2051</link>
		<dc:creator>Ian Monroe</dc:creator>
		<pubDate>Mon, 29 Sep 2008 13:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2051</guid>
		<description>@Miguel: both akondai and Amarok will start the server for you. You&#039;ll hardly know its there. :)</description>
		<content:encoded><![CDATA[<p>@Miguel: both akondai and Amarok will start the server for you. You&#8217;ll hardly know its there. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Monroe</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2050</link>
		<dc:creator>Ian Monroe</dc:creator>
		<pubDate>Mon, 29 Sep 2008 13:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2050</guid>
		<description>@Kevin don&#039;t you see what we&#039;re loosing from supporting multiple backends? It lessens the potential for a nice desktop-wide database - Amarok is never going to support both mysql and postgresql, we don&#039;t want to support multilple SQL dialects. 

And you really get nothing in return. Any user only needs one backend at a time. Its like what Amarok figured out with multiple sound engines in 1.2-1.3: they give headaches but few benefits.</description>
		<content:encoded><![CDATA[<p>@Kevin don&#8217;t you see what we&#8217;re loosing from supporting multiple backends? It lessens the potential for a nice desktop-wide database &#8211; Amarok is never going to support both mysql and postgresql, we don&#8217;t want to support multilple SQL dialects. </p>
<p>And you really get nothing in return. Any user only needs one backend at a time. Its like what Amarok figured out with multiple sound engines in 1.2-1.3: they give headaches but few benefits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Monroe</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2049</link>
		<dc:creator>Ian Monroe</dc:creator>
		<pubDate>Mon, 29 Sep 2008 13:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2049</guid>
		<description>@Kanenas I wouldn&#039;t doubt this really. But we aren&#039;t database experts, we don&#039;t know how to optimizer our queries outside of adding a few indexes and we certainly don&#039;t know how to hack sqlite. Given that many distros have Amarok using system sqlite I wonder if its even possible.</description>
		<content:encoded><![CDATA[<p>@Kanenas I wouldn&#8217;t doubt this really. But we aren&#8217;t database experts, we don&#8217;t know how to optimizer our queries outside of adding a few indexes and we certainly don&#8217;t know how to hack sqlite. Given that many distros have Amarok using system sqlite I wonder if its even possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kanenas</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2048</link>
		<dc:creator>Kanenas</dc:creator>
		<pubDate>Mon, 29 Sep 2008 11:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2048</guid>
		<description>About mysql vs sqlite:
In my experience sqlite outperforms mysql when one knows what he is doing. Sqlite out of the box is considerably conservative towards the safe side. Slightly tweeking sqlite can make large differences in speed. 

Please before judging sqlite do a little research beforehand. Mysql sacrifices a lot of safety to be fast (notice the difference in the number of fsyncs these databases do out of the box). By sacrificing a little safety, sqlite can outperform mysql.</description>
		<content:encoded><![CDATA[<p>About mysql vs sqlite:<br />
In my experience sqlite outperforms mysql when one knows what he is doing. Sqlite out of the box is considerably conservative towards the safe side. Slightly tweeking sqlite can make large differences in speed. </p>
<p>Please before judging sqlite do a little research beforehand. Mysql sacrifices a lot of safety to be fast (notice the difference in the number of fsyncs these databases do out of the box). By sacrificing a little safety, sqlite can outperform mysql.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Krammer</title>
		<link>http://pusling.com/blog/?p=85&#038;cpage=1#comment-2047</link>
		<dc:creator>Kevin Krammer</dc:creator>
		<pubDate>Mon, 29 Sep 2008 11:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://pusling.com/blog/?p=85#comment-2047</guid>
		<description>@Miguel: it is, since it is using Qt&#039;s database abstraction layer and only very few DB specific parts.

I.e some people are working on (or have already completed) the bits for supporting postgres

http://techbase.kde.org/Projects/PIM/Akonadi#Which_DBMS_does_Akonadi_use.3F

@Anon
http://techbase.kde.org/Projects/PIM/Akonadi#Why_not_use_sqlite.3F

@Lee
Qt3 has explicit database widgets, even in designer, and Qt4 has database bound models for its model/view framework</description>
		<content:encoded><![CDATA[<p>@Miguel: it is, since it is using Qt&#8217;s database abstraction layer and only very few DB specific parts.</p>
<p>I.e some people are working on (or have already completed) the bits for supporting postgres</p>
<p><a href="http://techbase.kde.org/Projects/PIM/Akonadi#Which_DBMS_does_Akonadi_use.3F" rel="nofollow">http://techbase.kde.org/Projects/PIM/Akonadi#Which_DBMS_does_Akonadi_use.3F</a></p>
<p>@Anon<br />
<a href="http://techbase.kde.org/Projects/PIM/Akonadi#Why_not_use_sqlite.3F" rel="nofollow">http://techbase.kde.org/Projects/PIM/Akonadi#Why_not_use_sqlite.3F</a></p>
<p>@Lee<br />
Qt3 has explicit database widgets, even in designer, and Qt4 has database bound models for its model/view framework</p>
]]></content:encoded>
	</item>
</channel>
</rss>
