<?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 Problem in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834211#M4865054</link>
    <description>&lt;P&gt;So the rules for connection pooling are different for .NET pooling and SQL Anywhere pooling? - I'm asking as for the latter, a difference in CON name only is said to allow a connection to be re-used. To cite the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/sa22c8e99f-db62-4851-a551-ea775eeed6e8.html"&gt;12.0.1 docs&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The connection name can be unique each time, but all other connection parameters must be identical for a cached connection to be reused.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 18 Feb 2014 15:41:08 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2014-02-18T15:41:08Z</dc:date>
    <item>
      <title>Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaq-p/13834203</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i have a problem with my connection-pooling in my sa-12 server. In my programm is often
open and close connections (for nearly every query). After a while, i get the error
message that the maximum of poolsize is reached. if i take a look in Sybase Central,
there are a lot of Connections with the type: "CONNECT&lt;STRONG&gt;POOL&lt;/STRONG&gt;CACHE".&lt;/P&gt;
&lt;P&gt;If i add CPOOL=No to my connection-string, nothing changed. There are also a lot
of connections.&lt;/P&gt;
&lt;P&gt;Does anybody else had this problem and got a solution?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 03:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaq-p/13834203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-18T03:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834204#M4865047</link>
      <description>&lt;P&gt;What API are you using? I'm asking since the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbprogramming/connection-pooling-dotnet-dev.html"&gt;.NET Data Provider does its own connection pooling (client-side)&lt;/A&gt; by default and does not use the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/sa22c8e99f-db62-4851-a551-ea775eeed6e8.html"&gt;SQL Anywhere connection pooling facility&lt;/A&gt; which can be used via the CPOOL connection parameter.&lt;/P&gt;
&lt;P&gt;Note: Both ways of connection pooling allow to specify the maximum amount of pooled connections, cf. "Max Pool Size=" for .NET and the "MaxCached=" modifier for the CPOOL parameter.&lt;/P&gt;
&lt;P&gt;So what kind of connection pooling do you use?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 03:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834204#M4865047</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2014-02-18T03:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834206#M4865049</link>
      <description>&lt;P&gt;Perfect, the .Net Connection-Pooling was the problem. What pooling would you prefer? Do you have an idea why: POOLING=TRUE;Max Pool Size=3; is not working? The program keeps more than 3 connections in the pool.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 05:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834206#M4865049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-18T05:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834207#M4865050</link>
      <description>&lt;P&gt;Sorry, I can't tell any preferance. Note that .NET connection pooling may use several separate pools (AFAIK, based on distinct connection parameters) - are you sure you are using only one?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 06:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834207#M4865050</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2014-02-18T06:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834208#M4865051</link>
      <description>&lt;P&gt;Yes, because if i set POOLING=FALSE, the pool is always empty.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 07:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834208#M4865051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-18T07:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834209#M4865052</link>
      <description>&lt;P&gt;Setting POOLING=FALSE does not tell you whether you have unique connection strings. For example, these two connection strings create 2 pools because the string is not identical.&lt;/P&gt;
&lt;P&gt;UID=user1;PWD=user1;Max Pool Size=5;Pooling=true;ConnectionName=POOL 1&lt;/P&gt;
&lt;P&gt;UID=user1;PWD=user1;Max Pool Size=5;Pooling=true;ConnectionName=POOL 2&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 12:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834209#M4865052</guid>
      <dc:creator>jack_schueler</dc:creator>
      <dc:date>2014-02-18T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834210#M4865053</link>
      <description>&lt;P&gt;Re: error message that the maximum of poolsize is reached&lt;/P&gt;
&lt;P&gt;It might help to know what the actual message text was.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2014 12:38:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834210#M4865053</guid>
      <dc:creator>jack_schueler</dc:creator>
      <dc:date>2014-02-18T12:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834205#M4865048</link>
      <description>&lt;P&gt;If your message says this:
Timeout expired. The timeout period elapsed before obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.&lt;/P&gt;
&lt;P&gt;If your pool size is 3, then you have attempted to open a 4th connection using the same connection string while the other 3 connections were still in use.&lt;/P&gt;
&lt;P&gt;What is your Connect Timeout/Connection Timeout? The default is 15 seconds and the maximum is 60 seconds.&lt;/P&gt;
&lt;P&gt;There are three things you could do. &lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Increase the connect timeout value in order to give your existing connections time to get their work done. &lt;/LI&gt;
&lt;LI&gt;Increase the pool size so that a new connection can be made when the others are all in use.&lt;/LI&gt;
&lt;LI&gt;Make sure that you close() your connections when you are done; otherwise they remain open.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 18 Feb 2014 13:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834205#M4865048</guid>
      <dc:creator>jack_schueler</dc:creator>
      <dc:date>2014-02-18T13:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connection-Pooling Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834211#M4865054</link>
      <description>&lt;P&gt;So the rules for connection pooling are different for .NET pooling and SQL Anywhere pooling? - I'm asking as for the latter, a difference in CON name only is said to allow a connection to be re-used. To cite the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/sa22c8e99f-db62-4851-a551-ea775eeed6e8.html"&gt;12.0.1 docs&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The connection name can be unique each time, but all other connection parameters must be identical for a cached connection to be reused.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 18 Feb 2014 15:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/connection-pooling-problem/qaa-p/13834211#M4865054</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2014-02-18T15:41:08Z</dc:date>
    </item>
  </channel>
</rss>

