Re: DBD::Oracle question
From: Tim Bunce (Tim.Bunce_at_pobox.com)
Date: 11/18/04
- Previous message: Michael Nhan: "RE: :Oracle question"
- In reply to: Giovanni Borri: "DBD::Oracle question"
- Next in thread: Tim Bunce: "Re: DBD::Oracle question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Nov 2004 00:21:14 +0000 To: Giovanni Borri <gborri@libero.it>
Make sure your statement handles are being destroyed
as soon as they're not needed.
Using prepare_cached() is one possible cause of long-lived
statement handles.
print $dbh->{Kids} will tell you how many statement handles
exist for a given database handle.
Tim.
On Wed, Nov 17, 2004 at 06:16:16PM +0100, Giovanni Borri wrote:
> hi Tim,
>
> I have a question for you about the use of DBD::Oracle library.
> It's almost 3/4 years that we are using your library to connect to Oracle
> database. I this days we are facing a problem and i don't know if it is a
> problem of the library or what.
> What seems to happen is that when we open a connection to the database and run
> some query, after a number of query that we have run seems that we fill the
> number of possible cursor per connection. The workaround we have used to not
> facing the problem is to open the connection, run a defined number of query
> and then close the connection. However this workaround affect the performance
> of the database.
> Can you please let me know.
>
> Thanks in advance
> Giovanni
>
>
- Previous message: Michael Nhan: "RE: :Oracle question"
- In reply to: Giovanni Borri: "DBD::Oracle question"
- Next in thread: Tim Bunce: "Re: DBD::Oracle question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|