Unix Technical Forum

Re: DBI/DBD::Sybase connections

This is a discussion on Re: DBI/DBD::Sybase connections within the Sybase forums, part of the Database Server Software category; --> On Tue, 12 Aug 2003 16:11:21 +0800, jcheong wrote: > > How can I increase the maximum number of ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:49 PM
Michael Peppler
 
Posts: n/a
Default Re: DBI/DBD::Sybase connections

On Tue, 12 Aug 2003 16:11:21 +0800, jcheong wrote:

>
> How can I increase the maximum number of connections opened from 25 to 50
> in DBD::Sybase module?


You need to rebuild DBD::Sybase and define MAX_CONNECT to be 50 - edit
dbdimp.c and add

#define MAX_CONNECT 50

somewhere near the top.

That said - do you *really* need 50 connections from the *same* client?
Maybe if you describe why you need to have that many open connections we
can find a different solution...

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:50 PM
Michael Peppler
 
Posts: n/a
Default Re: DBI/DBD::Sybase connections

On Tue, 12 Aug 2003 15:47:06 +0000, jcheon wrote:

> Michael Peppler wrote:
>
>> On Tue, 12 Aug 2003 16:11:21 +0800, jcheong wrote:

>
>> > How can I increase the maximum number of connections opened from 25 to
>> > 50 in DBD::Sybase module?

>


>> That said - do you *really* need 50 connections from the *same* client?
>> Maybe if you describe why you need to have that many open connections we
>> can find a different solution...

>
> I need to use recursive call of select statement to print out a tree
> structure.


How much data? If each level of the tree isn't excessively large you could
start by loading the data for the top levels, and then taking it from
there...

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:50 PM
jcheong
 
Posts: n/a
Default Re: DBI/DBD::Sybase connections

thanks!

"Michael Peppler" <mpeppler@bluewin.ch> wrote in message
newsan.2003.08.13.11.40.30.547630@bluewin.ch...
> On Tue, 12 Aug 2003 15:47:06 +0000, jcheon wrote:
>
> > Michael Peppler wrote:
> >
> >> On Tue, 12 Aug 2003 16:11:21 +0800, jcheong wrote:

> >
> >> > How can I increase the maximum number of connections opened from 25

to
> >> > 50 in DBD::Sybase module?

> >

>
> >> That said - do you *really* need 50 connections from the *same* client?
> >> Maybe if you describe why you need to have that many open connections

we
> >> can find a different solution...

> >
> > I need to use recursive call of select statement to print out a tree
> > structure.

>
> How much data? If each level of the tree isn't excessively large you could
> start by loading the data for the top levels, and then taking it from
> there...
>
> Michael
> --
> Michael Peppler Data Migrations, Inc.
> mpeppler@peppler.org http://www.mbay.net/~mpeppler
> Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
> long term contract positions - http://www.mbay.net/~mpeppler/resume.html
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com