<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Connection Pooling in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835892#M4866735</link>
    <description>&lt;P&gt;I never noticed the Pooling tab in ODBC Admin. Thanks for pointing it out.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2011 14:10:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-17T14:10:39Z</dc:date>
    <item>
      <title>Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaq-p/13835883</link>
      <description>&lt;P&gt;I am using SQL Anywhere 11 and have my database running as a service on Windows XP.&lt;/P&gt;

&lt;P&gt;The docs only mention connection pooling for the .Net Provider. I am connecting from PowerBuilder using ODBC.&lt;/P&gt;

&lt;P&gt;I will have multiple instances of the app connecting at the time using the same exact connection parameters.&lt;/P&gt;

&lt;P&gt;Can this be done?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2011 17:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaq-p/13835883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T17:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835886#M4866729</link>
      <description>&lt;P&gt;Not sure where "connection pooling" comes into play... you can have as many instances of an application connecting that you want, all at the same time, subject to licensing restrictions.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2011 19:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835886#M4866729</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2011-02-16T19:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835884#M4866727</link>
      <description>&lt;P&gt;I'm not sure but I guess &lt;STRONG&gt;connection pooling&lt;/STRONG&gt; as a general product feature has been introduced with SA 12.&lt;/P&gt;

&lt;P&gt;Cf. the new &lt;A href="http://dcx.sybase.com/index.html#1200en/dbadmin/connectionpool.html" rel="nofollow"&gt;CPOOL connection parameter&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;I don't know whether the general ODBC connection pooling (cf. the &lt;EM&gt;ODBC Admin's according tab&lt;/EM&gt;) works with SQL Anywhere (and if so, how &lt;EM&gt;well&lt;/EM&gt; it works).&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 09:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835884#M4866727</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-02-17T09:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835885#M4866728</link>
      <description>&lt;P&gt;The complete connection string has to be identical. It includes the APPINFO part in which the process id and thread id is mentioned. So in reality connection pooling is only possible if the connection attempt comes from the same thread in the same process. &lt;/P&gt;

&lt;HR /&gt;
&lt;P&gt;EDIT: According to &lt;A href="http://sqlanywhere-forum.sap.com/questions/8443#8458"&gt;this answer by Ian&lt;/A&gt;, the above statement is not completely true:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;The generated portion of the AppInfo string is ignored&lt;/STRONG&gt; when determining if two connection strings are the same for connection pooling. If a user specified AppInfo parameter is specified, that is included in the comparison.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 17 Feb 2011 09:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835885#M4866728</guid>
      <dc:creator>MCMartin</dc:creator>
      <dc:date>2011-02-17T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835887#M4866730</link>
      <description>&lt;P&gt;I've been not aware of that important restriction (but haven't used pooling, either). - If so, and given the typical synchronous execution of DB requests - why would one single thread ever use several connections to the same database at the same time (except for differentiating between read-only and read/write access)? - I guess then the built-in pooling is primarily useful for applications that use their own thread pool for database access: Then each thread might re-use its "own" pooled connection when the thread gets re-activated. - Or do I have missed the point?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 10:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835887#M4866730</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-02-17T10:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835888#M4866731</link>
      <description>&lt;P&gt;@Volker: Application servers on the web, that's who... with a zillion web connections sharing a few database connections.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 10:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835888#M4866731</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2011-02-17T10:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835889#M4866732</link>
      <description>&lt;P&gt;@Breck: Yes, that's my conclusion. - Don't we all wrote those kind of apps:)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 11:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835889#M4866732</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-02-17T11:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835890#M4866733</link>
      <description>&lt;P&gt;Actually my app could be considered a web app server. It is a web server plugin that runs PowerBuilder code. IIS will have a separate thread for each browser request and the PB code will use the same connection string for every request.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 14:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835890#M4866733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T14:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835891#M4866734</link>
      <description>&lt;P&gt;I just checked and the default for AppInfo is empty string. Also by default an unused connection is closed if unused for 60 seconds. So a lightly used app would probably not use a pooled connection.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 14:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835891#M4866734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Pooling</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835892#M4866735</link>
      <description>&lt;P&gt;I never noticed the Pooling tab in ODBC Admin. Thanks for pointing it out.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 14:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling/qaa-p/13835892#M4866735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T14:10:39Z</dc:date>
    </item>
  </channel>
</rss>

