Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to enable connection pooling support?

24 views
Skip to first unread message

John

unread,
Aug 12, 2009, 1:28:32 AM8/12/09
to
I have a connection to Sybase which works fine. However, it
seems that the connection pooling is not enabled by default.
I tried to set pooling to true as well as set Max/min poll
Number, but it did not solve the problem.

Thanks,

John

Paul Vero [Sybase]

unread,
Aug 12, 2009, 12:53:29 PM8/12/09
to
Hi John,

What sybase server? What exact type of driver? what application?

-Paul

<John> wrote in message news:4a825300.4cc...@sybase.com...

John

unread,
Aug 12, 2009, 5:05:56 PM8/12/09
to
Hi Paul,

The sybase server is ASE version 15.0.2 (applied EBF 16299).
I connected to Sybase from a .Net application by
Sybase.AdoNet2.AseClient.

Hope the above answers your questions. If not, please let me
know.

Thanks,

John

Paul Vero [Sybase]

unread,
Aug 13, 2009, 3:14:45 PM8/13/09
to
Hi John,

Pooling should be on by default on the Provider, try using connection
property pooling=true

What version of ADO.NET 2.0 Provider is this?

-Paul

<John> wrote in message news:4a832eb4.789...@sybase.com...

John

unread,
Aug 14, 2009, 11:25:22 AM8/14/09
to
Hi Paul,

I did set Pooling=true in the connection string (along with
Max/Min pool Size). But it does not seem to help.

The version is V2.0.50727.

Is there a way (Setting, key, or program?) that I can
manually enable/disable connection pooling on Sybase server?

Thanks,

John

Paul Vero [Sybase]

unread,
Aug 20, 2009, 12:13:17 PM8/20/09
to
Hi John,

Sorry for late response -

I want to know the Provider version, the file Sybase.AdoNet2.AseClient.dll -
just get the file version.

In .NET the pooling should happen automatically, especially when pooling is
true on the connection string.
I can't recall if we had pooling issues with the older provider.

Also, can you post your entire connection string? Maybe that has something
to do with it.

Thank you,

-Paul

<John> wrote in message news:4a8581e2.5c5...@sybase.com...

John

unread,
Aug 25, 2009, 1:44:30 PM8/25/09
to
Hi Paul,

Thanks for your reply.

The version for Sybase.AdoNet2.AseClient.dll is 1.15.335.0.

The connection string is: "data source=<My local
IP>;PORT=5000;initial catalog=SybaseTest;Pooling=True; Max
Pool Size=50; Min Pool
Size=5;uid=testuser;pwd=mypassword;Connect Timeout=20".

I used my local IP as 'data source' since I am using Vista
and for some reason the machine name does not work.

Thank you!

John

Paul Vero [Sybase]

unread,
Aug 25, 2009, 3:25:06 PM8/25/09
to
Hi John

Is it possible to provide a simple example of what you're doing and how you
monitor the pooling so you know it's not
working?
Otherwise you'll need to log a tech support case.

Thank you,

-Paul
<John> wrote in message news:4a9422fe.3f5...@sybase.com...

Paul Vero [Sybase]

unread,
Dec 9, 2009, 12:53:14 PM12/9/09
to
Hi John,

Did you ever get this resolved? How are you monitoring the connections to
find out pooling isn't working? I;ve been working on a case where pooling
is involved and I
definitely see the connections pool on the ASE.

That version isn't too old and I never knew of issues where pooling wasn't
working.

THank you,

-Paul

<John> wrote in message news:4a9422fe.3f5...@sybase.com...

0 new messages