<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How long the appian JDBC keeps the database connection alive? and How long it will be cached ?</title><link>https://community.appian.com/discussions/f/general/37869/how-long-the-appian-jdbc-keeps-the-database-connection-alive-and-how-long-it-will-be-cached</link><description>How long the appian JDBC keeps the database connection alive? and How long it will be cached ? 
 
 Is the caching happens for every Data source defined in tomcatresource.xml file?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How long the appian JDBC keeps the database connection alive? and How long it will be cached ?</title><link>https://community.appian.com/thread/142386?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 06:57:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:484e1a90-585c-496f-a6b2-64d4052b1c66</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;AFAIK, it is determined by database connection pool&amp;rsquo;s settings&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How long the appian JDBC keeps the database connection alive? and How long it will be cached ?</title><link>https://community.appian.com/thread/142380?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 23:26:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93153b8a-cfff-4c16-b6be-5a2de0596c23</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;This might be helpful: &amp;nbsp;&lt;a href="https://community.appian.com/support/w/kb/1086/kb-1673-general-faqs-related-to-appian-and-rdbms"&gt;KB-1673 General FAQs related to Appian and RDBMS&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think this only way to control this is via the tomcatResources.xml&lt;/p&gt;
&lt;pre&gt;&lt;span class="na"&gt;initialSize=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;5&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;span class="na"&gt;maxActive=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;200&amp;quot;&lt;/span&gt;
&lt;span class="na"&gt;defaultTransactionIsolation=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;READ_COMMITTED&amp;quot;&lt;/span&gt;
&lt;span class="na"&gt;maxWait=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;30000&amp;quot;&lt;/span&gt;
&lt;span class="na"&gt;minIdle=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;5&amp;quot;&lt;/span&gt;
&lt;span class="na"&gt;minEvictableIdleTimeMillis=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;90000&amp;quot;&lt;/span&gt;
&lt;span class="na"&gt;timeBetweenEvictionRunsMillis=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;450000&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>