<?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: AIR SQLite Optimization tricks</title>
	<atom:link href="http://www.zedia.net/2009/air-sqlite-optimization-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/</link>
	<description>Flash, ActionScript, SEO and everything in between</description>
	<lastBuildDate>Sat, 04 Feb 2012 08:16:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: problem mit sqlite-Transaktionen - Flashforum</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-12107</link>
		<dc:creator>problem mit sqlite-Transaktionen - Flashforum</dc:creator>
		<pubDate>Tue, 17 Jan 2012 09:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-12107</guid>
		<description>[...] verantwortlich sind. Dann hab ich mir verschiedene Blogs zu Performanceoptimierung angesehen, u.A. dieses, woher ich den Tipp mit den Transaktionen genommen hab.   An welcher Stelle bietet die [...]</description>
		<content:encoded><![CDATA[<p>[...] verantwortlich sind. Dann hab ich mir verschiedene Blogs zu Performanceoptimierung angesehen, u.A. dieses, woher ich den Tipp mit den Transaktionen genommen hab.   An welcher Stelle bietet die [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Mitchinson</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-12067</link>
		<dc:creator>Don Mitchinson</dc:creator>
		<pubDate>Thu, 12 Jan 2012 23:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-12067</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-3897&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-3897&quot; rel=&quot;nofollow&quot;&gt; David Havrda&lt;/a&gt; :&lt;/strong&gt; Also I would like to know how you opened the database.  Did you use open or openAsync?  I have found that the transaction stuff will not work when you use openAsync.  Everytime a statement.execute is performed it actually does run and does not wait until the connections commit is executed.  Do you have any ideas about this?
 &lt;/blockquote&gt;
From the docs .. it is possible.

After calling the SQLConnection.begin() method to open the transaction, you need to wait for the SQLConnection instance to dispatch its begin event. Only then can you call the SQLStatement instance’s execute() method. In this example the simplest way to organize the application to ensure that the operations are executed properly is to create a method that’s registered as a listener for the begin event. The code to call the SQLStatement.execute() method is placed within that listener method.</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-3897"><p>
<strong><a href="#comment-3897" rel="nofollow"> David Havrda</a> :</strong> Also I would like to know how you opened the database.  Did you use open or openAsync?  I have found that the transaction stuff will not work when you use openAsync.  Everytime a statement.execute is performed it actually does run and does not wait until the connections commit is executed.  Do you have any ideas about this?
 </p></blockquote>
<p>From the docs .. it is possible.</p>
<p>After calling the SQLConnection.begin() method to open the transaction, you need to wait for the SQLConnection instance to dispatch its begin event. Only then can you call the SQLStatement instance’s execute() method. In this example the simplest way to organize the application to ensure that the operations are executed properly is to create a method that’s registered as a listener for the begin event. The code to call the SQLStatement.execute() method is placed within that listener method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karlThom</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-6505</link>
		<dc:creator>karlThom</dc:creator>
		<pubDate>Tue, 29 Mar 2011 19:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-6505</guid>
		<description>You rock!
Defined Array of statements,( initTable - create table and 10 inserts ) then

// statement and listeners, connection and handlers defined elsewhere
sqlStat = new SQLStatement();
sqlStat.sqlConnection = sqlConnection;
sqlStat.text = &quot;&quot;;
// listeners for results and errors
sqlStat.addEventListener(SQLEvent.RESULT, statResult);
sqlStat.addEventListener(SQLErrorEvent.ERROR, createError);
// as you said, where the fun begins
sqlConnection.begin();
// loop through array		
for (var i:uint = 0; i &lt; initTable.length; i++){
// assign array element to statement
sqlStat.text = initTable[i];
//
sqlStat.execute();
}
sqlConnection.commit();		
// almost faster than light...

thanks a million</description>
		<content:encoded><![CDATA[<p>You rock!<br />
Defined Array of statements,( initTable &#8211; create table and 10 inserts ) then</p>
<p>// statement and listeners, connection and handlers defined elsewhere<br />
sqlStat = new SQLStatement();<br />
sqlStat.sqlConnection = sqlConnection;<br />
sqlStat.text = &#8220;&#8221;;<br />
// listeners for results and errors<br />
sqlStat.addEventListener(SQLEvent.RESULT, statResult);<br />
sqlStat.addEventListener(SQLErrorEvent.ERROR, createError);<br />
// as you said, where the fun begins<br />
sqlConnection.begin();<br />
// loop through array<br />
for (var i:uint = 0; i &lt; initTable.length; i++){<br />
// assign array element to statement<br />
sqlStat.text = initTable[i];<br />
//<br />
sqlStat.execute();<br />
}<br />
sqlConnection.commit();<br />
// almost faster than light&#8230;</p>
<p>thanks a million</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: radikalFish</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-4977</link>
		<dc:creator>radikalFish</dc:creator>
		<pubDate>Fri, 09 Apr 2010 15:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-4977</guid>
		<description>thx for the _conn.begin / _conn.commit hint
that really speeds up the big bunches of inserts and updates...</description>
		<content:encoded><![CDATA[<p>thx for the _conn.begin / _conn.commit hint<br />
that really speeds up the big bunches of inserts and updates&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-4917</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 23 Mar 2010 09:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-4917</guid>
		<description>Superb, got 600 inserts down from 1min 45 secs to  &lt; 5 secs. I know this seems slow (even individually), but it&#039;s on Win 7 x64, seemed to work faster on my asus eeepc?!? all good now though.</description>
		<content:encoded><![CDATA[<p>Superb, got 600 inserts down from 1min 45 secs to  &lt; 5 secs. I know this seems slow (even individually), but it&#039;s on Win 7 x64, seemed to work faster on my asus eeepc?!? all good now though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MartinMcBrearty &#187; AIR SQLite Optimisation</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-4747</link>
		<dc:creator>MartinMcBrearty &#187; AIR SQLite Optimisation</dc:creator>
		<pubDate>Tue, 19 Jan 2010 16:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-4747</guid>
		<description>[...] http://www.zedia.net/2009/air-sqlite-optimization-tricks/       $(document).ready(function(){ $(&quot;#commentForm&quot;).validate({ errorClass: &quot;inputError&quot;, messages: { author: { required: &quot;&quot; }, email: { required: &quot;&quot; } } }) }); [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.zedia.net/2009/air-sqlite-optimization-tricks/" rel="nofollow">http://www.zedia.net/2009/air-sqlite-optimization-tricks/</a>       $(document).ready(function(){ $(&quot;#commentForm&quot;).validate({ errorClass: &quot;inputError&quot;, messages: { author: { required: &quot;&quot; }, email: { required: &quot;&quot; } } }) }); [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ostrov</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-4483</link>
		<dc:creator>ostrov</dc:creator>
		<pubDate>Wed, 02 Dec 2009 15:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-4483</guid>
		<description>Thank you,
very interesting article</description>
		<content:encoded><![CDATA[<p>Thank you,<br />
very interesting article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Havrda</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-3897</link>
		<dc:creator>David Havrda</dc:creator>
		<pubDate>Tue, 11 Aug 2009 21:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-3897</guid>
		<description>Also I would like to know how you opened the database.  Did you use open or openAsync?  I have found that the transaction stuff will not work when you use openAsync.  Everytime a statement.execute is performed it actually does run and does not wait until the connections commit is executed.  Do you have any ideas about this?</description>
		<content:encoded><![CDATA[<p>Also I would like to know how you opened the database.  Did you use open or openAsync?  I have found that the transaction stuff will not work when you use openAsync.  Everytime a statement.execute is performed it actually does run and does not wait until the connections commit is executed.  Do you have any ideas about this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Havrda</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-3891</link>
		<dc:creator>David Havrda</dc:creator>
		<pubDate>Sat, 08 Aug 2009 23:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-3891</guid>
		<description>I am trying to use the transaction example.  But I keep getting an error that says 
Error #3110: Operation cannot be performed while SQLStatement.executing is true.

Any ideas?</description>
		<content:encoded><![CDATA[<p>I am trying to use the transaction example.  But I keep getting an error that says<br />
Error #3110: Operation cannot be performed while SQLStatement.executing is true.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RR007</title>
		<link>http://www.zedia.net/2009/air-sqlite-optimization-tricks/comment-page-1/#comment-3332</link>
		<dc:creator>RR007</dc:creator>
		<pubDate>Fri, 20 Feb 2009 03:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zedia.net/?p=343#comment-3332</guid>
		<description>This is GREAT. Every little bit helps.</description>
		<content:encoded><![CDATA[<p>This is GREAT. Every little bit helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

