<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.phpbb.com/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>phpBB Development Wiki  - Recent changes [en]</title>
		<link>http://wiki.phpbb.com/Special:RecentChanges</link>
		<description>Track the most recent changes to the wiki in this feed.</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Fri, 20 Nov 2009 14:10:47 GMT</lastBuildDate>
		<item>
			<title>Talk:Database Abstraction Layer</title>
			<link>http://wiki.phpbb.com/index.php?title=Talk:Database_Abstraction_Layer&amp;diff=4428&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:51, 13 November 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Whilst some of the API arguments make a passing comment to caching, you really need to address this in this page or as a supplementary.&amp;nbsp; The DB abstraction layer uses the cache class and the principle is that any SQL queries which are reasonably non-volatile and where result-set coherence is not essential should specify a time-to-live (''ttl'') parameter.&amp;nbsp; This informs the db abstraction layer that the result of the query can be cached for ''ttl'' seconds.&amp;nbsp; An example of where this is used is the count of guests visiting any given forum.&amp;nbsp; This count is a snapshot that is only updated every 10 minutes...&amp;nbsp; This plus discussion of the cache implementations (file, memcache, apc, xcache)&amp;nbsp; would be very helpful&amp;nbsp; for those trying to improve the efficiency of their installations. &amp;amp;mdash; [[User:Terrye|Terrye]] 10:50, 28 May 2009 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Whilst some of the API arguments make a passing comment to caching, you really need to address this in this page or as a supplementary.&amp;nbsp; The DB abstraction layer uses the cache class and the principle is that any SQL queries which are reasonably non-volatile and where result-set coherence is not essential should specify a time-to-live (''ttl'') parameter.&amp;nbsp; This informs the db abstraction layer that the result of the query can be cached for ''ttl'' seconds.&amp;nbsp; An example of where this is used is the count of guests visiting any given forum.&amp;nbsp; This count is a snapshot that is only updated every 10 minutes...&amp;nbsp; This plus discussion of the cache implementations (file, memcache, apc, xcache)&amp;nbsp; would be very helpful&amp;nbsp; for those trying to improve the efficiency of their installations. &amp;amp;mdash; [[User:Terrye|Terrye]] 10:50, 28 May 2009 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== sql_in_set and DELETE ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;A very important function of the sql_in_set method was overlooked; It is used a lot for deleting data, we need an example and a some explanation. In addition that method isn't very well explained in general, it barley scratches the surface as to what this can do to your queries and how you structure them with this tool in dbal.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Will this work?? ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Will this work?? ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2009-11-16 13:00:15 --&gt;

&lt;!-- diff cache key wiki-wiki_:diff:version:1.11a:oldid:4374:newid:4428 --&gt;
&lt;/table&gt;</description>
			<pubDate>Fri, 13 Nov 2009 09:51:20 GMT</pubDate>			<dc:creator>Syntaxerror90</dc:creator>			<comments>http://wiki.phpbb.com/Talk:Database_Abstraction_Layer</comments>		</item>
	</channel>
</rss>