<?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>Alex&#039;s Adventures in CodeSpace &#187; sqlite</title>
	<atom:link href="http://www.blogalex.com/archives/tag/sqlite/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blogalex.com</link>
	<description>Alex Guerrieri&#039;s Blog</description>
	<lastBuildDate>Wed, 22 Jun 2011 15:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Sqlite2, Sqlite3, locking and friends</title>
		<link>http://www.blogalex.com/archives/50</link>
		<comments>http://www.blogalex.com/archives/50#comments</comments>
		<pubDate>Fri, 07 Nov 2008 03:12:31 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[locking]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=50</guid>
		<description><![CDATA[This Kannel patch fixes support for Sqlite2 (which was partially implemented but missed the configuration section) and also adds a new option &#8220;lock-timeout&#8221; for both [sqlite-connection] (newly added) and [sqlite3-connection] groups. lock-timeout can be set to the number of milliseconds that sqlite waits before throwing a &#8220;BUSY&#8221; error. Because locking on sqlite is done AT [...]]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_703458351" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/50" data-text="Sqlite2, Sqlite3, locking and friends" data-desc="This Kannel patch fixes support for Sqlite2 (which was partially implemented but missed the configuration section) and also adds a new option "lock-timeout" for both [sqlite-connection] (newly added) and [sqlite3-connection] groups.

lock-timeout can be set to the number of milliseconds that sqlite waits before throwing a "BUSY" error. Because locking on sqlite is done AT THE DATABASE LEVEL, it can be a serious issue because any write operation would lock the entire database, so this option ai" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_703458351&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F50&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>This Kannel patch fixes support for Sqlite2 (which was partially implemented but missed the configuration section) and also adds a new option &#8220;lock-timeout&#8221; for both [sqlite-connection] (newly added) and [sqlite3-connection] groups.</p>
<p>lock-timeout can be set to the number of milliseconds that sqlite waits before throwing a &#8220;BUSY&#8221; error. Because locking on sqlite is done AT THE DATABASE LEVEL, it can be a serious issue because any write operation would lock the entire database, so this option aims to ease the risk of getting locks.</p>
<p>If it&#8217;s not set, the default sqlite behaviour is maintained.</p>
<p>Here&#8217;s the patch:</p>
<p><a href="http://www.blogalex.com/wp-content/uploads/2008/11/kannel-sqlite-pool-patches.diff">kannel-sqlite-pool-patches</a></p>
<p>As usual, please try it and let me know what you think.</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_156568643" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/50" data-text="Sqlite2, Sqlite3, locking and friends" data-desc="This Kannel patch fixes support for Sqlite2 (which was partially implemented but missed the configuration section) and also adds a new option "lock-timeout" for both [sqlite-connection] (newly added) and [sqlite3-connection] groups.

lock-timeout can be set to the number of milliseconds that sqlite waits before throwing a "BUSY" error. Because locking on sqlite is done AT THE DATABASE LEVEL, it can be a serious issue because any write operation would lock the entire database, so this option ai" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_156568643&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F50&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/50/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

